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
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
Michael Hirsch, Ph.D
cb7d236696
pythonic file checks
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
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
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
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
Robin Kertels
96a6d621bf
Add (v)c++latest to VC_VERSION_MAP
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
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
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.
5 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
5 years ago
Daniel Mensinger
54b1c43277
mintro: Add installed subdirs introspection ( fixes #5556 )
5 years ago
Jussi Pakkanen
ba6c0cab8f
Use the same directory names for dist so that ccache works. Closes #5583 .
5 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
71a5ff718a
cmake: Skip ARGS key in COMMAND
6 years ago