Nirbheek Chauhan
2cc9d79e95
FAQ.md: Add an entry for generated headers [skip ci]
...
Closes https://github.com/mesonbuild/meson/issues/5624
5 years ago
Jussi Pakkanen
706ebc37f8
Use pytest-xdist in Azure and Linux on Travis.
5 years ago
Jussi Pakkanen
b1fbbde0b0
Use pytest parallelisation if available.
5 years ago
Jussi Pakkanen
435b3df6a9
Do not run unittests with unity builds because that is redundant.
5 years ago
Jussi Pakkanen
4b1ab96795
Add command line argument to skip unit tests.
5 years ago
Nirbheek Chauhan
716140ddb4
unit tests: Fix CI failures in NativeFileTests
...
We can't rely on 'py' always being available in PATH, use
sys.executable which is the real path to Python 3.
5 years ago
Michael Hirsch, Ph.D
2dc11bcb53
typo
5 years ago
Michael Hirsch, Ph.D
763b05e074
cleanup clang version minimum
5 years ago
Michael Hirsch, Ph.D
8e0acae439
type hints @dcbaker
5 years ago
Michael Hirsch, Ph.D
c756d06fbb
add clang c_std=c18 alias
...
fix unit test skips for clang c18
correct unittests clang minimum version
cleanup unittest clang skip c_std
finesse unittest vs. clang version
5 years ago
Jussi Pakkanen
fb4c95a322
Merge pull request #5620 from mesonbuild/testenvvar
5 years ago
Robin Kertels
96a6d621bf
Add (v)c++latest to VC_VERSION_MAP
5 years ago
Jussi Pakkanen
beae10f588
Update hotdoc files to match those produced by newest version.
5 years ago
Jussi Pakkanen
380dcedb86
Hack envvar override when running tests in-process.
5 years ago
Jussi Pakkanen
b9a771fef8
Use environment variable overrides.
5 years ago
Jussi Pakkanen
84ac5ce51e
Convert some methods to use mandatory named kwargs.
5 years ago
Norbert Nemec
cc3993d1d4
move Gnu-specific feature '--print-search-dirs' to GnuLikeCompiler
5 years ago
Michael Hirsch, Ph.D
85cc424712
expanduser for tilde
5 years ago
Michael Hirsch, Ph.D
324c5b9aae
check that compiler name is not blank or empty
...
pep8
5 years ago
Michael Hirsch, Ph.D
041de5814f
BUGFIX: typo from 32e827dcdc
broke PGI compilers
5 years ago
Jussi Pakkanen
42c9dde58e
Merge pull request #5584 from mesonbuild/fixed5483
...
Fix compiler flags not used for some tests
5 years ago
Jussi Pakkanen
785b0711cd
Explain that using shell functionality is forbidden. [skip ci]
5 years ago
Jussi Pakkanen
74611ecb1f
Fix unittests.
5 years ago
Marvin Scholz
5badc3912d
compilers: Add missing cflags when calling compiler in link mode
5 years ago
Marvin Scholz
976c303603
compilers: Fix missing cflags for function detection
...
Fix #5481
5 years ago
ePirat
b347f00dc0
Fix windres module argument flattening
5 years ago
Charlie Barto
1e182b51c6
Improve performance with windows defender ATP
5 years ago
Xavier Claessens
dd8f75ad93
Document that add_languages() returns a boolean [skip ci] ( #5600 )
5 years ago
Marvin Scholz
0bf5c27b64
env: Do not return empty tool env vars
...
A compiler or other tool with an empty string as name does not make
sense as it anyway can not be used and causes a failure later in
parse_entry.
Fix #5451
5 years ago
Abhishek Pandit-Subedi
968aee4f18
Return zero in cross_sizeof
...
There is an error when compiling with -Werror=return-type. Non void
functions must return valid values.
6 years ago
Dylan Baker
e3140fa2d2
dependencies/dev: Switch order of llvm dependency finders
...
Cmake ignores shared vs dynamic linking, and always returns static. This
went unnoticed, but results in regresssions for mesa. We need to fix
cmake, but with 0.51.1 due out shortly switching the order provides a
quick fix to restore expected functionality seems acceptable.
Fixes #5568
6 years ago
Dylan Baker
38f2034162
tests/llvm: Test both cmake and llvm-config methods
6 years ago
Daniel Mensinger
54b1c43277
mintro: Add installed subdirs introspection ( fixes #5556 )
6 years ago
Jussi Pakkanen
ba6c0cab8f
Use the same directory names for dist so that ccache works. Closes #5583 .
6 years ago
Jussi Pakkanen
33aee8d113
Describe array values in install_dir. [skip ci]
6 years ago
Dylan Baker
866d105036
xcodebackend: Fix iterating compilers after host/build changes
...
Fixes #5570
6 years ago
John Ericson
3f280a81fd
Remove build host mixing warning on native
...
There are two problems with this:
- It has false positives when the code that trips it is conditional and
no run on cross.
- It confuses users who never wrote any `native` flags and don't care
about cross.
Fixes #5509
6 years ago
Daniel Mensinger
8320217210
cmake: Also detect Windows paths
6 years ago
Daniel Mensinger
ec0998e694
tests: Ignore all files in 'data' directories
6 years ago
Daniel Mensinger
71a5ff718a
cmake: Skip ARGS key in COMMAND
6 years ago
Daniel Mensinger
647d80f34c
cmake: Added custom_target test case
6 years ago
Daniel Mensinger
5806490219
cmake: Added support for custom_target generation
6 years ago
Daniel Mensinger
98813c1d22
cmake: Added custom target wrapper script
6 years ago
Daniel Mensinger
35b4ae5d61
ast: printer fix index node printing
6 years ago
Daniel Mensinger
3fb0e917aa
cmake: Parse trace when configuring CMake
6 years ago
Daniel Mensinger
b07d3804fc
cmake: added suport for add_custom_command in the trace parser
6 years ago
Daniel Mensinger
c78c9ee65e
cmake: Added permissive support to the trace parser
6 years ago
Aleksey Gurtovoy
7423247413
Fix failing test_find_program test (Windows-only)
...
Skip finding a .py script w/o extension on Windows if `.PY` isn't in
PATHEXT; closes #4355
6 years ago
James Westman
77c3e6a4aa
Fix two errors when cross-compiling with Vala
...
- AttributeError: 'ValaCompiler' object has no attribute 'get_program_dirs'
Fixed by adding a `get_program_dirs()` function to the base Compiler
class, to match `get_library_dirs()`
- KeyError: 'vala_COMPILER'
Fixed by creating the Vala compile rules for all machines, not just
the build machine.
6 years ago
John Ericson
9149aaba9c
`add_{global,project}_{,link_}arguments`: simply native flag behavior
...
This further simplifies behavior to match the "build vs host" decision
we did with `c_args` vs `build_c_args`. The rules are now simply:
- `native: true` affects `native: true` targets
- `native: false` affects `native: false` targets
- No native flag is the same as `native: false`
I like this because you don't even have to know what "build" and "host"
mean to understand how it works, and it doesn't depend on whether the
overall build is cross or not.
Fixes #4933
6 years ago