Jussi Pakkanen
8eaa0a2732
Use -MD instead of -MMD for reliability.
7 years ago
Jussi Pakkanen
b1c25ccde0
Use deterministic builddir so CCache works across invocations.
7 years ago
Hemmo Nieminen
d232a80e90
Allow value 'if-release' for b_ndebug project option. ( #1896 )
...
When set, NDEBUG will be automatically defined for for release builds but
not for other build types.
7 years ago
Shawn Landden
202b2fedf3
make clickable
7 years ago
snsmac
2b12d3b20f
Exclude llvm/clang lib headers from test coverage
...
Excludes the /usr/lib/llvm-*/include/ directory from coverage.
This directory is used on Ubuntu for the libclang-dev packages
7 years ago
Dylan Baker
0bbc9df74a
dependencies: Also strip git version from llvm version
...
If LLVM is built from a git mirror instead of from SVN it will have
"git-<very short sha>" at the end of the version. We need to remove that
so that version comparison will work correctly.
Fixes : #2786
7 years ago
Jussi Pakkanen
83fb76c9ae
Merge pull request #2781 from dcbaker/submit/config-tool-correct-name
...
Small cosmetic cleanups for ConfigTool dependencies and LLVM
7 years ago
Shawn Landden
44415ab61e
Update Users.md
...
now only build system of systemd
7 years ago
Xavier Claessens
63d2f0bf07
Do not extract object for header sources
...
Closes #2716
7 years ago
Dylan Baker
11b62c3c51
dependencies: use mlog.bold with llvm module/component names.
7 years ago
Dylan Baker
7cd41ee8fb
Use consistent mlog formatting with the ConfigTool dependency helpers
...
This just adds more consistent use of mlog.bold and mlog.red/green for
ConfigTool based dependencies.
7 years ago
Dylan Baker
2b2ee68f90
dependencies: Print LLVM for LLVM dependency
...
Instead of config-tool
7 years ago
Dylan Baker
54d0faa3dd
vim: Add warning function to list of builtins
7 years ago
Jussi Pakkanen
88756bfe95
Print UTF-8 warning only when actually encountering non-ascii filenames.
7 years ago
Michael James Gratton
93c988b453
Enable re-compilation of GNOME gschema files if they have changed.
...
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
depend_files kwarg.
* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
other one that is permitted).
7 years ago
Ismael González
d946b03496
Use LC_ALL=C in CCompiler.get_library_dirs
...
Use LC_ALL=C in CCompiler.get_library_dirs to fix wrong results with non
English locales.
7 years ago
Michael James Gratton
1a50fe45e8
Add Geary to the list of users - will use meson for the next release.
7 years ago
Iñigo Martínez
cc952b055a
docs: Change variable in pkg-config example
...
The example provided for the `get_pkgconfig_variable` when using using the `define_variable` parameter is not the best example, because it is using `prefix` for both. This changes the retrieved variable for `libdir` so the efect of the variable redefinition is more noticeable.
7 years ago
Iñigo Martínez
514d21e6a4
docs: Add documentation to dependency variables
...
Meson is able to redefine variables when retrieving them from
`pkg-config` dependencies. However, the documentation is missing.
This patch adds documentation for this feature.
7 years ago
Jussi Pakkanen
04d5d017c5
Fix documentation on disabler behaviour with short circuiting.
7 years ago
Ernestas Kulik
448710ba96
Fix Vala thread flag breakage ( #2756 )
7 years ago
Jussi Pakkanen
19cd60205d
Bump version number for new development.
7 years ago
Jussi Pakkanen
e674434389
Updated version number for new release.
7 years ago
Jussi Pakkanen
cbefb57ffe
Merge pull request #2745 from dcbaker/submit/haiku
...
small fixes for haiku
7 years ago
Jussi Pakkanen
5ff9e05c8b
Merge pull request #2697 from mesonbuild/custom-target-depends-serialize
...
custom target: Consider all build depends while serializing
7 years ago
Nirbheek Chauhan
664771bb53
appveyor.yml: Use MSYS2-MinGW Python for tests
...
Fix MemoryError in python3 module:
https://ci.appveyor.com/project/jpakkane/meson/build/4334/job/aowc3iiq8yfs02bi
It's probably caused by improper mixing of MT and non-MT libraries,
but this is indicative of how people use Meson in MSYS2 anyway.
7 years ago
Nirbheek Chauhan
2c4e7ebb9b
dependencies: Don't use NotImplementedError for invalid methods
...
Using NotImplementedError throws an ugly traceback to the user which
does not print the line number and other information making it
impossible to figure out what's causing it.
Also override it for internal dependencies because self.name is "null"
for them.
7 years ago
Nirbheek Chauhan
533e666901
dependencies: Fix detection of link args on MSYS2
...
The sysconfig config variables are different on MSYS2 and the paths
are also different. We now also use the full path to the import or
static library instead of using -Lfoo -lpython35 etc.
Also obey the value of the 'static' keyword argument.
7 years ago
Nirbheek Chauhan
6f42f83867
dependencies: Fix detection of Python arch on MSYS
...
sysconfig.get_platform() returns 'mingw' with MSYS2, so we need to
use some other method; in this case I chose to use the CC that
Python was compiled with, which is a relatively reliably indicator
unless people start using Python on Windows compiled with Clang or
something.
7 years ago
Nirbheek Chauhan
5a1d294b5e
dependencies: Handle /usr/bin/env shebangs on Haiku
...
/usr/bin/env does not exist on Haiku since there's no /usr. The actual
location is /bin/env. Detect that case and directly use the
interpreter being passed to `env` in the shebang.
Also reorganize the Windows special cases which does the same thing.
7 years ago
Ernestas Kulik
7ae5716f67
Touch up install_dir() documentation
...
It no longer removes the target tree before copying files.
7 years ago
behlec
4217a9ca7e
Check for more errors when executing subprocess. ( #2746 )
7 years ago
Jon Turney
8d795a8403
Fix typo in release note snippet for get_unquoted
...
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
7 years ago
Eric Engestrom
3d63f21b60
Fix `array` type name
...
c9351ce30c
introduced the type as `array`,
so mintro should expose it under the same name.
(while at it, rename test 169 to be coherent)
7 years ago
behlec
5992ab1c72
Improve error handling when failing to execute program. ( #2743 )
7 years ago
Dylan Baker
75bc95bd66
docs: Add haiku to reference table
7 years ago
Dylan Baker
b56450f9b2
tests: Add haiku to get define test
7 years ago
Dylan Baker
fc547ad05e
haiku: do not add pthread arguments
...
Haiku has pthreads, but they are part of the standard C library, and do
not need either special compiler or linker flags.
7 years ago
Jussi Pakkanen
4ae0cadb7f
Renamed UserStringArrayOption to UserArrayOption for short.
7 years ago
Jussi Pakkanen
c2d23dd678
Add C++17 flags to GCC and Clang.
7 years ago
Jussi Pakkanen
de99b9d5b9
Silence git stdout messages.
7 years ago
Xavier Claessens
e2afaf40c0
Fix duplicated test case 168
7 years ago
Jussi Pakkanen
bc83c58d37
Merge pull request #2731 from mesonbuild/disabler
...
Created disabler object type
7 years ago
Jussi Pakkanen
d3dcef7efc
Added documentation for disabler objects.
7 years ago
Jon Turney
87e6201214
Document and improve not-found dependency objects
...
Document dependency('', required:false) usage.
Avoid emitting 'Dependency found: NO'.
7 years ago
Jussi Pakkanen
678daad6cc
Created a new disabler type.
7 years ago
Jussi Pakkanen
6d03111638
Minor fixes.
7 years ago
Joergen Ibsen
521933357d
Fix path for str arguments to depend_files
...
Fixes #2633
7 years ago
Niklas Claesson
9884508535
Boost: Pick correct version
...
If many binary packages are installed, pick the one built with the correct
toolset. Fixes #2532
7 years ago
Jussi Pakkanen
112e6c1927
Merge pull request #2638 from jibsen/use-value-regex
...
Use regex to substitute template strings
7 years ago