aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-11Use currently detected Ninja version as the minimum required.ninjaverJussi Pakkanen1-1/+1
2020-12-11unit tests: correctly skip c++20 checks if the compiler doesn't supportDylan Baker1-3/+12
them I can't find a supported version for AppleClang, and you need relatively recent versions of GCC and Clang for -std=c++20 to work.
2020-12-11ci: run msys2 on run_unittests.py changesDylan Baker1-0/+2
2020-12-11ci: rebuild macos image on run_unittest.py changesDylan Baker1-0/+2
2020-12-10compilers: add support for c++20/gnu++20Florian Schmaus3-6/+9
Fixes #8084.
2020-12-10Respect MESON_INSTALL_QUIET in gettext.pyDaan De Meyer1-1/+2
Fixes #8068.
2020-12-10pkgconfig: Respect variable ordering when passed as listXavier Claessens2-2/+3
This fix a regression introduced in Meson 0.56.0 when using python 3.5. Also mention in documentation that using a meson dict does not guarantee ordering. Fixes: #8074.
2020-12-10install: don't elevate when using destdirThomas WeiƟschuh1-1/+1
Previously the destdir was ignored completely when using elevated privileges to install files as pkexec stripped the DESTDIR environment variable. As the destdir is not supposed to require any special privileges anyways, just re-raise the error.
2020-12-10docs: fix "edit on GitHub" linksThomas WeiƟschuh1-1/+1
2020-12-07Remove "Found runner: " logging message from meson compileDaan De Meyer1-1/+0
The ninja path is already logged as part of configure. Logging it again every time when using meson compile is overly verbose and doesn't add much value for the user.
2020-12-07msubprojects: Ignore worktrees when checking outNirbheek Chauhan1-1/+1
Otherwise it's not possible to share git subprojects via worktrees when creating a worktree of a git repository that uses meson subprojects. The downside is that the user needs to be careful while adding commits to each tree's index.
2020-12-03Add prelinking support for static libraries.Jussi Pakkanen15-2/+155
2020-11-29Update Vala Preprocessor section in documentation. Closes: #8040 [skip ci]Jerry Casiano1-1/+7
2020-11-29Add aarch64 assembly testmimi899991-1/+10
2020-11-27Add script to create a zipapp.Eli Schwartz3-22/+25
Invoke create_zipapp.py from the root of the repository and it will create a minimal zipapp with only the mesonbuild module code and a __main__.py directly copied from meson.py The meson.py launcher already tracks the desired entry point, and its only other effect is to add the mesonbuild directory to the path if it exists, which it won't in the zipapp. So there's no need to duplicate this into another __main__.py
2020-11-27createmsi: move to generic packaging directoryEli Schwartz2-1/+1
We might want to create other dedicated packaging scripts, and put them all in one directory.
2020-11-26Bump Ninja requirement to 1.8.Jussi Pakkanen3-6/+6
2020-11-25rename .lgtm.yml to reduce top-level directory ls clutterMichael Hirsch, Ph.D1-0/+0
.lgtm.yml is also good filename: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
2020-11-24compilers/fortran: Add "none" to intel compielrs for standardsDylan Baker1-2/+2
Fixes #8023
2020-11-24compiler: allow non-built internal dependencies as argumentsPaolo Bonzini4-13/+35
Allow methods on the compiler object to receive internal dependencies, as long as they only specify compiler/linker arguments or other dependencies that satisfy the same requirements. This is useful if you're using internal dependencies to add special "-D" flags such as -DNCURSES_WIDECHAR, -D_XOPEN_SOURCE_EXTENDED or -DGLIB_STATIC_COMPILATION.
2020-11-24Merge pull request #7982 from dcbaker/submit/unittest-fixupsJussi Pakkanen1-74/+55
Unittest fixups
2020-11-23add dependency recommendation [skip ci]Michael Brockus1-0/+8
Co-authored-by: Eli Schwartz <eschwartz@archlinux.org>
2020-11-23Remove AutoDeletedDirChristoph Reiter1-16/+4
Replace the only usage with a simple try/finally and remove the class.
2020-11-23Replace various calls to AutoDeletedDir with TemporaryDirectoryWinProofChristoph Reiter1-6/+6
AutoDeletedDir was a workaround to TemporaryDirectory not using windows_proof_rmtree(). TemporaryDirectoryWinProof does now, so replace it.
2020-11-23Add a variant of TemporaryDirectory that uses windows_proof_rmtree()Christoph Reiter2-53/+68
Adds TemporaryDirectoryWinProof which calls windows_proof_rmtree() on error. Use instead of hacky error handling (which might shadow other OSError) in Compiler.compile().
2020-11-22doc: fix confusing use of "build" as a directory argument [skip ci]Eli Schwartz3-9/+9
In most places, we now refer to "builddir/" which is a lot less likely to make people think it is a subcommand which needs to be used literally. This is a regression since commit 276d342ebaf859dd53e145ead3e98e2cebb360ab due to the existence of new docs which were added later on, using the wrong form.
2020-11-23CI: install glib for the MSYS2 jobs to make pkgconf happyChristoph Reiter1-0/+1
Fixes a test when using pkgconf instead of pkg-config. The .pc file in the pkgconfig-gen test requires it and pkgconf seems be stricter here and fails to validate.
2020-11-23CI: fix a typo in the msys2 workflow trigger pathsChristoph Reiter1-2/+2
2020-11-22Merge pull request #8010 from dcbaker/submit/optinterpreter-cleanupsJussi Pakkanen3-36/+58
Opt Interpreter cleanups and type annotations
2020-11-22Merge pull request #8011 from dcbaker/submit/post-python36-cleanupsJussi Pakkanen46-96/+46
Python 3.6 cleanups
2020-11-21Handle cmake dependencies which require a specified versionJason Ekstrand9-5/+56
Some CMake packages fail to find at all if no version is specified. This commit adds a cmake_version parameter to dependency() to allow you to specify the requested version.
2020-11-21run_project_tests: Use the test environment for install and cleanJason Ekstrand1-2/+2
2020-11-21cmVers: use env instead of hardcoding bash locationDylan Baker1-1/+1
2020-11-21envconfig: use debug for "using * from environment variables messagesDylan Baker1-1/+1
These are spammy, and being in the debug log is probably better anyway.
2020-11-20setup.cfg: fix python requires to be 3.6.0Dylan Baker1-1/+1
2020-11-20setup.py: fix check fro 3.5.2 which should be 3.6Dylan Baker1-2/+2
2020-11-20Delete now dead < python 3.6 checkDylan Baker1-1/+1
2020-11-20use real pathlib moduleDylan Baker44-92/+42
We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this
2020-11-20optinterpreter: organize the validation of arguments to be more readableDylan Baker1-10/+13
2020-11-20optinterpreter: use PEP8 compliant namesDylan Baker1-10/+10
2020-11-20optinterpreter: fix value being set in loopDylan Baker1-1/+1
This value shouldn't be set in the loop, it's probably been making things slow, but also creates the potential that if choices is an empty list that value would be unbound. While that's exteremly unlikly to happen in practice, it is showing up as a warning from pylance.
2020-11-20Add type annotations to optinterpreterDylan Baker2-19/+34
2020-11-20Allow setting attributes in MesonException intializerDylan Baker1-3/+7
Instead of forcing them to be set afterwards
2020-11-20run_unittests: delete test for external syntax highlightingDylan Baker1-46/+0
It's a bit odd we have a test for an external project that's not even in the meson organization. Regardless, the json file was recently replaced by a cson file. There is an coffee-script-notation parser in pypi, but I couldn't get it to work. Just delete the test
2020-11-18unittests: ignore nix rpathsDylan Baker1-5/+12
As a necessity nix adds a bunch of rpaths to files, this is unavoidable do to the way nix package management works. Meson doesn't expect this however, and fails all rpath tests. To correct this we just ignore any rpath entries that start with `/nix`.
2020-11-18Merge pull request #7894 from obilaniu/cudaupdatesJussi Pakkanen3-58/+169
Update unstable CUDA Module to support newest toolkits and drivers.
2020-11-18Merge pull request #7836 from bonzini/mtest-asyncioJussi Pakkanen1-137/+212
[RFC] mtest: use asyncio instead of concurrency.futures
2020-11-18Update Tutorial.md [skip ci]Michael Brockus1-12/+38
2020-11-18Merge pull request #7900 from bonzini/stabilize-hashJussi Pakkanen5-8/+8
Avoid build.ninja changes due to order of hash table iteration
2020-11-18mtest: cleanup and fix print_statsPaolo Bonzini2-14/+12
Avoid calling self.collected_failures.append twice, and avoid inflated indentation by adding a "plain" decorator to mlog. Fixes: ba71fde18 ("mtest: collect failures regardless of colorized console", 2020-10-12)