Nirbheek Chauhan
306cac70a6
tests/common/159: Disable b_coverage=true
...
Setting it seems to cause it to be set on all later tests, which causes
a lot of failures:
https://travis-ci.org/mesonbuild/meson/jobs/264468097
https://travis-ci.org/mesonbuild/meson/jobs/264468093
7 years ago
Nirbheek Chauhan
5764a26a4c
gfortran: Add coverage arguments
7 years ago
Nirbheek Chauhan
7d36776307
ninja: Fix detection of vs compiler usage
...
Just because cl.exe exists in PATH doesn't mean we are using it right
now. Instead, check the list of compilers that were configured.
7 years ago
Nirbheek Chauhan
be4428005d
ninja: Fix cleaning in various edge cases
...
We need to use target aliases for reserved target names and run
targets to workaround a ninja bug:
https://github.com/ninja-build/ninja/issues/828
Closes https://github.com/mesonbuild/meson/issues/1644
7 years ago
Jussi Pakkanen
4a766147fb
Printing unknown kwarg error message no longer crashes the parser.
7 years ago
Nirbheek Chauhan
0c518a8077
Add a test for dirs with reserved target names
...
And for dirs with the same name as run_target()s
Reproduces https://github.com/mesonbuild/meson/issues/1644
7 years ago
Nirbheek Chauhan
cae5caa7f1
run_unittests: Add a helper for asserting path existence
...
It is useful to have a message displayed if the assert is fired.
7 years ago
Marinus Schraal
c8e61f112d
gnome: use VAPIGEN from the environment if set
...
Allow setting the vapigen binary by passing it as an environment
variable.
7 years ago
Tim-Philipp Müller
4e476c82f3
gnome: add mkenums_simple()
...
99% of all mkenums uses in C libraries use the same basic template,
so add a mkenums_simple() function that takes care of everything for
us based on that template.
Features:
- optional function declaration decorator such as GLIB_AVAILABLE
- optional extra header prefix (e.g. for include needed for decorator)
- optional extra body prefix (e.g. for additional includes)
- optional function name prefix (e.g. to add leading underscores)
Fixes issue #1384
7 years ago
Jussi Pakkanen
c69a4aee1e
Store current line number so it can be printed in warning messages. Closes #2181 .
7 years ago
Jussi Pakkanen
5c8328d27f
Use "meson test" in test invocations so it will not print the deprecation warning.
7 years ago
Jussi Pakkanen
55165ba504
Added documentation for pcap dependency.
7 years ago
Jussi Pakkanen
8c8e9230a5
Merge pull request #2130 from bruce-richardson/pcap_config_support
...
add support for pcap dependencies
7 years ago
Gabríel Arthúr Pétursson
0ad448f890
Pass -fpch-preprocess to GCC when precompiled headers are used
...
CCache requires this flag when building with precompiled headers.
Without it, the preprocessor fails and CCache fallbacks to running the
real compiler.
Users still need to set 'sloppiness' to 'pch_defines,time_macros' in
their ccache.conf file for CCache to cache builds that use precompiled
headers. See the CCache manual for more info:
https://ccache.samba.org/manual.html#_precompiled_headers
7 years ago
Nirbheek Chauhan
556966003e
gnome: Allow passing build_by_default: to some functions
...
Closes https://github.com/mesonbuild/meson/issues/2174
7 years ago
Tim-Philipp Müller
60b83a5f0a
gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc()
7 years ago
Nirbheek Chauhan
192d0dd0a7
unit tests: Select test cases inside run_unittests.py
...
This allows people to directly run ./run_unittests.py without having
to worry about selecting the right test cases for the platform they
are on.
7 years ago
Nirbheek Chauhan
7aed29e2c3
gnome: Fix parsing of resource custom target files
...
gnome.compile_resources() was not parsing custom target sources
properly. It was using the custom target name as the output of the
custom target instead of looking at the list of outputs.
Also modify the GNOME framework test to expose this.
7 years ago
Florian Müllner
691ad706ad
gnome: Only translate -l flags to --extra-library
...
Other linker arguments may contain '-l' as well, for instance
'-L/usr/lib/x86_64-linux-gnu/foo' with Debian-style multiarch.
7 years ago
Stefan Sonski
462813f8f1
Exclude system sources from test coverage
...
Exclude /usr/src/ from code coverage, this is included for e.g. gtest/gmock.
7 years ago
Nirbheek Chauhan
ca4778a500
Update wrap-mode FAQ
7 years ago
Bruce Richardson
0a6f848aa3
add unit test case for pcap dependency object
7 years ago
Bruce Richardson
c89b8c5c4b
add support for pcap dependencies
...
Libpcap has its own pcap-config tool rather than using pkg-config. Add
support for pcap-config, based on the existing implementation of
sdl2-config that is there already.
7 years ago
YmrDtnJu
0929812eb5
Do not ignore stderr on gcc type check in get_gnu_compiler_defines.
...
As stderr may contain information the user can use to solve the problem with
the gcc installation, it should not be ignore but added to the error message.
7 years ago
Paulo Antonio Alvarez
bc30ad6dba
environment: Read VALAC from the environment and use it if set
...
The valac binary was hard coded in meson. We now check if VALAC is
defined in the environment, and if it is, use its value as the vala
compiler, if not, we proceed with the hard coded binary name.
7 years ago
Nirbheek Chauhan
b663937f8c
Clarify what an "external dependency" is
...
And add a link to the Dependencies.md page.
7 years ago
Jussi Pakkanen
e44926e2b2
Renamed test dir to remove duplicatec number. Closes #2158 .
7 years ago
Jussi Pakkanen
d94e06db21
Merged singleexe branch.
7 years ago
Jussi Pakkanen
06f195e9ec
Merged exclude_dir branch.
7 years ago
Jussi Pakkanen
a19f906258
Merge branch 'QuLogic-mpi'
7 years ago
Jussi Pakkanen
b5d829e5ac
Print system information to aid in debugging remote machines.
7 years ago
Elliott Sales de Andrade
5cb1d00537
Allow excluding files from `install_subdir`
...
The install_subdir command now accepts a new `exclude` keyword argument
that allows specified files to be excluded from the installed
subdirectory.
7 years ago
Elliott Sales de Andrade
d9f01ffcea
Disallow language keyword for unsupported deps.
...
Also, document it in the manual.
7 years ago
Jussi Pakkanen
e765091c2e
Updated release notes.
7 years ago
Elliott Sales de Andrade
edb260b4f4
Move MPI tests into frameworks.
...
This prevents them being cross-compiled (which wouldn't work without MPI
cross-compilers) and disables Windows builds (will need to be fixed
later.)
7 years ago
Elliott Sales de Andrade
4cbfb9a08d
Add support for MS-MPI.
7 years ago
Elliott Sales de Andrade
271601124e
Filter out extra args from MPI wrappers.
7 years ago
Elliott Sales de Andrade
17b051c8b1
Add info on module include flag for Fortran compilers.
7 years ago
Elliott Sales de Andrade
4c9611c2d6
Add documentation for new MPI dependency.
7 years ago
Elliott Sales de Andrade
5a7e06a64f
Add MPI dependency.
...
We prefer pkg-config files, though only OpenMPI supplies them.
Otherwise, check environment variables and search for wrappers and ask
them for what to do.
7 years ago
Jussi Pakkanen
58bd1e83b4
Renamed test dir to avoid duplicate numbers.
7 years ago
Jussi Pakkanen
61a05f26e3
Add option to disable implicit include directories. Closes #2139 .
7 years ago
Jussi Pakkanen
a800c96f99
Add option to limit maximum number of concurrent link processes.
7 years ago
Jussi Pakkanen
d82c7e3c23
Update man pages.
7 years ago
Jussi Pakkanen
e95ba1ada5
Merge pull request #2113 from nyorain/vulkan
...
Vulkan dependency module
7 years ago
Jussi Pakkanen
bc5982142f
Added pcap dep to CI image.
7 years ago
nyorain
12a5a50058
Add vulkan dependency to release notes
7 years ago
nyorain
0a9170bbbe
Fix #1993
7 years ago
Jussi Pakkanen
cad6bf32f1
Can pass all target kwargs through to SIMD invocations. Closes #2151 .
7 years ago
Jussi Pakkanen
d335a84b9e
A few more lgtm fixes.
7 years ago