aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-09-09environment: gcc/g++ and clang/clang++ are valid objc/objc++ compilers to tryDylan Baker1-2/+5
2019-09-09If ar is unrecognized, try gar for GNU arAlan Coopersmith1-6/+7
Needed on Solaris, where native ar doesn't recognize all the flags that meson uses, but GNU ar does.
2019-09-08Fix static archives stripping (#5905)David Seifert10-1/+91
* Do not strip static archives Stripping static archives without more fine-grained options (e.g. `-g`) leads to failures such as ld: libfoo.a: error adding symbols: archive has no index; run ranlib to add one because GNU strip removes *every* symbol in a static archive by default. Given that static archives are not final build artifacts (unlike executables and shared libraries), stripping them gains little and only causes more edge case failures. * Gentoo's portage only strips debug information: https://github.com/gentoo/portage/blob/86f211e3a552753eb945670a39c1a3b14c3c3bd1/bin/estrip#L322 * Fedora also only strips debug information: https://github.com/rpm-software-management/rpm/blob/e9c13c6565cf4782d1f73255ee9144dd9bd2aca7/scripts/brp-strip-static-archive#L18 * Debian also only does some very light stripping: https://github.com/Debian/debhelper/blob/72ed1d3261730d56da6afde0ec7f52f32976e04d/dh_strip#L374 Fixes #4138 * Add test case for static archive stripping
2019-09-08Rename 'rpath-link secondary' unit testDavid Seifert9-1/+1
2019-09-08fix objc freestanding sanitycheckNguyen, Giang (G. Yakiro)1-1/+1
2019-09-06Add `-Wl,-rpath-link` for secondary dependenciesDavid Seifert10-3/+129
2019-09-06Update Quickstart Guide [skip ci]dundir1-16/+58
2019-09-05Merge pull request #5823 from scivision/linker-pgi-linuxJussi Pakkanen5-5/+31
PGI compiler fixes
2019-09-05man: Make argument order of setup command consistent with help messageFabian Bläse1-4/+4
In msetup the two positional arguments build-dir and source-dir are added to the argument parser in this order. This also affects the help message. This order is different from the order given in the man page. Therefore it is switched around in the man page to make it consistent with the help message. As the code automatically decides which directory contains what, this change is only cosmetic. Both argument orders should be valid. Signed-off-by: Fabian Bläse <fabian@blaese.de>
2019-09-05mesonlib.split_args/quote_arg/join_argsAleksey Gurtovoy17-69/+241
2019-09-05PGI cannot accept -pthreadMichael Hirsch, Ph.D1-0/+4
2019-09-05PGI: windows workaround not-msvc-like enough functionMichael Hirsch, Ph.D1-1/+5
2019-09-05PGI: windows PGI is sort of MSVC-likeMichael Hirsch, Ph.D1-1/+2
2019-09-05PGI: use ar link wrapper on WindowsMichael Hirsch, Ph.D3-3/+20
2019-09-05Create CUDA linker with CUDA compilerKramer Peace2-10/+3
Since they are laways paired there is no need to "search" for the cuda linker.
2019-09-05Add get_soname_args method to CUDA linkerKramer Peace1-0/+5
Currently it retruns an empty string array.
2019-09-05Add a CUDA linker objectKramer Peace3-1/+38
Fixes issue #5870
2019-09-04mintro: Fix resolving nodes in kwargs (fixes #5884)Daniel Mensinger2-43/+69
2019-09-03Log the used strip command. [skip ci]Jussi Pakkanen1-1/+1
2019-09-03correct function callClinton Roy1-1/+1
2019-09-03docs/syntax: fix typo in dict example [skip ci]Nirbheek Chauhan1-1/+1
2019-09-03docs/syntax: Document that dicts are unordered [skip ci]Nirbheek Chauhan1-1/+1
2019-09-02Fix typoSimon Allen1-1/+1
2019-09-02Handle case of dependency('threads') in 'requires'Simon Allen1-0/+2
2019-09-01tests: Require ninja 1.9 on CINirbheek Chauhan1-9/+19
Also, print messages when we have to enable the timestamp resolution workaround.
2019-09-01tests: Upgrade to ninja v1.9 for LinuxNirbheek Chauhan2-2/+2
Also use the upstream release. This eliminates Meson CI's dependence on my server.
2019-09-01azure: Workaround MSYS2 PCH test failuresNirbheek Chauhan1-0/+14
Compiler version is hard-coded so that we remember to revisit this when the GCC version is updated. Closes https://github.com/mesonbuild/meson/issues/5807
2019-09-01travis/macos: Use brew ninja and upgrade to v1.9.0Nirbheek Chauhan1-4/+2
2019-09-01tests: Detect ninja v1.9 and disable timestamp hackNirbheek Chauhan2-6/+18
The high-res timestamp PR by QuLogic was merged in v1.9, so we can switch back to upstream ninja.
2019-09-01azure: Bump to upstream ninja v1.9 releaseNirbheek Chauhan1-1/+8
2019-09-01azure: Download pkg-config.exe from meson cidataNirbheek Chauhan1-1/+1
2019-09-01flatten list to subprocess.Popen, necessary for Python 3.8Michael Hirsch, Ph.D1-2/+2
2019-08-30environment: clang uses lld-link or link.exe on windowsDylan Baker1-4/+39
2019-08-30compilers: Move the compiler argument to proxy linker flags to the compiler ↵Dylan Baker9-89/+138
class Instead of the DynamicLinker returning a hardcoded value like `-Wl,-foo`, it now is passed a value that could be '-Wl,', or could be something '-Xlinker=' This makes a few things cleaner, and will make it possible to fix using clang (not clang-cl) on windows, where it invokes either link.exe or lld-link.exe instead of a gnu-ld compatible linker.
2019-08-28Shell script cleanup.Jussi Pakkanen4-9/+6
2019-08-28Fix gcc include dotDylan Baker6-0/+25
2019-08-28ninjabackend: do not generate scan-build target if it cannnot be runGabriel Ganne1-0/+3
as what was done with clang-format, test the presence of the tool before generating a dedicated target. Pass silently if scan-build is not found. Signed-off-by: Gabriel Ganne <gabriel.ganne@mindmaze.ch>
2019-08-27Merge pull request #5756 from thiblahute/wine_shortpathsNirbheek Chauhan3-18/+48
wine: Try to get the short paths when generating WINEPATH
2019-08-27envconfig: make MachineInfo.is_windows and is_cygwin match mesonlibDylan Baker1-2/+2
The mesonlib versions are slightly more specific in what they accept.
2019-08-27envconfig: Add missing MachineInfo is_<os> methodsDylan Baker1-0/+13
mesonlib defines is_sunos, is_dragonflybsd, and is_freebsd, which MachineInfo does not. This should be corrected.
2019-08-27environment: Fix detection of MSVC arch on arm64Nirbheek Chauhan1-1/+1
The regex was incorrect, so it was matching 'ARM64' with 'ARM'. Make the regex more specific so that it matches: Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27031.1 for x64 Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27031.1 for x86 Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27031.1 for ARM64 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86 etc.
2019-08-26Fix packaging. [skip ci]Jussi Pakkanen2-0/+3
2019-08-24Add test priorities to force test start orderPeter Hutterer7-6/+59
2019-08-24wine: Try to get the short paths when generating WINEPATHThibault Saunier3-18/+48
The size of WINEPATH is limited (1024 [until recently]), we can very easily reach that limit, and even the new one (2048) so try to keep path as small as possible by using the shortPath version of paths. Also assert that we do not reach the new hard limit. And avoid having duplicates in the list of path. [until recently]: https://bugs.winehq.org/show_bug.cgi?id=45810
2019-08-24Intel-Cl tests: increase robustness of Windows Intel compilers detection (#5828)Michael Hirsch, Ph.D2-5/+37
* intel-cl tests: more rigorous detection of intent to use Intel Windows compilers * fortran coarray test: make skipping more robust in that underlying MPI stack is .run() This is useful for any Fortran coarray work, and especially for intel-cl where multiple Intel compiler versions are often installed, and the wrong underlying MPI library may be dynamically linked, and so a runtime check is needed to exercise the MPI stack underlying Fortran coarray. This is done by fc.run('sync all; end', dependencies: coarray) * pep8
2019-08-24Vs backend compiler selection (#5448)Dylan Baker6-9/+75
* backends/vs: Only set platform_toolset if it isn't already set * interpreter: set backend up after the compiler Otherwise we won't be able to check which VS toolchain to use. * docs/using-visual-studio: wrap lines * docs: recommend the py launcher instead of python3 for windows * set backend.environment when building a dummy version * backends/vs: Add support for clang-cl with vs2017 and vs2019 backends * backends/vs: Add support for ICL (19.x) with vs2015 and vs2017 backends
2019-08-23NetBSD detection in envconfig.MachineInfonia1-0/+6
2019-08-23Support NetBSD aarch64 and earm.nia2-3/+8
2019-08-23Add tests for sources that are disablers.James Hilliard5-0/+74
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2019-08-23Add RxDockVedran Miletić1-0/+1