aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-17Update version numbers for release.0.50.10.50Jussi Pakkanen2-2/+2
2019-04-16munstable_coredata: Fix exception (for 0.50.1)Martin Hostettler1-2/+4
2019-04-17azure: Unset BOOST_ROOT for Cygwin, MSYS2 and clang-clJon Turney2-0/+4
It looks like BOOST_ROOT is now set in the azure v2017 image (relevant change seems to be [1], pre-installing boost) Remove BOOST_ROOT from the environment to prevent attempting to use a boost which is incompatible with the compiler. (an MSVC boost should be compatible with clang-cl, but has problems, see c7a3e810) [1] https://github.com/Microsoft/azure-pipelines-image-generation/pull/732
2019-04-17d: Fix linker errors with shared librariesGoaLitiuM1-1/+9
2019-04-17tests: enable D tests on WindowsGoaLitiuM1-1/+1
2019-04-17fortran: Fix typo that was causing sanity checks to failNirbheek Chauhan1-0/+1
2019-04-17Add VS2019 backend CI and docs.Anton Kochkov6-4/+67
2019-04-17mintro: Fix set_variable plus assign bug (closes #5256)Daniel Mensinger2-0/+4
2019-04-17Run postconf scripts absolutely last.Elliott Sales de Andrade1-2/+3
Introspection is broken if they are run any earlier.
2019-04-17TST: Actually check that postconf introspection works.Elliott Sales de Andrade2-1/+19
2019-04-17Add support for VS2019. Closes #4640.Jussi Pakkanen3-1/+8
2019-04-17Prefer "stderr is stdout" to "=="Paolo Bonzini1-2/+2
The previous commit used "==" in accordance with the preexisting code, but reviewers preferred using "is" instead. Fix both occurrences.
2019-04-17mtest: fix TAP with --verbosePaolo Bonzini1-8/+11
TAP needs to process the test stdout even if --verbose is passed. Capture it to a separate temporary file, and print it at the end of the test if --verbose was passed. In the future, we could parse it on the fly and print the result of each TAP test point in verbose mode.
2019-04-16mintro: fix some interpreter crashesDaniel Mensinger4-2/+34
2019-04-16mintro: Fix crash when required is a function (closes #5177)Daniel Mensinger4-1/+11
2019-04-16detect 'arm64' as aarch64 CPU familyJanne Grunau1-0/+3
OpenBSD uses arm64 as identifier for the 64-bit ARM architecture. Refs #1578.
2019-04-16dependencies/base: Correctly handle includes and sources in ExternalDependencyDylan Baker1-0/+4
These were being ignored before now.
2019-04-16dependencies/base: Pass correct arguments to subdependenciesDylan Baker2-9/+13
Currently InternalDependency.get_partial_dependency shadows the the input variables names, and then passes those new copies to the final object returned. It also passes them to the arguments of of get_partial_dependency for each subdependency, which is wrong. The code is supposed to proxy the original argumetn values to that instead of the shadowing values. To avoid that this patch renames the new values.
2019-04-16dependencies/base: Add type annotations to partial_dependency methodDylan Baker1-10/+15
This would have caught the bug that this series set out to fix.
2019-04-16tests: modify partial_dependency test to cover a bugDylan Baker1-1/+5
Currently if a dependency is added to declare_dependency, and the top dependency doesn't have an attribute that the subdependency does, it wont be propagated by subdependency.
2019-04-16Reuse build setup for host when native compiling. Closes #5047.Jussi Pakkanen1-1/+1
2019-04-16Revert "gnome.compile_resources: Add ld binary method"Jussi Pakkanen2-148/+14
This reverts commit 59791fc56966901038aaaac23942bc8ac6e11494, reversing changes made to e26b5a119e0b3f76cc93f65ecf4251dc6d52ecfe.
2019-04-16Maintain backwards compatibility for one release. Closes #5051.Jussi Pakkanen1-1/+6
Also, specify what the replacement is.
2019-04-16dependencies/configtool: Deprecate falling back to pathDylan Baker1-3/+4
It was a mistake in retrospect to not make this deprecated in the first place, so let's do that. When cross files were new we needed this as a way to specify a llvm-config binary, since it could be passed via PATH overrides.
2019-04-16Fix Rust global and local args. Closes #5101.Jussi Pakkanen1-0/+2
2019-04-16Fail gracefully for Apple frameworks with a non-Clang compiler. Closes #5070.Jussi Pakkanen1-1/+9
2019-04-16Properly detect 'bepc' as 'x86' CPU for HaikuFrançois Revol1-0/+2
2019-04-16Reduce absolute paths to a deprecation. Closes #5050.Jussi Pakkanen1-1/+1
2019-04-16Reserve cross_ option prefix for Meson.Jussi Pakkanen1-0/+4
2019-04-16compilers: Update comment about library search patternsNirbheek Chauhan1-2/+4
2019-04-16compilers: Try harder to dedup builtin libsNirbheek Chauhan12-6/+99
Compiler internal libs should always be de-duplicated, no matter what. Closes https://github.com/mesonbuild/meson/issues/2150 Test case is by Bruce Richardson in the issue.
2019-04-16Fix #5046Ninja-Koala1-5/+6
2019-04-16dependencies/llvm: Add support for fedora 30Dylan Baker1-22/+32
In Fedora 30 the llvm-config binary has the number of bits in the isa added as a suffic to the name llvm-config-64 or llvm-config-32, and no naked llvm-config binary is provided. This commit moves the list of llvm-config binaries to the constructor so that we can modify the list on a per-instance basis, and adds the new Feodra names. Fixes #5059
2019-04-16envconfig: Store whether the cpu_familiy is 64 bitDylan Baker1-0/+13
We'll need this in the llvm-config logic to determine the right llvm-config to call on Fedora 30+, but this feels like the sort of information that might be useful elsewhere. This does not expose this information as part of the public API, it's only accessible at the python layer.
2019-04-16i18n: Use CustomTarget.known_kwargs at permittedKwargs()Georges Basile Stavracas Neto1-2/+1
@permittedKwargs() is basically copying the logic of CustomTarget, but it is not actually up to date, leading to warnings on perfectly valid values such as 'build_by_default'. Use CustomTarget.known_kwargs instead, and only append the specific kwargs of i18n.merge_file(). Fixes https://github.com/mesonbuild/meson/issues/5079
2019-04-16compilers: -fsanitize is not supported on OpenBSD (second pass)Antoine Jacoutot1-0/+2
Similar to https://github.com/mesonbuild/meson/pull/5067 This part was missed in my previous commit.
2019-04-16test: fix "get define" on OpenBSDAntoine Jacoutot1-4/+7
Same as with NetBSD, OpenBSD doesn't provide a ZLIB_VER_MAJOR but has ZLIB_VERSION instead.
2019-04-16compilers: -fsanitize is not supported on OpenBSDAntoine Jacoutot1-0/+2
OpenBSD doesn't have any support for the compiler sanitizers yet. While this may change in the future, better fix test suite run in "failfast" mode for now. This can be revisited once (if) we get support in the future. * clang 7.0.1 $ make CFLAGS=-fsanitize=address foo cc -fsanitize=address -o foo foo.c cc: error: unsupported option '-fsanitize=address' for target 'amd64-unknown-openbsd6.5' * gcc 4.2.1 *** Error 1 in /tmp (<sys.mk>:85 'foo') $ make CC=gcc CFLAGS=-fsanitize=address foo gcc -fsanitize=address -o foo foo.c cc1: error: unrecognized command line option "-fsanitize=address" * gcc 8.2.0 $ make CC=egcc CFLAGS=-fsanitize=address foo egcc -fsanitize=address -o foo foo.c ld: error: unable to find library -lasan collect2: error: ld returned 1 exit status
2019-04-16build: Handle EOFError and AttributeError like coredataDylan Baker1-1/+6
Fixes #5056
2019-04-16Add unit test for pkgconfig relative pathsIgnacio Casal Quinteiro2-0/+26
2019-04-16Support relative paths in pkgconfig filesNirbheek Chauhan1-1/+5
This is a regression introduced in meson 0.47. Fixes https://github.com/mesonbuild/meson/issues/4135
2019-04-16environment: support OpenBSD in detect_objc_compilerAntoine Jacoutot1-2/+2
We need to match the "clang --version" output on OpenBSD: $ clang --version | head -1 OpenBSD clang version 7.0.1 (tags/RELEASE_701/final) (based on LLVM 7.0.1)
2019-04-16Add tests for std usage. Closes #5097.Jussi Pakkanen3-0/+19
2019-04-16Fix `-Dc_std=...` not affecting cross compilation.John Ericson1-1/+7
Certain compiler options should affect all platforms for backwards compatibility. We should probably replace this list with a generic way to affect all or just one platform.
2019-04-16compilers: respect cross-file flags in sanity checksDima Krasner6-10/+32
Builds with Meson 0.50.0 fail in this special case: [binaries] c = '.../arm-unknown-linux-uclibcgnueabi/bin/arm-unknown-linux-uclibcgnueabi-gcc' ... [binaries] exe_wrapper = 'qemu-arm-static' ... [properties] c_link_args = ['-static'] ... The sanity check output is not a static binary, as it used (and expected to be) with Meson < 0.50.0. The crosstool-ng built uClibc is not present in the build machine's /lib, so the sanity check fails. This bug was introduced in d451a4bd97f827bb492fd0c0e357cb20b6056ed9. This partially reverts that for 0.50.*. master will instead always use this flags in cross and native alike for consistency.
2019-04-13Fix build = host cross builds for 0.50.*John Ericson1-1/+1
This defines 'is_cross_build()` in terms of whether we have a cross file, not whether `build_machine == host_machine`. This should only be used in 0.50.*. The better fix for master is #4010, which keeps the existing `is_cross_build()`, but allows separate compilers targetting the build and host machine in all cases. These points in the direction of Meson being agnostic to whether the build is a cross build, and `is_cross_build()` just being a convenience for the user. Fixes #5102
2019-04-13Make test for identityJohn Ericson5-0/+65
Also add support for lists in cross files, I thought this was the intention all along.
2019-03-10Update everything for new release.0.50.0Jussi Pakkanen32-295/+338
2019-03-10Update Users.md [skip ci]Amit D1-15/+27
2019-03-10Generate release notes from snippets automatically. [skip ci]Jussi Pakkanen4-26/+65