Commit Graph

8296 Commits

Author SHA1 Message Date
Jussi Pakkanen b3fe4a0a18 Add option for controlling RTTI. 2019-11-02 19:49:14 +02:00
Jussi Pakkanen 760b8633bc Pass explicit command line argument to disable exceptions with MSVC. 2019-11-02 19:49:14 +02:00
Michael Hirsch, Ph.D d218d52367 Ensure setuptools via PEP508/518 pyproject.toml 2019-11-02 16:17:13 +02:00
Aleksey Gurtovoy 48e6db89ab Ask Ninja to expand rsp files in compile_commands.json 2019-11-02 16:16:09 +02:00
Jussi Pakkanen 025e11c9a7 Fix looking up Visual Studio MSMs. Again. [skip ci] 2019-10-30 21:37:53 +02:00
Aleksey Gurtovoy 6eee9e48bb MSVC: support -LIBPATH
Fixes #6101 (with a test), following up #5881
2019-10-29 22:40:13 +02:00
rc-matthew-l-weber 6e18e5b0b3 docs: clarify --default-library is for internal libraries [skip ci]
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
2019-10-28 00:07:50 +02:00
James Hilliard 2b6c997e33 Return a disabler when an unknown method is called on a disabler object 2019-10-24 23:57:31 +03:00
Orlando Wingbrant 9ee9a1e1b2 Fix for issue #4499, multiple entries per file in install-log.txt 2019-10-23 22:37:45 +03:00
Jussi Pakkanen ae9723a5c1
Merge pull request #5942 from scivision/duck
interpreter: raise Meson exception when non-found module is used anyway
2019-10-23 18:45:06 +03:00
Michael Hirsch, Ph.D 248a75ff48 tests: add fortran-specific compiler checks 2019-10-23 18:44:19 +03:00
Michael Hirsch, Ph.D 4857940e89
raise exception when a non-required module not found and subsequently used 2019-10-22 23:38:39 -04:00
Michael Hirsch, Ph.D 765a5e9835
ducking 'None' for missing module
This handles the Windows-specific case, the next commit handles the general issue
2019-10-22 23:38:32 -04:00
Jussi Pakkanen f96a8cbdf5 Test that running configure on a build dir works. 2019-10-22 22:32:34 +03:00
Xavier Claessens c6b512e64d mconf: Fix printing options when there is no compiler/project options
Closes: #6087
2019-10-22 22:32:34 +03:00
Jussi Pakkanen dea2c093d4
Merge pull request #6090 from GoaLitiuM/master
d: Fix various linking issues
2019-10-22 20:59:36 +03:00
Marc-André Lureau 1ed70e22b9 Add source tags targets 2019-10-22 20:48:24 +03:00
Jussi Pakkanen cce172432b Use run-clang-tidy when available. 2019-10-21 20:34:41 +03:00
GoaLitiuM 31d397187d d: Fix various linking issues on Windows 2019-10-21 16:24:39 +03:00
GoaLitiuM 4f83c47880 d: Prefer MSVC and LLVM linker over optlink when available
The optlink linker is slowly getting phased out now since DMD ships with the LLVM linker, so it can be used when Visual Studio is not installed.
2019-10-21 16:22:39 +03:00
Xavier Claessens 212a05b87e Remove duplicated object files in static libraries
When a static library link_whole to a bunch of other static libraries,
we have to extract all their objects recursively. But that could
introduce duplicated objects. ar is dumb enough to allow this without
error, but once the resulting static library is linked into an
executable or shared library, the linker will complain about duplicated
symbols.
2019-10-21 01:08:05 +03:00
Jussi Pakkanen aece7ecded
Merge pull request #6074 from mensinda/cmFileAPI
cmake: Add CMake file API support
2019-10-20 17:45:02 +03:00
Daniel Mensinger 80ec5e9d28 Fix all flake8 warnings 2019-10-20 17:44:43 +03:00
Daniel Mensinger 30a668d0bb cmake: Blacklist more compiler warning flags 2019-10-20 14:12:52 +03:00
Jussi Pakkanen 7bc7ff1433 Do not try to run dist test with VS backend. 2019-10-20 13:30:17 +03:00
Jussi Pakkanen ad1cfbe7ec Disable extension module tests with Python 3.8 and VS2015. 2019-10-20 13:30:17 +03:00
Daniel Mensinger 892c8ebe65
run_project_tests: Added print_tool_versions() 2019-10-20 12:04:15 +02:00
Daniel Mensinger 66e1e1747e
cmake: Do not add imported targets 2019-10-20 12:04:15 +02:00
Daniel Mensinger 902ed589a5
cmake: Add CMake file API support
The file API will automatically be used when CMake >= 3.14
is detected. This new API is meant as a replacement for the
now deprecated CMake server API.

