aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19dependencies/openmp: Pass openmp arguments to look for _OPENMP defineDylan Baker1-1/+2
On GCC anc Clang th _OPENMP preprocessor define is only defined if -fopenmp is passed to the compiler.
2019-03-18interpreterbase: protect string division with FeatureNewPaolo Bonzini4-8/+31
Meson is not warning if you join paths with / but you are requesting a version older than 0.49.0; fix this before adding more features to the division operator. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-18dependencies: fix Python linking for windows+mingwNacho García2-6/+14
For dynamic linking, some mingw releases don't link correctly with pythonXX.lib in all cases. This patch forces mingw to link against pyhthonXX.dll instead of the .lib file, which has a better compatiblity. Note that msys 1.0 old platform is detected as windows instead of 'mingw'
2019-03-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-03-17Add feature warning for qt.compile_translationsLuca Weiss1-2/+2
2019-03-17Fix #5046Ninja-Koala1-5/+6
2019-03-14Add libcamera to Users.md [skip ci]Kieran Bingham1-0/+1
Add the libcamera project as a user of Meson.
2019-03-14Merge pull request #5081 from scivision/fortranincludeJussi Pakkanen6-54/+120
FEATURE: Fortran Include directive
2019-03-14dependencies/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-03-14envconfig: 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-03-14compilers: Update comment about library search patternsNirbheek Chauhan1-2/+4
2019-03-14compilers: 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-03-14docsMichael Hirsch, Ph.D1-0/+12
2019-03-14add fortran include test caseMichael Hirsch, Ph.D4-0/+19
2019-03-14functionalize per-file Fortran dep scanMichael Hirsch, Ph.D1-54/+89
allow recursion for Fortran include qualify include by file extension correct suffix
2019-03-14i18n: 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-03-13tests: disable Dlang tests on windowsDylan Baker1-1/+1
These don't work and no one has fixed them. When I've tried to download dmd for windows I can't get a valid installer from their website. Let's at least turn the CI green.
2019-03-13docs/Users: add Knot Resolver to projectsTomas Krizek1-0/+1
2019-03-13docs/Users: fix sort order (Kiwix libraries)Tomas Krizek1-1/+1
2019-03-13do not duplicate external dependencies in listBruce Richardson1-2/+3
Since the "-l<lib>" flags in the build.ninja file are passed in "--start-group"/"--end-group" flags, there should be no need to have any library listed twice, even if there are circular dependencies. Therefore we can eliminate duplicates. For speed, rather than deduplicating at the end of the process, it's faster to not add the duplicate flags in the first place. This should help fix #2150
2019-03-13compilers: -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-03-13compilers: -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-03-12Avoid module patching in `test_find_library_patterns`John Ericson1-13/+8
This is less hacky, and also prepares the way for #4010.
2019-03-12build: Handle EOFError and AttributeError like coredataDylan Baker1-1/+6
Fixes #5056
2019-03-11Add static as keyword to find_libraryNiklas Claesson12-30/+93
2019-03-11Fix git wraps with submodulesAndrei Alexeyev2-9/+8
* If clone-recursive is specified, populate submodules only after the specified revision/branch has been checked out. Fixes #4996 * Update submodules recursively on `meson subprojects update`
2019-03-11A more verbose RE Definiton in search_version. Closes #5020jrl641-2/+20
2019-03-11Add unit test for pkgconfig relative pathsIgnacio Casal Quinteiro2-0/+26
2019-03-11Support 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-03-11docs: Typos and formatting in the 0.50 release notes [skip ci]Nirbheek Chauhan1-13/+14
2019-03-11test: 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-03-11docs: Add missing closing quote [skip ci]Thomas DeRensis1-1/+1
2019-03-11Fix indent to please codestyle.Antoine Jacoutot1-3/+3
2019-03-11GnuLikeCompiler: don't set b_lundef by default on OpenBSDAntoine Jacoutot1-2/+4
OpenBSD does not link libc into shared libraries by default to avoid binding libraries to specific libc majors. So prevent passing "-Wl,--no-undefined" or "-zdefs" when linking (those options have always suffered false positives on this operating system).
2019-03-11environment: 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-03-11Fix unit test: test_find_library_patternsAntoine Jacoutot1-7/+5
2019-03-11Fix _get_patterns on OpenBSDAntoine Jacoutot1-1/+2
We need to account to the possible prefixes (empty or 'lib'). This allows both to work: cc.find_library('foo') cc.find_library('libfoo')
2019-03-10docs: fix typo in link anchor [skip ci]Will Thompson1-1/+1
2019-03-10Bump version number for new development.Jussi Pakkanen1-1/+1
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
2019-03-10Condense directory numbering for release.Jussi Pakkanen66-20/+20
2019-03-10Fix appleframeworks with multiple modules.Jussi Pakkanen3-1/+19
2019-03-10hotdoc: Set gi-c-source-rootThibault Saunier1-0/+14
The same way as we set '--sources-top-dirs' for gi
2019-03-09pkgconfig.generate: add FeatureNew and documentation for implict versionEli Schwartz2-2/+4
The documentation for this change was left out of its implementation in commit b4aee4675afd9f9f4a36aea628bab4249d7addbc and was later documented in commit f831c05b553d876a08dcf46478161b60b4e693c4 as if it had always existed.
2019-03-09docs: Add snippet for python module path method [skip ci]Dylan Baker1-0/+5
Which somehow wasn't included in the original pull request.
2019-03-09docs: document that the .path() method for Python is new in 0.50 [skip ci]Dylan Baker1-0/+11
Since this method was not included in 0.46-00.49 we should document that.
2019-03-08bash/zsh: drop completion for deprecated commandEric Engestrom2-42/+1
2019-03-07llvm: Add llvm-config80 for FreeBSDDylan Baker1-5/+4