aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-15No need to reserve build_ because we use build. instead.no_buildJussi Pakkanen1-1/+1
2019-07-15run_unittests: use sys.executable on Windows for pythonDylan Baker1-4/+1
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.
2019-07-15compilers/mixins/pgi: Finish type annoationsDylan Baker1-21/+27
2019-07-15compilers: split pgi compiler out of compilers moduleDylan Baker5-72/+92
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 Baker8-9/+10
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-14Add test to catch `-Werror=unused-parameter` brittlenessDavid Seifert1-2/+9
2019-07-14Do not fail on passing `-Werror=unused-parameter` from environmentDavid Seifert5-14/+14
2019-07-13cmake: Handle disabling subprojectsThibault Saunier2-1/+9
2019-07-12Change meson test's build failure exit code to 125Christoph Weiss2-1/+20
2019-07-12unit tests: Don't keep builddirs inside source tree on CygwinNirbheek Chauhan1-1/+9
Seems to cause the umask tests to fail: https://github.com/mesonbuild/meson/pull/5546#issuecomment-509666523
2019-07-11Merge pull request #5560 from scivision/cstd18_bugMichael Hirsch, Ph.D3-21/+67
add clang c_std=c18 alias and cleanup logic for compiler version unit tests
2019-07-11Remove unnecessary setup.cfg lines that confound offline useMichael Hirsch, Ph.D1-3/+0
2019-07-11setup.py >= python 3.5.2Michael Hirsch, Ph.D1-2/+2
2019-07-11docMichael Hirsch, Ph.D1-1/+1
2019-07-11minimum python 3.5.2Michael Hirsch, Ph.D1-1/+1
2019-07-11pythonic file checksMichael Hirsch, Ph.D2-23/+22
2019-07-11add missing commasMichael Hirsch, Ph.D1-4/+4
2019-07-11ENH: metadata PEP390 setup.cfgMichael Hirsch, Ph.D4-59/+75
https for Meson docs url Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
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 Mensinger2-11/+55
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 Pakkanen11-18/+110
Add alias_target() function
2019-07-11Adapting Boost Python library detection to Boost >= 1.67. Closes #4288.gjaeger15-12/+120
2019-07-10vs backend: commandrunner.py takes source dir firstXavier Claessens1-1/+1
2019-07-10Add alias_target() functionXavier Claessens11-17/+109
2019-07-10try IMPORTED_IMPLIB before IMPORTED_LOCATION for cmake dependenciesNorbert Nemec1-1/+5
2019-07-10Merge pull request #5574 from mensinda/cmakeCCmdJussi Pakkanen16-46/+656
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-10Merge pull request #5621 from mesonbuild/paralleltestsJussi Pakkanen6-9/+35
Run tests in paralled with pytest when installed
2019-07-10FAQ.md: Do I need to add headers to sources? [skip ci]Nirbheek Chauhan1-0/+18
2019-07-10FAQ.md: Add an entry for generated headers [skip ci]Nirbheek Chauhan1-0/+69
Closes https://github.com/mesonbuild/meson/issues/5624