Marcel Hollerbach
ba8e838dcf
Revert "CompilerArgs: make lookup faster"
...
This was a not so nice solution, and should be replaced with something
better.
This reverts commit 4524088d38
.
5 years ago
Marcel Hollerbach
256e910dee
cache up regex mathings
...
the names passed in here are often the same. We should ensure that we
cache the regex match, as this will speed up our runtime a lot.
5 years ago
Marcel Hollerbach
cca06e4c33
ninjabackend: cache calls to normpaths
...
calls to normpaths are expansive. We should cache the results. This
safes 2s in the configure time of efl.
5 years ago
Richard Brown
2e30afb23b
Add libeconf to users.md
...
libeconf is now using meson as its primary/default build system, so we'd like to see ourselves on the meson users list .
5 years ago
Joshua Gawley
6d2255ffec
mesonlib.py: refactored detect_vcs() to use pathlib.Path ( #7230 )
5 years ago
Jussi Pakkanen
f818d961e4
Add android to os list informally. Closes #6233 . [skip ci]
5 years ago
Lisa White
5e3f9b4b06
[skip ci] mesonwrap docs: fix a broken link
5 years ago
Mike Gilbert
5b3bed525d
Ignore file access errors when scanning .so files in system libdirs
...
Bug: https://bugs.gentoo.org/726524
5 years ago
Daniel Mensinger
a252a17e6e
cmake: always split property lists ( fixes #7228 )
5 years ago
jonathanmist
9ada7e18a8
dependencies/cuda: Add support for ARM linux
5 years ago
Ebrahim Byagowi
647f19b5aa
docs/unit-tests: Show a test can have multiple suites [skip ci]
5 years ago
Lisa White
fcbff1de7c
[skip ci] mesonwrap docs
...
- Add ambiguous naming documentation.
- Update branch request documentation.
- Add mesonwrap token documentation.
- Update review guidelines.
5 years ago
Lisa White
6ecb716f9c
[skip ci] mesonwrap docs: limit line length and remove trailing spaces
5 years ago
Jussi Pakkanen
c61f75adbf
Merge pull request #6818 from mensinda/localPatch
...
Wrap: add local files support via *_filename
5 years ago
Michael Hirsch, Ph.D
e2c475939e
add type anno: compilers/clike
5 years ago
Daniel Mensinger
a340b413ef
ninja: Always use to_native on CompilerArgs ( fixes #7167 )
5 years ago
Soapux
4852ee8ceb
Fix lack of space after 'Cflags:' in pkgconfig files
5 years ago
Phillip Johnston
bdfd46e579
Recognize Arduino .ino files as C++
...
Renaming .ino files is not an option when working with the IDE. Meson should recognize it as C++ however.
5 years ago
Soapux
228fd24ca4
docs: Fix typo in Release notes [skip ci]
5 years ago
Daniel Mensinger
c9cd235af4
opts: added docs
5 years ago
Daniel Mensinger
534b340a56
opts: Add FeatureNew for '-' and 'not' introduced in 0.54.1
5 years ago
Daniel Mensinger
7e8f1de063
opts: Allow string concatenation ( fixes #7199 )
5 years ago
TheQwertiest
1d02fd924b
mcompile: removed unneeded imports
5 years ago
TheQwertiest
4b6471f1d5
mcompile: detect_ninja
5 years ago
TheQwertiest
7c2f9e2b57
mcompile: replaced intro with cdata + extracted code to funcs
5 years ago
TheQwertiest
b9c9024e84
mcompile: replaced backend divination code + cleanup
5 years ago
Jussi Pakkanen
1e7f1ad4c9
Merge pull request #7197 from jon-turney/test-output-check-mandatory
...
Make the expected output check mandatory for failing-meson and warning-meson tests
5 years ago
georgev93
6f199db95b
Use --internal script call to call delwithsuffix when cleaning up the gcno and gcda files in a coverage enabled build. Otherwise, meson will crash when running from an MSI installation.
5 years ago
p01arst0rm
91db25ac85
fixed typo
5 years ago
Alexander Neumann
ec7ee8fd9e
fix cmake target configuration selection.
5 years ago
Jussi Pakkanen
187865c5a8
Merge pull request #6765 from mensinda/astDump2
...
mintro: AST JSON printer
5 years ago
Jussi Pakkanen
527536dd4a
Clear internal caches before running each test.
5 years ago
Jon Turney
6b1e1ffa77
Add expected stdout for failing-meson tests which are missing it
5 years ago
Jon Turney
0ac4376990
Make expected stdout mandatory for warning-meson and failing-meson tests
...
Unify present or absent test.json file cases in gather_tests
Make expected stdout mandatory in test.json for some test categories
Use a trivial TestCategory class rather than a tuple, to make it easier
to default category attributes
5 years ago
Daniel Mensinger
550a450324
ast: Add docs for --ast
5 years ago
Daniel Mensinger
210b57a136
ast: add unittest
5 years ago
Daniel Mensinger
54511b4a0f
ast: Handle NotNode
5 years ago
Daniel Mensinger
96eeef62ea
ast: Add AST JSON printer
5 years ago
Jussi Pakkanen
f2e2e910d9
Remove stray print call.
5 years ago
Jussi Pakkanen
22bc0d46a5
Revert "Merge pull request #7172 from jon-turney/test-output-check-mandatory"
...
This reverts commit 0871b1032c
, reversing
changes made to 9dc3ca2c1c
.
5 years ago
Drew Reed
9a94ffe061
Modifed buildtypes and armclang compiler flags to match documented results
5 years ago
georgev93
eee117aa24
Allow building with b_coverage set to true when clang is being used regardless of linker selection.
5 years ago
Jussi Pakkanen
2b1ca518cf
Merge pull request #7123 from dcbaker/use-feature-deprecated
...
Use FeatureDeprecated (and other cleanups)
5 years ago
Daniel Mensinger
2fd838d62d
boost: Try extracting BOOST_ROOT from boost.pc
...
This is especially useful for Conan, where only the boost.pc
file is provided and manually setting BOOST_ROOT is not a
good solution since it is in a private cache directory.
See #5438
5 years ago
Daniel Mensinger
5862ad6965
boost: Always sort shared before static ( fixes #7171 )
5 years ago
Jussi Pakkanen
0871b1032c
Merge pull request #7172 from jon-turney/test-output-check-mandatory
...
Make the expected output check mandatory for failing-meson and warning-meson tests
5 years ago
Yevhenii Kolesnikov
9dc3ca2c1c
compilers: add fetching of define list for clang
...
Simmilar to gcc, the list of pre-processor defines can be fetched with
`-dM -E` option. The way cpu_family is determined on linux relies on
this list.
Fixes incorrect value of cpu_family on linux, when crosscompiling:
```
CC="clang -m32" meson ./build
```
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
5 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Jon Turney
2a3015b5dd
Add expected stdout for failing-meson tests which are missing it
5 years ago
Jon Turney
19b44575d1
Make expected stdout mandatory for warning-meson and failing-meson tests
...
Unify present or absent test.json file cases in gather_tests
Make expected stdout mandatory in test.json for some test categories
Use a trivial TestCategory class rather than a tuple, to make it easier
to default category attributes
5 years ago