aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-14Slight consistency changes to get_gui_app_argsLaurin-Luis Lehning3-9/+12
2020-12-14Oversight in VisualStudioLikeLinkerMixinLaurin-Luis Lehning1-1/+1
2020-12-14Give get_win_subsystem_args access to envLaurin-Luis Lehning3-6/+6
2020-12-14Make win_subsystem a linker propertyLaurin-Luis Lehning5-28/+35
2020-12-14Merge pull request #8013 from mesonbuild/cppmodulesJussi Pakkanen17-10/+311
C++ module support
2020-12-14mtest: only build what is needed for the testsPaolo Bonzini3-12/+61
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: #7473 Related: #7830
2020-12-14mintro: export functions to load the meson-info filesPaolo Bonzini1-17/+30
With the next patch, "meson test" will be using the targets introspection information. Provide helper functions to share bits of code between mintro.py and mtest.py.
2020-12-13Add support for driving lld-link indirectly through clang on WindowsLaurin-Luis Lehning3-2/+20
2020-12-13Support native tests in crossbuildOleg B4-1/+37
2020-12-13Add mypy annotations.Jussi Pakkanen2-12/+14
2020-12-13Scan all C++ sources and ignore everything else.Jussi Pakkanen3-5/+39
2020-12-13Add unit test.Jussi Pakkanen1-0/+10
2020-12-13C++ module compilation works for a simple project.Jussi Pakkanen2-5/+108
2020-12-13Add VCS ignore files to build dir on creation. Closes #6509.Jussi Pakkanen1-0/+19
2020-12-12Generate dependency scanning hooks in the Ninja file.Jussi Pakkanen1-9/+45
2020-12-11CI: Move all remaining jobs from travis-ci to GHAChristoph Reiter7-118/+66
Some changes: * Set HOME to /root, since github mounts its own HOME and 'wine' (because of permissions) and 'dub' (can't find packages) don't like that. * Remove the seccomp option, doesn't seem to be needed.
2020-12-11Create unit test for C++ modules and accept ixx as C++ source extension.Jussi Pakkanen13-1/+93
2020-12-11Generate scanning rules for C++ modules.Jussi Pakkanen1-0/+24
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