Dylan Baker
7803056ef2
run_unittests: use sys.executable on Windows for python
...
Instead of trying to guess whether we need py or python3, and then
falling over when whatever we guessed isn't in the path or isn't right,
just use sys.executable which should always work.
5 years ago
Dylan Baker
42d34095b4
compilers/mixins/pgi: Finish type annoations
5 years ago
Dylan Baker
fab47c5680
compilers: split pgi compiler out of compilers module
5 years ago
Dylan Baker
f574beffb4
compilers/mixins/elbrus: add type annotations and fix types
...
There is a pretty big error in here, trying to return a tuple
comperhension: (a for a in []) is not a tuple, it's a generator. This
has profound type annotations: generators don't support most tuple or
list methods, and they can only be iterated once. Beyond that tuples are
meant for heterogenous types, ie, position matters for types. I've
converted the output to a list in all cases.
5 years ago
Dylan Baker
5d685e7a5c
compilers: put elbrus in mixins
5 years ago
Dylan Baker
1b276598ce
compilers/mixins/clang: Add type annotations
5 years ago
Dylan Baker
bc4438b34f
compilers: Put clang mixin in a module
5 years ago
Dylan Baker
51b04204c9
compilers/mixins/arm: Add type annotations to armclang
5 years ago
Dylan Baker
e879992114
compilers: move ArmClang into mixins/arm.py
5 years ago
Dylan Baker
521e057d97
compilers/mixins/intel: add type annotations
5 years ago
Dylan Baker
b8368c1617
compilers: Put Intel compiler classes into the mixins folder
5 years ago
Dylan Baker
488e852e70
compilers/mixins/gnu: Add type annotations
5 years ago
Dylan Baker
cd5360821a
compilers: split gnu and gnulike compilers out of compilers
...
I debated a bit whether both classes really belong in the same module,
and decided that they do because the share a number of helpers.
5 years ago
Dylan Baker
d68969f169
compilers/mixins/visualstudio: Add type annotations
5 years ago
Dylan Baker
214ab455d3
compilers: Move the VisualStudioLikeCompiler class into mixins
5 years ago
Dylan Baker
51c66752a9
compilers/mixins/arm: Add type annotations
5 years ago
Dylan Baker
ef448b95ae
compilers: Move ArmCompiler to a mixin module
5 years ago
Dylan Baker
675874c303
compilers/mixins/ccrx: add type annotations
5 years ago
Dylan Baker
4d5c745bdc
compilers: move ccrx compiler abstraction into mixins
5 years ago
Dylan Baker
d483da46a9
compilers: Move clike into a mixins directory
...
The compilers module is rather large and confusing, with spaghetti
dependencies going every which way. I'm planning to start breaking out
the internal representations into a mixins submodule, for things that
shouldn't be required outside of the compilers module itself.
5 years ago
David Seifert
cd12a6fc39
Add test to catch `-Werror=unused-parameter` brittleness
5 years ago
David Seifert
fcf27c2a2d
Do not fail on passing `-Werror=unused-parameter` from environment
5 years ago
Thibault Saunier
6813ef1e24
cmake: Handle disabling subprojects
5 years ago
Christoph Weiss
185238fdb4
Change meson test's build failure exit code to 125
5 years ago
Nirbheek Chauhan
264533cb67
unit tests: Don't keep builddirs inside source tree on Cygwin
...
Seems to cause the umask tests to fail:
https://github.com/mesonbuild/meson/pull/5546#issuecomment-509666523
5 years ago
Michael Hirsch, Ph.D
d5cb1c2f19
Merge pull request #5560 from scivision/cstd18_bug
...
add clang c_std=c18 alias and cleanup logic for compiler version unit tests
5 years ago
Michael Hirsch, Ph.D
8c6e98c847
Remove unnecessary setup.cfg lines that confound offline use
5 years ago
Michael Hirsch, Ph.D
23ef8045a9
setup.py >= python 3.5.2
5 years ago
Michael Hirsch, Ph.D
a90a9aac84
doc
5 years ago
Michael Hirsch, Ph.D
40bf83fd46
minimum python 3.5.2
5 years ago
Michael Hirsch, Ph.D
cb7d236696
pythonic file checks
5 years ago
Michael Hirsch, Ph.D
6727e5f5ad
add missing commas
5 years ago
Michael Hirsch, Ph.D
4b9625ac06
ENH: metadata PEP390 setup.cfg
...
https for Meson docs url
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
5 years ago
myfreeweb
efea48788a
Ignore -D* and -fstack-protector* args for D compilers
...
Fixes #5369
5 years ago
Daniel Mensinger
5bd21a96b8
cmake: Fix dependencies with try_compile ( closes #5605 )
5 years ago
Norbert Nemec
555847f20f
Fix MSVC /link argument ordering ( #5598 )
...
* correct handling of LDFLAGS in find_library and sanity_check on MSVC (fixes #3629 )
The MSVC compiler requires all linker flags to be placed after the compiler flags, separated by a "/link" argument. This was already handled for regular linking commands, but not yet for the aforementioned special code paths.
* on MSVC, add /link separator between compiler and linker flags when it is missing
* avoid unnecessary /link argument
5 years ago
Jussi Pakkanen
19cda6b7c9
Merge pull request #5606 from xclaesse/alias_target
...
Add alias_target() function
5 years ago
gjaeger1
30e42009c0
Adapting Boost Python library detection to Boost >= 1.67. Closes #4288 .
5 years ago
Xavier Claessens
d8b3af00ac
vs backend: commandrunner.py takes source dir first
5 years ago
Xavier Claessens
12d4031f52
Add alias_target() function
5 years ago
Norbert Nemec
748c9d817d
try IMPORTED_IMPLIB before IMPORTED_LOCATION for cmake dependencies
5 years ago
Jussi Pakkanen
4751f6d854
Merge pull request #5574 from mensinda/cmakeCCmd
...
CMake subprojects add_custom_command support
5 years ago
Jussi Pakkanen
724113849c
Warn if the user manually adds arguments we have builtin support for.
5 years ago
Norbert Nemec
4b25253bfd
Reference error code as hex value and improve comment
5 years ago
Norbert Nemec
62c975659f
diagnostics for missing DLLs on Windows in meson_exe.py
5 years ago
Charlie Barto
687bd31317
Make faster w defender atp
5 years ago
Jussi Pakkanen
15d56079ad
Merge pull request #5621 from mesonbuild/paralleltests
...
Run tests in paralled with pytest when installed
5 years ago
Nirbheek Chauhan
a310ba863e
FAQ.md: Do I need to add headers to sources? [skip ci]
5 years ago
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