Jussi Pakkanen
d1dd6df37b
Increase logging for Rust CI failures.
6 years ago
Jussi Pakkanen
b2cdf528b8
Made TestHarness a context manager to ensure files get closed.
6 years ago
Jussi Pakkanen
49e9e0179c
Do not quote targetdep, Ninja fails if it contains double quotes.
6 years ago
Dylan Baker
b972ee7125
environment: Fix detection of Microsoft cl.exe with non English locales
...
This uses the fix as suggested in issue 5491, which it also fixes.
Fixes #5491
6 years ago
Michael Hirsch, Ph.D
927ce94d99
fortran depscan: ignore module procedure
6 years ago
Michael Hirsch, Ph.D
2a7ef98aff
BUGFIX syntax
6 years ago
Jussi Pakkanen
9e09c85e6c
Handle thread flags when not using C at all. Closes #5497 .
6 years ago
Alan Coopersmith
a35844c08d
Canonicalize 'i86pc' return from platform.machine() for Solaris
...
i86pc may be either 32-bit or 64-bit, so use existing compiler checks
to determine if it should return 'x86' or 'x86_64'.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6 years ago
Jussi Pakkanen
8dfc24dbf1
Update version number for new development.
6 years ago
Jussi Pakkanen
5ecab57667
Update things for new release.
6 years ago
Marvin Scholz
fa431dddbc
compilers: Add logging for symbol prefix test
...
Currently meson does not write the outcome of this test to the log
file which makes debugging wrong outcomes of this incredibly tedious.
6 years ago
Roman Shpuntov
3b17344b11
tvOS: added support AppleTVOS
6 years ago
Andrei Alexeyev
4b73f50222
dependencies/shaderc: fix exception caused by typo
6 years ago
Daniel Mensinger
b1cf0fd380
cmake: Move parsing the CMake trace into the CMake module
6 years ago
Daniel Mensinger
6083cfa6c8
cmake: Moved finding and running CMake out of dependency
6 years ago
John Ericson
34c22522f3
Further deduplicate Interpreter native kwarg code
...
This ensures that invalid arguments properly cause errors, but doesn't
otherwise change semantics
6 years ago
Kurtis Rader
e06f0e6aaf
Solaris fixes
...
Fixes #5351
6 years ago
Dylan Baker
15ab1f64f9
modules/python: add a modules keyword argument
...
This mirrors the modules keyword argument that some dependencies (such
as qt and llvm) take. This allows an easier method to determine if
modules are installed.
6 years ago
sompen
3c461bcf4f
compilers: armclang supports only cross-compilation
...
Revert the change done to Armclang compiler class in PR-4010
6 years ago
sompen
201ecf52d1
compilers/cpp: Fix removal of name from Combo options for Armclang
6 years ago
Dan Kegel
b28e76f6bf
environment: better xcode 11 clang detection
...
Fixes #5474
6 years ago
John Ericson
b9d7e98e59
Simplify `ConfigToolDependency` for_machine
...
`native` kwarg is already handled
6 years ago
John Ericson
8a09434cd4
remove `for_XXX` functions from mesonlib
...
All uses now use `env.machines.YYY.is_XXX` instead.
6 years ago
John Ericson
2ddb1af294
Simplify and dedup machine kwarg -> MachineChoice logic in the interpreter
6 years ago
John Ericson
3b54f38c84
Add some type annotations
...
Some things, like `method[...](...)` or `x: ... = ...` python 3.5
doesn't support, so I made a comment instead with the intention that it
can someday be made into a real annotation.
6 years ago
John Ericson
07777e15d4
Purge `is_cross` and friends without changing user interfaces
...
In most cases instead pass `for_machine`, the name of the relevant
machines (what compilers target, what targets run on, etc). This allows
us to use the cross code path in the native case, deduplicating the
code.
As one can see, environment got bigger as more information is kept
structured there, while ninjabackend got a smaller. Overall a few amount
of lines were added, but the hope is what's added is a lot simpler than
what's removed.
6 years ago
John Ericson
32e827dcdc
Use `env.machines.*` to avoid some `is_cross`
...
This is a small example of the `is_cross` removal the that abstraction
enables.
6 years ago
Daniel Mensinger
69005d6b1d
cmake: Minor fixes to handle some CMake specific behavior
...
Now, all source files are ignored that are not part of the
language of the target. This is also what CMake does.
Additionally it is now supported to build source files that
are generated inside the build directory.
6 years ago
filippocrocchini
431a9ea664
Moved RuntimeLibrary property to ItemDefinitionGroup/ClCompile
6 years ago
Daniel Mensinger
9a9ea1434a
cmake: Fix cygwin failures
6 years ago
Daniel Mensinger
b1bef5ae0d
cmake: removed legacy kwargs from interpreter dict
6 years ago
Daniel Mensinger
e02c101575
cmake: moved subprojects into the CMake module
6 years ago
Daniel Mensinger
af6448ced5
cmake: Make flake8 happy
6 years ago
Daniel Mensinger
35936316eb
cmake: rebase fixes
6 years ago
Daniel Mensinger
9b22147dcb
cmake: set the linker for clang-cl for CMake
6 years ago
Daniel Mensinger
29a26c9dbd
cmake: blacklist some `cl` compiler and linker flags
6 years ago
Daniel Mensinger
1f3a57598e
cmake: general windows and old CMake fixes
6 years ago
Daniel Mensinger
5c603a900b
cmake: Some minor style changes
6 years ago
Daniel Mensinger
3d7c50d109
cmake: Added option for additional CMake args
6 years ago
Daniel Mensinger
d114d8446e
cmake: Minor fixes
6 years ago
Daniel Mensinger
1041c71eb0
cmake: support object libraries
6 years ago
Daniel Mensinger
316f4f4948
cmake: Always add the CMake build dir to the include dirs
6 years ago
Daniel Mensinger
2b44b4be9f
cmake: Fixed install prefix
6 years ago
Daniel Mensinger
be6a9191e1
cmake: First working version
6 years ago
Daniel Mensinger
e55236bde4
cmake: basic AST generation
6 years ago
Daniel Mensinger
5089eb356b
cmake: extract the codemodel
6 years ago
Daniel Mensinger
2039cb708b
cmake: get CMake inputs
6 years ago
Daniel Mensinger
9aae603d1b
cmake: Handle a few more stub messages
6 years ago
Daniel Mensinger
ef18afc48b
cmake: configure works
6 years ago
Daniel Mensinger
8d3bd6eea8
cmake: Server handshake
6 years ago