aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
AgeCommit message (Collapse)AuthorFilesLines
2019-07-15compilers/mixins/elbrus: add type annotations and fix typesDylan Baker4-18/+23
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.
2019-07-15compilers: put elbrus in mixinsDylan Baker5-43/+62
2019-07-15compilers/mixins/clang: Add type annotationsDylan Baker1-12/+21
2019-07-15compilers: Put clang mixin in a moduleDylan Baker9-68/+92
2019-07-15compilers/mixins/arm: Add type annotations to armclangDylan Baker1-41/+47
2019-07-15compilers: move ArmClang into mixins/arm.pyDylan Baker4-122/+119
2019-07-15compilers/mixins/intel: add type annotationsDylan Baker1-17/+24
2019-07-15compilers: Put Intel compiler classes into the mixins folderDylan Baker6-109/+139
2019-07-15compilers/mixins/gnu: Add type annotationsDylan Baker1-100/+119
2019-07-15compilers: split gnu and gnulike compilers out of compilersDylan Baker10-373/+405
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.
2019-07-15compilers/mixins/visualstudio: Add type annotationsDylan Baker1-106/+119
2019-07-15compilers: Move the VisualStudioLikeCompiler class into mixinsDylan Baker6-391/+418
2019-07-15compilers/mixins/arm: Add type annotationsDylan Baker1-42/+51
2019-07-15compilers: Move ArmCompiler to a mixin moduleDylan Baker4-111/+130
2019-07-15compilers/mixins/ccrx: add type annotationsDylan Baker1-48/+59
2019-07-15compilers: move ccrx compiler abstraction into mixinsDylan Baker5-134/+152
2019-07-15compilers: Move clike into a mixins directoryDylan Baker7-9/+9
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.
2019-07-14Do not fail on passing `-Werror=unused-parameter` from environmentDavid Seifert5-14/+14
2019-07-13cmake: Handle disabling subprojectsThibault Saunier1-1/+4
2019-07-12Change meson test's build failure exit code to 125Christoph Weiss1-1/+4
2019-07-11Merge pull request #5560 from scivision/cstd18_bugMichael Hirsch, Ph.D2-11/+13
add clang c_std=c18 alias and cleanup logic for compiler version unit tests
2019-07-11pythonic file checksMichael Hirsch, Ph.D1-4/+7
2019-07-11Ignore -D* and -fstack-protector* args for D compilersmyfreeweb1-0/+4
Fixes #5369
2019-07-11cmake: Fix dependencies with try_compile (closes #5605)Daniel Mensinger1-11/+52
2019-07-11Fix MSVC /link argument ordering (#5598)Norbert Nemec1-19/+32
* 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
2019-07-11Merge pull request #5606 from xclaesse/alias_targetJussi Pakkanen5-18/+52
Add alias_target() function
2019-07-11Adapting Boost Python library detection to Boost >= 1.67. Closes #4288.gjaeger11-12/+17
2019-07-10vs backend: commandrunner.py takes source dir firstXavier Claessens1-1/+1
2019-07-10Add alias_target() functionXavier Claessens5-17/+51
2019-07-10try IMPORTED_IMPLIB before IMPORTED_LOCATION for cmake dependenciesNorbert Nemec1-1/+5
2019-07-10Merge pull request #5574 from mensinda/cmakeCCmdJussi Pakkanen5-45/+493
CMake subprojects add_custom_command support
2019-07-10Warn if the user manually adds arguments we have builtin support for.Jussi Pakkanen1-0/+19
2019-07-10Reference error code as hex value and improve commentNorbert Nemec1-2/+2
2019-07-10diagnostics for missing DLLs on Windows in meson_exe.pyNorbert Nemec1-0/+5
2019-07-10Make faster w defender atpCharlie Barto1-2/+2
2019-07-08type hints @dcbakerMichael Hirsch, Ph.D1-6/+5
2019-07-08add clang c_std=c18 aliasMichael Hirsch, Ph.D2-7/+10
fix unit test skips for clang c18 correct unittests clang minimum version cleanup unittest clang skip c_std finesse unittest vs. clang version
2019-07-08Add (v)c++latest to VC_VERSION_MAPRobin Kertels1-0/+2
2019-07-07move Gnu-specific feature '--print-search-dirs' to GnuLikeCompilerNorbert Nemec2-51/+60
2019-07-07expanduser for tildeMichael Hirsch, Ph.D1-0/+1
2019-07-06check that compiler name is not blank or emptyMichael Hirsch, Ph.D1-2/+2
pep8
2019-07-06BUGFIX: typo from 32e827dcdc451e1c5 broke PGI compilersMichael Hirsch, Ph.D1-1/+1
2019-07-05Fix unittests.Jussi Pakkanen1-1/+4
2019-07-05compilers: Add missing cflags when calling compiler in link modeMarvin Scholz1-10/+11
2019-07-05compilers: Fix missing cflags for function detectionMarvin Scholz1-4/+4
Fix #5481
2019-07-05Fix windres module argument flatteningePirat1-2/+2
2019-07-05Improve performance with windows defender ATPCharlie Barto3-9/+8
2019-07-05env: Do not return empty tool env varsMarvin Scholz1-0/+4
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
2019-07-03Return zero in cross_sizeofAbhishek Pandit-Subedi1-0/+1
There is an error when compiling with -Werror=return-type. Non void functions must return valid values.
2019-07-02dependencies/dev: Switch order of llvm dependency findersDylan Baker1-3/+3
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