aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-03-29Do not call restorecon if there are no files to installMichael Kuhn1-0/+4
Fixes #6452
2020-03-29Bump version number for new development. [skip ci]Jussi Pakkanen1-1/+1
2020-03-29Update everything for new release.0.54.0Jussi Pakkanen32-326/+363
2020-03-29cmake: Only expand executable targets in COMMAND (fixes #6857)Daniel Mensinger2-2/+14
2020-03-28Only split linker args with D compilers. Closes: #6845Jussi Pakkanen1-4/+8
2020-03-28docs: why 'ninja test' depends on build_by_default targets [skip ci]Marc Herbert1-2/+6
Fixes #1949
2020-03-28docs: Add a new page with common cross/native file options [skip ci]Dylan Baker4-99/+141
Rather than having two separate sections with duplicated information lets just have one for the common settings, and only document sections specific to each file in separately
2020-03-28boost: Better python module detectionDaniel Mensinger2-17/+35
2020-03-28boost: Better log found and missing modulesDaniel Mensinger1-4/+18
2020-03-24Make werror per subproject optionXavier Claessens7-9/+20
2020-03-24Clarify a workaround for older versions of LLD for MinGW (#6836) [skip ci]Martin Storsjö1-1/+3
The previous diagnosis (that the wrapper that injects the -target option to clang caused the issues) doesn't seem right; the issue was that LLD's MinGW frontend (which is invoked when ld.lld is given a COFF argument to the -m option) didn't handle the --version argument before LLD 9.0.0.
2020-03-24Bump version number for rc1.0.54.0.rc1Jussi Pakkanen2-2/+2
2020-03-24compilers: Clang can take linkers that are pathsDylan Baker1-0/+14
This will be a regression in 0.54.0 because we now enforce that gnu compilers only get gold, bfd, or lld.
2020-03-23gtkdoc: Add missing permitted kwargXavier Claessens1-1/+1
The 'check' kwarg was added in Meson 0.52.0.
2020-03-23Revert "Naturally use env vars a bit more to match Autoconf"Jussi Pakkanen4-17/+17
This reverts commit 097dfc085e6a1bb3c670880134a52dcfca504be7.
2020-03-23Naturally use env vars a bit more to match AutoconfJohn Ericson4-17/+17
PR #6363 made it so our interpretation of env vars no longer clashed with Autoconf's: if both Meson and Autoconf would read and env var, both would do the same things with the value they read. However, there were still cases that autoconf would read an env var when meson wouldn't: - Autoconf would use `CC` in cross builds too - Autoconf would use `CC_FOR_BUILD` in native builds too. There's no reason Meson can't also do this--if native cross files overwrite rather than replace env vars, cross files can also overwrite rather than replace env vars. Because variables like `CC` are so ubiquitous, and because ignoring them in cross builds just makes those builds liable to break (and things more complicated in general), we bring Meson's behavior in line with Autoconf's.
2020-03-23Fix legacy env var support with crossJohn Ericson18-164/+234
Fix #3969
2020-03-23Fix linker evn var testsJohn Ericson2-3/+14
Just because we are on windows doesn't mean we can use `link`. This ought to be done better, but this will do for now.
2020-03-23Fix ARMCC dependency generation.Szabi Tolnai1-1/+1
Change-Id: I661684ee8adf5a998641369cf5f13641699742d5
2020-03-22Add property to disable compiler sanity checks during cross compilation.Jussi Pakkanen4-2/+26
2020-03-22Do not try to mix gcc with link.exe.Jussi Pakkanen1-0/+2
2020-03-21adding Meson-UI to IDE-integration.md [skip ci]Michael Brockus1-0/+1
2020-03-21-Add xc16 and c2000 C,Cpp toolchain supportalanNz13-3/+593
2020-03-20Merge pull request #6544 from dcbaker/mpi-dependency-factoryJussi Pakkanen7-210/+189
Use DependencyFactory and ConfigToolDependency for MPI
2020-03-20Merge pull request #6636 from jon-turney/machine-detection-problemsJussi Pakkanen4-23/+43
Redetect machines when languages change
2020-03-19docs: update MPI documentation with methodsDylan Baker1-1/+7
2020-03-19mpi: Use a factory functionDylan Baker2-198/+150
This makes use of proper ConfigTool and PkgConfig dependencies rather than one big ExternalDependency that internally creates other dependencies and then copies their attributes.
2020-03-19dependencies/base: Make the ConfigTool Dependency more flexibleDylan Baker2-7/+20
2020-03-19tests/mpi: Add a method optionDylan Baker2-4/+12
So we can force the use of pkg-config or config-tool
2020-03-19dependencies: Convert ScaLAPACK to a dependency factoryDylan Baker2-104/+133
Basically this breaks down into three cases. An open source version with compliant PkgConfig, valid CMake, and a Intel implementation that has completely broken PkgConfig. For the first two cases we can use standard classes, for the last we can make a subclass of PkgConfigDependency that handles the special logic. This doesn't change any of the logic, but it does re-organize it to be clearer, and make use of the dependency factory API, which makes other things (like Dependency.get_variable) work. This is untested with Intel MKL.
2020-03-19Update cross compilation documentation to reference new ld variablesPhillip Johnston1-1/+2
2020-03-19Update native description to use the new LD variablesPhillip Johnston1-1/+3
With Meson 0.53.1, this is now out of date. Updating to use the proper ld variables.
2020-03-19mtest: terminate a test via SIGTERM first then (if needed) via SIGKILLCamilo Celis Guzman2-7/+26
2020-03-19interpreterbase: Add warning when built-in object method has no kwargsXavier Claessens2-18/+35
2020-03-19cmake: Add find_package COMPONETS supportDaniel Mensinger9-11/+45
2020-03-19sample factory implementationMichael13-428/+482
2020-03-19Generators can depend on custom targets as well as build targets.Jussi Pakkanen1-1/+1
2020-03-19Merge pull request #6789 from dcbaker/deprecated-c-ldJussi Pakkanen8-27/+93
Make linker selection environment variables match docs
2020-03-19Remove my notes from sourcesClausKlein2-5/+0
changes acording review comments
2020-03-19Use os.path.normpath() for include pathsClausKlein3-4/+9
This make relative pathes shorter an too give a chance to de-duplicate -isystem flags just like -I flags. Fix common test case 203 for OSX build host too
2020-03-19Fix exe_wrapper usage in EmptyExternalProgram caseRichard Weinberger1-1/+1
If no exe_wrapper is set in the meson cross file the exe_wrapper object will be an instance of EmptyExternalProgram. So, found is True and prorgram is an empty list. This will cause meson to tun the compiler sanity check because it checks only for self.is_cross and self.exe_wrapper being not None. I ran into that situation while cross compiling for ia32 on a x64_64 host. The host had no ia32 userspace installed, so the self test failed. As workaround I currently set exe_wrapper to 'true'. Signed-off-by: Richard Weinberger <richard@nod.at>
2020-03-19compilers: Link D runtime/libphobs dynamically on !WindowsDylan Baker2-1/+19
Fixes: #6786
2020-03-19Fix failing rust CIXavier Claessens1-1/+1
rustc 1.42 now dynamically link to libstd so its path is needed in LD_LIBRARY_PATH.
2020-03-19Fix bogus parameter passed to LLVMDynamicLinker (llvm-mingw regression)Andrei Alexeyev1-1/+1
2020-03-17compilers: Error if invalid linker selectedDylan Baker2-4/+4
2020-03-17docs: Add Environment variables for compiler/linker selectionDylan Baker2-0/+23
We really should be documenting these in an easy to find and reference place.
2020-03-17envconfig: Make compiler and linker environment variables matchDylan Baker4-23/+66
2020-03-17Revert "azure: Workaround MSYS2 PCH test failures"Jon Turney1-14/+0
This reverts commit 5f9dccb9bce957979efa6efea961192a12f76790.
2020-03-15Merge pull request #6779 from dcbaker/gdc-linker-argsJussi Pakkanen3-7/+26
Allow setting linker for GDC as well as LDC
2020-03-15fix conversion of hasattr to getattrDylan Baker2-2/+2
getattr() requires a default (return if missing) value or it raises an AttributeError. In a few cases I changed hasattr to getattr and didn't set a default value, so those cases could except. This corrects that.