The new API (mostly) provides the same information in a
different format. Thus only a slight bit of refactoring was
necessary to implement this new backend
2019-10-20 12:04:15 +02:00
Daniel Mensinger 4ec82040c8
cmake: Comment out unused variables 2019-10-20 12:04:15 +02:00
Daniel Mensinger b2c89e6f87
cmake: Move CMake API classes to common 2019-10-20 12:04:15 +02:00
Jussi Pakkanen 5eb3875175
Update Linux CI image to Ubuntu Eoan. [skip ci] 2019-10-19 21:52:59 +03:00
Anton Leontiev 603b1ac287 docs: Fix some incorrect links [skip ci] 2019-10-19 19:14:10 +03:00
Anton Leontiev ddd7cf634b docs: Add missing language identifier [skip ci] 2019-10-19 19:14:10 +03:00
Thomas Petazzoni 998a1f5fa3 mdist.py: import lzma only when needed
Source of patch:
http://lists.busybox.net/pipermail/buildroot/2019-October/262990.html
http://code.bulix.org/gdxcu4-914360

Fixes https://github.com/mesonbuild/meson/issues/6012
2019-10-19 14:28:34 +03:00
Michael Hirsch, Ph.D ba7428c9d3 cmake2meson: improve exceptions, add type annotations, use argparse 2019-10-19 14:28:03 +03:00
makise-homura 9382884872 Fix according to deprecation of usage of non-standard escape sequences 2019-10-19 14:27:41 +03:00
makise-homura 79f52e2488 Add a proper way to get include dirs for elbrus compiler 2019-10-19 14:27:41 +03:00
makise-homura dd8c1d0595 Make search of library dirs correct 2019-10-19 14:27:41 +03:00
Gerion Entrup d5be103585 Documentation: Extend example for precompiled headers
The documentation already contains an example for PCH but misses the
to show the content of the PCH files and how to create them.

With this commit exactly this is exlained.
2019-10-18 13:13:52 -04:00
Liam Beguin af11f92071 syntax-highlighting: vim: add license header [skip ci]
Add a license header before getting them in the Vim runtime.
2019-10-18 01:24:12 +03:00
Michael Hirsch, Ph.D ecaba8c234 xcode 64 bit for catalina [skip ci] 2019-10-18 01:07:52 +03:00
Michael Hirsch, Ph.D 89ced3fe58 MPI: don't excessively skip Windows test cases, which can hide real problems 2019-10-18 01:01:30 +03:00
Xavier Claessens 88e77e69bc mconf: Group all options per subproject and align all groups
Also hide value of yielding subproject options to make it clear the
value must be set on the main project.
2019-10-18 00:49:27 +03:00
Aaron Plattner b626978dc6 Add missing newlines to "meson introspect" error
The lack of newlines in the print() statement for this error causes the result
to be jumbled and hard to read:

 $ ./meson.py introspect
 Current directory is not a meson build directory.Please specify a valid build dir or change the working directory to it.It is also possible that the build directory was generated with an oldmeson version. Please regenerate it in this case.

Add newlines so the message is more readable:

 $ ./meson.py introspect
 Current directory is not a meson build directory.
 Please specify a valid build dir or change the working directory to it.
 It is also possible that the build directory was generated with an old
 meson version. Please regenerate it in this case.
2019-10-18 00:48:00 +03:00
Daniel Mensinger 8b8f14c4dd default inc dirs: fix warning for unsupporte lang (fixes #6050) 2019-10-18 00:45:03 +03:00
Michael Hirsch, Ph.D 5478397c59 tests/1common: update meson_version>=0.52 for is_disabler
since 0.52 is indeed now required for this test case.
2019-10-18 00:44:27 +03:00
Andrei Alexeyev 0841d1710e emscripten: fix false positives in linking tests 2019-10-18 00:31:57 +03:00
Andrei Alexeyev 50646a8723 Refactor duplicate Emscripten code into a mixin 2019-10-18 00:31:57 +03:00
Ross Burton a1a8772034 Add test case to verify identity cross builds
A build with a cross file should always be identified as a cross build, even if
the host and build machine are identical.  This was the case in 0.50, regressed
in 0.51, and is fixed again in 0.52, so add a test case to ensure it doesn't
regress again.
2019-10-15 23:46:35 +03:00