aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-28Update version numbers for 0.52.1 stable release0.52.10.52Nirbheek Chauhan2-2/+2
2019-11-28wrap: Resolver.get_git: Factor out --depth argument generation and make sure ↵Martin Hostettler1-5/+9
not to pass None as parameter 507cf47507cf47 broke the combination of clone-recursive without depth. Because it passed depth (as None) to git. To fix this the depth option is now generated once as a list when depth is set and else set to an empty list and unpacked into the argument this when needed. This reduces duplication and allows code to work the same for both cases.
2019-11-28cmake: Log warnings in CMakeLists.txtDaniel Mensinger1-4/+39
Previously, warnings genereated in CMake were not logged because CMake sends them to stderr alongside the trace information. With this PR, only real trace lines are send to the trace parser and all other lines in stderr are logged as warnings. 0.52 branch version
2019-11-28wrap: Redirect stdin to DEVNULL (again)Nirbheek Chauhan1-0/+4
Same fix as e7b25018c4715e538234d4ba51e32194b4757388, was accidentally missed when this code was rewritten.
2019-11-28Revert "Add `-Wl,-rpath-link` for secondary dependencies"Jussi Pakkanen10-132/+5
This reverts commit 7b9c348102792030859ed0001a51416506a0a092. Closes #6027.
2019-11-28hotdoc: work around argparse syntax ambiguityMathieu Duponchelle1-3/+19
Fixes #5800
2019-11-07dependencies/pkgconfig: Log pkg-config exceptionsMarvin Scholz1-0/+1
This means that when either cflags or libs lookup fails, this will be logged always in the log, leading to much easier to debug messages like: Called `/usr/local/bin/pkg-config --cflags gnutls` -> 1 pkg-config error with 'gnutls': Could not generate cargs for gnutls: Package nettle was not found in the pkg-config search path. Perhaps you should add the directory containing `nettle.pc' to the PKG_CONFIG_PATH environment variable Package 'nettle', required by 'gnutls', not found Run-time dependency gnutls found: NO (tried pkgconfig)
2019-11-07dependencies/pkgconfig: Fix error reportingMarvin Scholz2-23/+24
The stderr of pkg-config was never used, leading to no details about failures at all in exception messages.
2019-11-07dependencies/pkgconfig: Fix found state ignoring errorsMarvin Scholz1-2/+2
Previously even when meson failed to obtain cflags or libs for a dependency it would lead to the dependency being found, causing very confusing errors at build time.
2019-11-07Add -L= to soname linker argument, too.Jussi Pakkanen1-1/+4
2019-11-07Remove duplicated object files in static librariesXavier Claessens5-1/+31
When a static library link_whole to a bunch of other static libraries, we have to extract all their objects recursively. But that could introduce duplicated objects. ar is dumb enough to allow this without error, but once the resulting static library is linked into an executable or shared library, the linker will complain about duplicated symbols.
2019-11-07Fix split of CMAKE_PREFIX_PATH under WindowsWolfgang Stöggl1-2/+2
Under Windows, the colon ':' is used after the drive letter. So, the colon should not be used as a list separator or for splitting, otherwise it could lead to paths in CMAKE_PREFIX_PATH with a semicolon ';' between the drive letter and the rest of the path, e.g: -DCMAKE_PREFIX_PATH=C;/foo/bar instead of -DCMAKE_PREFIX_PATH=C:/foo/bar Use os.pathsep instead of ':' to split the environmental variable CMAKE_PREFIX_PATH
2019-11-07Return a disabler when an unknown method is called on a disabler objectJames Hilliard2-2/+8
2019-11-07Test disabler in foreach loopsXavier Claessens2-4/+22
The is_disabler() check in evaluate_foreach() was useless because we already checked that items is a list.
2019-11-07Fix `if not disabler()` caseXavier Claessens2-0/+24
Closes: #6010
2019-11-07d: Fix various linking issues on WindowsGoaLitiuM1-1/+10
2019-11-07d: Prefer MSVC and LLVM linker over optlink when availableGoaLitiuM1-7/+17
The optlink linker is slowly getting phased out now since DMD ships with the LLVM linker, so it can be used when Visual Studio is not installed.
2019-11-07cmake: Blacklist more compiler warning flagsDaniel Mensinger7-1/+80
2019-11-07Workaround broken get_allow_undefined_link_args in DmdLikeCompilerMixinAndrei Alexeyev1-0/+3
Previously it worked by accident because BasicLinkerIsCompilerMixin had that method misspelled.
2019-11-07Implement get_linker_output_args in Emscripten compilersAndrei Alexeyev2-0/+6
2019-11-07Implement get_buildtype_linker_args in BasicLinkerIsCompilerMixinAndrei Alexeyev1-0/+3
2019-11-07Implement get_asneeded_args in BasicLinkerIsCompilerMixinAndrei Alexeyev1-0/+3
2019-11-07Implement get_allow_undefined_link_args in EmscriptenCPPCompilerAndrei Alexeyev1-0/+3
2019-11-07Implement get_allow_undefined_link_args in EmscriptenCCompilerAndrei Alexeyev1-0/+4
2019-11-07Implement get_linker_debug_crt_args in BasicLinkerIsCompilerMixinAndrei Alexeyev1-0/+3
2019-11-07Fix misnamed method in BasicLinkerIsCompilerMixinAndrei Alexeyev1-1/+1
get_allow_undefined_link_args is the compiler method get_allow_undefined_args is the linker method
2019-11-07default inc dirs: fix warning for unsupporte lang (fixes #6050)Daniel Mensinger1-2/+9
2019-11-07Add missing newlines to "meson introspect" errorAaron Plattner1-3/+3
The lack of newlines in the print() statement for this error causes the result to be jumbled and hard to read: $ ./meson.py introspect Current directory is not a meson build directory.Please specify a valid build dir or change the working directory to it.It is also possible that the build directory was generated with an oldmeson version. Please regenerate it in this case. Add newlines so the message is more readable: $ ./meson.py introspect Current directory is not a meson build directory. Please specify a valid build dir or change the working directory to it. It is also possible that the build directory was generated with an old meson version. Please regenerate it in this case.
2019-11-07path interpreter--silently discard invalid Unix relative paths on WindowsMichael Hirsch, Ph.D1-0/+4
fixes #6000 The idea is that end-users want to specify an array of directories to search by default without an if/elif stack. It's obvious that Unix absolute paths are not absolute on Windows, so silently discard Unix absolute paths here for Windows instead of raising exception.
2019-11-07environment: Fix detection of xild with iccDylan Baker1-1/+1
2019-11-07cmake: Blacklist MS debug flags (fixes #6021)Daniel Mensinger1-1/+2
2019-11-07linkers: Concatenate -L and the directoryDylan Baker1-1/+1
It is perfectly valid to pass the arguments separately `-L /some/dir/`, however, meson later groups arguments by whether they start with -L or not, which breaks passing the -L and the directory separately. Fixes #6003
2019-11-07linkers: Use PosixDynamicLinkerMixin for CudaDylan Baker1-10/+1
Since cuda is currently reimplementing all of the shared methods itself, including a bug fixed by the next patch.
2019-10-06Updated version numbers for 0.52.0 release.0.52.0Jussi Pakkanen28-219/+245
2019-10-06Cross build is defined by the existance of a cross file.Jussi Pakkanen2-2/+2
2019-10-06Merge pull request #5953 from mensinda/isystemJussi Pakkanen14-14/+183
Add is_system to dependency
2019-10-06Updated include_type test caseDaniel Mensinger1-0/+1
2019-10-06Merge pull request #5992 from mensinda/cmakeFixSoVersionJussi Pakkanen4-12/+27
cmake: fix detection of libraries with .so version
2019-10-06wrap: Rework `depth` support for git.Martin Hostettler1-18/+47
Don't manually emulate a partial `git clone` when `depth` option is not used. This keeps `git describe` working as before and generally supports workflows that depend on tags and branches to exist in a wrap downloaded subproject. This also fixes downloading via git not working at all on CentOS 7 (git version 1.8.3.1). For the `depth` case use `git clone --branch=... --depth=...` when possible and only fall back to manual emulation wraps that specify a full commit id, because for some reason that does not work with the clone based workflow. Fixes: #5991 (Regression in wrap support with git)
2019-10-04Merge pull request #5990 from dcbaker/extra-benchmark-optionsJussi Pakkanen2-3/+12
Correctly warn and document options to benchmarks
2019-10-04mtest: add gdb_path optionGerion Entrup3-1/+18
When using the '--gdb' argument of meson test the executed binary can now be specified with '--gdb-path'. Closing: #4373
2019-10-03Revert "cmake: postprocess libraries names with so version"Daniel Mensinger1-7/+2
This reverts commit 73f006149823a498f88e0131f963a0ff81043788.
2019-10-03cmake: Add test case for #5992Daniel Mensinger2-0/+4
2019-10-03cmake: fix detection of libraries with .so versionDaniel Mensinger2-5/+21
2019-10-03cache all gnulike_default_include_dirs invocationsDaniel Mensinger1-5/+4
2019-10-03Use include_type instead of is_systemDaniel Mensinger11-79/+96
2019-10-03Move generate_system_dependency to DependencyDaniel Mensinger2-3/+6
2019-10-03Use -isystem instead of -idirafterDaniel Mensinger3-6/+34
2019-10-03Also add support for declare_dependency objectsDaniel Mensinger3-1/+13
2019-10-03added test case for is_system dependencyDaniel Mensinger1-0/+20