Nirbheek Chauhan
bcee8fb8ca
compilers: Update comment about library search patterns
6 years ago
Nirbheek Chauhan
07818dac6a
compilers: Try harder to dedup builtin libs
...
Compiler internal libs should always be de-duplicated, no matter what.
Closes https://github.com/mesonbuild/meson/issues/2150
Test case is by Bruce Richardson in the issue.
6 years ago
Michael Hirsch, Ph.D
6d215476c0
functionalize per-file Fortran dep scan
...
allow recursion for Fortran include
qualify include by file extension
correct suffix
6 years ago
Georges Basile Stavracas Neto
5f00c30200
i18n: Use CustomTarget.known_kwargs at permittedKwargs()
...
@permittedKwargs() is basically copying the logic of CustomTarget,
but it is not actually up to date, leading to warnings on perfectly
valid values such as 'build_by_default'.
Use CustomTarget.known_kwargs instead, and only append the specific
kwargs of i18n.merge_file().
Fixes https://github.com/mesonbuild/meson/issues/5079
6 years ago
Bruce Richardson
cfe82db5ab
do not duplicate external dependencies in list
...
Since the "-l<lib>" flags in the build.ninja file are passed in
"--start-group"/"--end-group" flags, there should be no need to have any
library listed twice, even if there are circular dependencies. Therefore we
can eliminate duplicates. For speed, rather than deduplicating at the end
of the process, it's faster to not add the duplicate flags in the first
place.
This should help fix #2150
6 years ago
Dylan Baker
89e46f0d92
build: Handle EOFError and AttributeError like coredata
...
Fixes #5056
6 years ago
Niklas Claesson
dd2c44cdf6
Add static as keyword to find_library
6 years ago
Andrei Alexeyev
faf3581df6
Fix git wraps with submodules
...
* If clone-recursive is specified, populate submodules only after
the specified revision/branch has been checked out. Fixes #4996
* Update submodules recursively on `meson subprojects update`
6 years ago
jrl64
969e291835
A more verbose RE Definiton in search_version. Closes #5020
6 years ago
Nirbheek Chauhan
ca34b0af70
Support relative paths in pkgconfig files
...
This is a regression introduced in meson 0.47.
Fixes https://github.com/mesonbuild/meson/issues/4135
6 years ago
Antoine Jacoutot
28b54c1b66
Fix indent to please codestyle.
6 years ago
Antoine Jacoutot
d952e5ac4d
GnuLikeCompiler: don't set b_lundef by default on OpenBSD
...
OpenBSD does not link libc into shared libraries by default to avoid binding
libraries to specific libc majors. So prevent passing "-Wl,--no-undefined" or
"-zdefs" when linking (those options have always suffered false positives on
this operating system).
6 years ago
Antoine Jacoutot
7bc04996c0
environment: support OpenBSD in detect_objc_compiler
...
We need to match the "clang --version" output on OpenBSD:
$ clang --version | head -1
OpenBSD clang version 7.0.1 (tags/RELEASE_701/final) (based on LLVM 7.0.1)
6 years ago
Antoine Jacoutot
03c0c3a8f4
Fix _get_patterns on OpenBSD
...
We need to account to the possible prefixes (empty or 'lib').
This allows both to work:
cc.find_library('foo')
cc.find_library('libfoo')
6 years ago
Jussi Pakkanen
35c3cf2822
Bump version number for new development.
6 years ago
Jussi Pakkanen
9f48f5fe94
Update everything for new release.
6 years ago
Jussi Pakkanen
c34f044814
Fix appleframeworks with multiple modules.
6 years ago
Thibault Saunier
c6012e3cc7
hotdoc: Set gi-c-source-root
...
The same way as we set '--sources-top-dirs' for gi
6 years ago
Eli Schwartz
311cbf347b
pkgconfig.generate: add FeatureNew and documentation for implict version
...
The documentation for this change was left out of its implementation in
commit b4aee4675a
and was later documented
in commit f831c05b55
as if it had always
existed.
6 years ago
Dylan Baker
cb614e8ff6
llvm: Add llvm-config80 for FreeBSD
6 years ago
Jussi Pakkanen
38a3c30bc5
Fix javac version lookup in JDK11. Closes #4322 .
6 years ago
Daniel Mensinger
5f6b94ccb9
rewriter: Renamed _src -> _sources
6 years ago
Daniel Mensinger
617445ea72
rewriter: Make sure variable names are valid
6 years ago
Daniel Mensinger
594bf678c7
rewriter: Require '/' for the project ID
6 years ago
Daniel Mensinger
609a21ff9f
rewriter: Abort on error by default
6 years ago
Daniel Mensinger
c957a2aa94
rewriter: Changed line sort key
6 years ago
Daniel Mensinger
5d2f14fce7
rewriter: Quiet logging by default
6 years ago
Daniel Mensinger
06695fec60
rewriter: type definition code fix
6 years ago
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
6 years ago
Daniel Mensinger
b55dbf0fae
rewriter: Dump JSON to stderr instead of stdout
6 years ago
Daniel Mensinger
90b557e38a
rewriter: Remove command alias
6 years ago
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
6 years ago
Daniel Mensinger
eabc35340d
rewriter: Enforce an empty project ID string
6 years ago
Daniel Mensinger
8fad06e8c8
rewriter: Removed python 3.7 feature required=False
6 years ago
Daniel Mensinger
9874ce81f0
rewriter: make flake8 happy
6 years ago
Daniel Mensinger
c4708c28f2
better formating of the help output
6 years ago
Daniel Mensinger
740f6b8f06
rewriter: Implemented a CLI
6 years ago
Daniel Mensinger
e72f535fc8
rewriter: Removed debug printing
6 years ago
Daniel Mensinger
0fd4dce906
rewriter: Type annotation cleanup
6 years ago
Daniel Mensinger
2582f311b0
rewriter: Make sure target sources are relative
6 years ago
Daniel Mensinger
760d1bff9c
rewriter: Sort source files ( #5010 )
...
* rewriter: Sort source files
* rewriter: Natural sorting
* rewriter: Fix flake8
* rewriter: Fixed sorting
* rewriter: Make sorting key more readable
* rewriter: Even simpler key
6 years ago
Jussi Pakkanen
65487f1599
Install header\'s subdir must not be absolute.
6 years ago
Daniel Mensinger
586ec5a28c
intro: Fixed code after rebase
6 years ago
Daniel Mensinger
7074f12644
mintro: Renamed --dependencies --> --scan-dependencies
6 years ago
Daniel Mensinger
185dc8c2e5
mintro: Fix unit test
6 years ago
Daniel Mensinger
f9da03fb7b
mintro: Address code review
6 years ago
Daniel Mensinger
f9b41d5ecb
mintro: Dependencies from source
6 years ago
Daniel Mensinger
8a1411a1e8
Target introspection from source
6 years ago
Daniel Mensinger
98e60f59ac
Minor introspection refactoring
6 years ago
Daniel Mensinger
7f9fb6a084
rewriter: Minor code cleanup
6 years ago