aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-07-23Merge pull request #7460 from mensinda/fixDeepcpyJussi Pakkanen3-9/+20
deps: Do not deepcopy internal libraries (fixes #7457)
2020-07-23compilers: Cache gnu-mixins has_arguments() checksNirbheek Chauhan1-1/+1
want_output gives us the output file. We don't need the file. We just need the compiler stderr, which is always stored.
2020-07-22coredata: Make warning_level per subproject builtin optionXavier Claessens6-24/+54
2020-07-22visualstudio: warning_level 0 should not map to /W1Xavier Claessens1-1/+1
In every other compilers level 0 maps to no argument at all.
2020-07-22Don't spam about usage of rspfiles to stdoutNirbheek Chauhan1-1/+1
Put it in the log file if necessary. Users don't need to know this. It's very spammy.
2020-07-22vim: Syntax-highlight continue and break statementsNirbheek Chauhan1-1/+2
2020-07-21Add boost_root support to properties files (#7210)cmcneish15-44/+163
* Add boost_root support to properties files This commit implements `boost_root`, `boost_includedir`, and `boost_librarydir` variable support to native and cross properties files. The search order is currently environment variables, then these variables, and finally a platform-dependent search. * Add preliminary boost_root / boost_includedir tests Each test contains a fake "version.hpp", as that's how boost detection is currently being done. We look for this file relative to the root directory, which probably shouldn't be allowed (it previously was for BOOST_LIBRARYDIR but not for BOOST_ROOT). It also cannot help with breakage detection in libraries, however it looks like this wasn't getting tested beforehand. I've given the two unique version numbers that shouldn't be present in any stock version of boost (001 and 002). * Add return type to detect_split_root * Return empty list when nothing found in BOOST_ROOT, rather than None * Update boost_root tests * Create nativefile.ini based on location of run_project_tests.py * Add fake libraries to ensure boost_librarydir is being used * Require all search paths for boost to be absolute * Redo boost search ordering To better match things like pkg-config, we now look through native/cross files, then environment variables, then system locations for boost installations. Path detection does not fall back from one method to the next for properties or environment variables--if boost_root, boost_librarydir, or boost_includedir is specified, they must be sufficient to find boost. Likewise for BOOST_ROOT and friends. pkg-config detection is still optional falling back to system-wide detection, for Conan. (Also, fix a typo in test 33's nativefile) * Correct return type for detect_roots * Correct boost dependency search order in documentation * Print debug information for boost library finding, to resolve CI issues * Handle native/cross file templates in a more consistent way All tests can now create a `nativefile.ini.in` if they need to use some parameter that the testing framework knows about but they can't. * Pass str--rather than PosixPath--to os.path.exists, for Python35 * Look for boost minor versions, rather than boost patch versions in test cases * Drop fake dylib versions of boost_regex * Prefer get_env_var to use of os.environ * Correct error reporting for relative BOOST_ROOT paths * Bump version this appears in. Also, change "properties file" to "machine file" as that appears to be the more common language.
2020-07-21summary: Wrap lines when printing listsXavier Claessens3-5/+34
When a list_sep is provided (e.g. ', ') all items are printed on the same line, which gets ugly on very long lists (e.g. list of plugins enabled).
2020-07-20string: add substring methodStéphane Cerveau4-0/+52
This method aims to offer a simple way to 'substring' an existing string with start and end values.
2020-07-20Do not add rpaths for static libs. Closes #5191.Jussi Pakkanen2-1/+9
2020-07-19Fix dirs typo in Vala docs [skip ci]wb96881-1/+1
Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
2020-07-19Print a warning when importing a stabilized moduleMarc-André Lureau3-7/+26
2020-07-19Stabilize keyval moduleMarc-André Lureau8-7/+14
We have experimented with the module for about a year in a qemu branch (https://wiki.qemu.org/Features/Meson), and we would like to start moving the build system to meson. For that, keyval should have the stability guarantees. Cc: Paolo Bonzini <pbonzini@redhat.com>
2020-07-19coredata: add missing EnvironmentException importJames Hilliard1-2/+3
Fixes: NameError: name 'EnvironmentException' is not defined Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2020-07-19fix msvc not recognising b_ndebugElliot Haisley3-1/+17
fixes #7404
2020-07-19Fix a comment about cross compilation with clang-cl [skip ci]Martin Storsjö1-1/+1
This comment was added in 0fbd09609f4, where the case of a forward slash was added for the case when cross compiling.
2020-07-19Fix setuptools 49 test. (fixes #7452)Daniel Mensinger1-0/+4
2020-07-16mdata: Add test to ensure mesondata.py is up-to-dateDaniel Mensinger1-0/+32
2020-07-16mdata: remove setuptools and use mesondata insteadDaniel Mensinger4-16/+4
2020-07-16mdata: Generate mesondata.py from */data foldersDaniel Mensinger2-0/+513
2020-07-16Make virtualenv inside the project workDaniel Mensinger2-9/+10
2020-07-16deps: Do not deepcopy internal libraries (fixes #7457)Daniel Mensinger1-0/+10
2020-07-14wrap: Raise MesonException when git command failsXavier Claessens1-1/+4
This avoid printing long backtrace by default, the user already has the output of the git command printed for debugging purpose since we don't redirect stdout/stderr.
2020-07-14Replace `dynamic linker` with `linker` [skip ci]Nathan Lanza1-1/+1
This header erroneously referred to the dynamic linker while the paragraph talks about the "link editor." Change the title to account for the difference.
2020-07-14Merge pull request #7422 from alanc/solaris-fixesJussi Pakkanen3-5/+19
Solaris fixes revisited
2020-07-14doc: Add warning about --force-fallback-for [skip ci]Xavier Claessens1-0/+22
2020-07-14Merge pull request #7436 from scivision/python_testsJussi Pakkanen11-69/+76
Python test upgrade
2020-07-13qt module: rcc supports depfiles now, given a recent enough version of Qt5Eli Schwartz3-7/+10
Add depfile support to generated targets for Qt >= 5.14. Move warning into the module init itself, to check if the version is too old before issuing. Also tweak the wording itself, to advise upgrading to a suitable version of Qt5 instead of advising to wait for a Qt bug to be fixed.
2020-07-13Enable target override_options for llvm-irNirbheek Chauhan1-2/+2
This was missed somehow when the feature was added a few years ago.
2020-07-13ci: Increase timeout for vs jobs to 120Nirbheek Chauhan1-0/+2
vc2017x64vs and vc2019x64vs sometimes timeout because they exceed the 60 min default limit.
2020-07-13Fix native builds on Windows ARM64 machinesNirbheek Chauhan5-24/+10
I made the mistake of always selecting the debug CRT for compiler checks on Windows 4 years ago: https://github.com/mesonbuild/meson/pull/543 https://github.com/mesonbuild/meson/pull/614 The idea was to always build the tests with debugging enabled so that the compiler doesn't optimize the tests away. But we stopped doing that a while ago, and also the debug CRT has no relation to that. We should select the CRT in the same way that we do for building targets: based on the options. On Windows ARM64, the debug CRT for ARM64 isn't always available, and the release CRT is available only after installing the runtime package. Without this, we will always try to pick the debug CRT even when --buildtype=debugoptimized or release.
2020-07-13docMichael Hirsch, Ph.D2-0/+4
2020-07-13add Nvidia HPC SDK compilersMichael Hirsch, Ph.D6-8/+74
2020-07-12MSI creation fixes. [skip ci]Jussi Pakkanen1-8/+6
2020-07-12Bump version number for new development. [skip ci]Jussi Pakkanen1-1/+1
2020-07-12Updated everything for release 0.55.0.0.55.0Jussi Pakkanen28-276/+309
2020-07-12simplify/correct test logicMichael Hirsch3-33/+36
before this, tests were being skipped on Ubuntu 20.04 with Anaconda Python Now, all 5 tests success
2020-07-12remove redundant syntaxMichael Hirsch1-3/+2
2020-07-12some python test cases don't care about backend, so run them in any caseMichael Hirsch4-15/+30
2020-07-12raise SystemExit() generally preferred to sys.exit(1)Michael Hirsch5-20/+9
2020-07-12c lang not needed for this testMichael Hirsch1-1/+2
2020-07-12setuptools is not stdlib, but distutils isMichael Hirsch1-1/+1
2020-07-12refactor: name .mypy.ini to reduce visual clutterMichael Hirsch1-0/+0
MyPy looks to .mypy.ini, reducing Meson top-level visual clutter https://mypy.readthedocs.io/en/stable/config_file.html
2020-07-12Check that hg is actually working.Jussi Pakkanen1-2/+18
2020-07-12Decrease version requirement to work on Xenial.Jussi Pakkanen1-2/+2
2020-07-09doc: Small tweaks to fallback documentation [skip ci]Xavier Claessens2-2/+6
2020-07-07SolarisDynamicLinker: report ld's version instead of gcc'sAlan Coopersmith1-1/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-07-07SolarisDynamicLinker: Check if linker supports -z type=pieAlan Coopersmith1-1/+7
As suggested by dcbaker in https://github.com/mesonbuild/meson/pull/7370#discussion_r445145889 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-07-07symbolextractor: use try/finally in solaris_syms when wrapping gnu_symsAlan Coopersmith1-3/+5
As suggested by dcbaker in https://github.com/mesonbuild/meson/pull/7370#pullrequestreview-436872661 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-07-05Update version number for rc 2.0.55.0.rc2Jussi Pakkanen1-1/+1