Commit Graph

5367 Commits

Author SHA1 Message Date
Sébastien Wilmet 51a1952172 gtkdochelper: print warnings
The GTK-Doc commands output was never printed, except in case of error.
So there was no way to see the warnings.

https://github.com/mesonbuild/meson/issues/2396
2018-04-02 19:49:22 +03:00
Isaiah Norton b515eac75c Add link to `meson` github topic [skip ci]
Lists a number of projects that are not shown here.
2018-04-02 19:48:54 +03:00
Jussi Pakkanen c72b4e1b9c Imported Debian fixes by Matthias Klose. 2018-04-02 14:12:34 +03:00
Jussi Pakkanen 3e23f36a3c Fix detection to work with newer Java compilers. 2018-04-02 12:20:45 +03:00
scontini76 1c1277de7c Update Pkg-config-files.md [skip ci]
typo: seems that configure_files doesn't exists, maybe you mean configure_file here. [skip ci]
2018-03-31 09:50:35 -07:00
Alexis Jeandet 16c4a3b4f8 Added link to documentation and examples for find_library replacement (#3346) 2018-03-31 11:38:09 +03:00
John Ericson 0325d58863 docs: Expand on compiler vs compilee build host and target (#3308) [skip ci] 2018-03-29 22:31:41 +03:00
Jussi Pakkanen 8eadc9d068
Merge pull request #3277 from chitranjali/shared-mod-link 2018-03-29 22:22:51 +03:00
Jussi Pakkanen be3387d937
Merge pull request #3322 from sarum9in/run_timeout 2018-03-29 21:48:09 +03:00
behlec 37d379ebe5 Allow meson build file to exit early. (#2808) 2018-03-29 21:29:45 +03:00
Matthias Klumpp 6146353f45 Don't crash when using d_module_versions for pkg-config 2018-03-29 20:28:33 +03:00
chitranjali cc6be2e43d Fixing flake8 2018-03-29 14:43:56 +05:30
chitranjali 34cb503c85 PR review changes closes #2865 2018-03-29 13:32:36 +05:30
chitranjali 83766313a7 fix2865 2018-03-29 13:26:32 +05:30
Xavier Claessens b4aee4675a pkgconfig: Add a simple version of the generator (#3284) 2018-03-29 01:19:42 +03:00
Aleksey Filippov ddc6f72507 Use consistent quotes 2018-03-28 21:31:04 +00:00
Aleksey Filippov 827d33c8b6 Split SingleTestRunner.run() 2018-03-28 18:57:50 +00:00
Aleksey Filippov 0e8c69b796 Split SingleTestRunner._get_cmd() out of run() 2018-03-28 18:34:02 +00:00
Aleksey Filippov 9596fd6c24 Move run_single_test() into separate class 2018-03-28 18:34:02 +00:00
Aleksey Filippov 3eebb1f83a Make run_single_test() method static
Closes #3318
2018-03-28 18:34:02 +00:00
Aleksey Filippov 9c01fc0e49 Do not access counters from parallel code 2018-03-28 18:34:02 +00:00
Aleksey Filippov 2aa1c3d575 Use enum instead of string constants 2018-03-28 18:33:50 +00:00
Aleksey Filippov 84e3cadc70 Use hermetic parameters in run_single_test(), initialize them before in the caller 2018-03-28 16:44:49 +00:00
Jussi Pakkanen 9b2e533d87 Always build parser objects anew to avoid leaking old data. 2018-03-27 00:39:45 +03:00
Aleksey Filippov 977acc94b8 Do not leave open file handlers, use context manager to clean them up 2018-03-26 23:47:51 +03:00
Aleksey Filippov fa39e1082c Timeout on test subprocesses instead of hanging and failing CI completely 2018-03-26 12:48:40 +00:00
Xavier Claessens 8efd940092 pkgconfig generator: Add required version 2018-03-25 23:20:09 +03:00
Jussi Pakkanen f6f0784038
Merge pull request #2976 from dzabraev/fix-reversed-order
Fix bug include_directories(['p1','p2']) add -Ip2 -Ip1 (reversed order)
2018-03-25 20:26:02 +03:00
Chris Lamb 979eaa804a Make the generated pkgconfig files reproducible.
Whilst working on the Reproducible Builds effort [0], we noticed
that meson creates non-reproducible pkgconfig files as it relies
on Python set ordering.

This was originally filed in Debian as #892515 [1].

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/892515
2018-03-25 18:35:40 +03:00
Víctor Manuel Jáquez Leal 6f7f7c69a2 dependency's wanted version might be a list
A dependency declared in a subproject should be able to behave as
a pkgconfig dependency, thus it should process the wanted version
as a list.
2018-03-25 18:27:13 +03:00
Aleksey Filippov e9a7b0d2a9 Retry downloads in Appveyor 2018-03-25 18:05:36 +03:00
Aleksey Filippov aa3b4d5969 Skip CI for documentation-only pull requests 2018-03-25 17:58:30 +03:00
Thierry Reding c4192a04fd Support data types larger than 128 bytes
Recent versions of systemd (starting with v238) started to check for the
existence of the statx structure using the cc.sizeof() operation. The cc
compiler implementation fails to detect this structure because it's size
limit is 128, meaning it will fail for any type larger than 128 bytes in
the following way during cross-compilation checks:

        meson.build:10:2: ERROR: Cross-compile check overflowed

Increase the size limit for data types to 1024 bytes, which should give
plenty of room for even large data structures. This is obviously not
guaranteed to be an upper bound, but given the binary search algorithm
implemented in the cross-compile check, raising the limit too high may
significantly increase the time required for this check on smaller data
types.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-03-25 17:22:05 +03:00
Sam H 3e48d47674 Squash target_type warning for jar targets 2018-03-24 01:31:48 +02:00
Aleksey Filippov 8b1e9a6f6a Enable b_ndebug on VisualStudioCCompiler 2018-03-23 21:10:04 +02:00
Alistair Thomas 3b9f4098ef docs: In executable() remove statement that all other files are ignored [skip ci]
Currently Meson returns an error that no compiler can be found
for an unknown file extension
2018-03-23 21:09:32 +02:00
Alistair Thomas 47f71d1a41 docs: Update test() to include that a program found with find_program() can be used [skip ci] 2018-03-23 21:09:32 +02:00
Alexis Jeandet e89008b657 Added get_asneeded_args method to Intel compiler.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-03-23 21:08:37 +02:00
John Ericson 1a8bc77f53 docs: fix one 'target' that should be 'host' [skip ci]
The target platform of cross compiler is the host platform of the project being built.
2018-03-23 21:08:11 +02:00
Eric Engestrom 13fa1fb74f docs/FAQ: fix typo [skip ci] 2018-03-23 06:41:17 -07:00
Aleksey Filippov 513051efcf Rename '183 as-needed' common test into '184 as-needed'
Also use !bool instead of bool == false.
2018-03-23 01:43:21 +02:00
Jussi Pakkanen 150351cfdd Document the new and improved review guidelines. [skip ci] 2018-03-22 01:05:25 +02:00
Aleksey Filippov 909c93eee5 Enable CI builds for release branches 2018-03-21 20:18:25 +00:00
Jussi Pakkanen 12bac512f6
Fix b_ndebug=if-release silently not working 2018-03-21 21:26:16 +02:00
Jussi Pakkanen 30827b5644 Do not install configure_file output if install_dir is empty. Closes #3270. 2018-03-21 21:25:47 +02:00
Aleksey Filippov 6910f604ed Disable b_ndebug tests on MSVC 2018-03-21 17:30:21 +00:00
Aleksey Filippov 2febb99eee Fix b_ndebug=if-release option
Provide get_{type}_options_for_target() methods that unite {type} and builtin options.
2018-03-21 17:30:06 +00:00
Aleksey Filippov af0b569ced Add unittests for b_ndebug=if-release and buildtype interactions 2018-03-21 16:42:35 +00:00
Aleksey Filippov 39a3bdb43f Add tests for b_ndebug=if-release and buildtype default options
Co-authored-by: David Seifert <soap@gentoo.org>
2018-03-21 16:40:49 +00:00
nyorain dd614015e0 Open mesontest logfiles in utf-8 mode
Otherwise unit tests fail on windows when they output some
non-utf8 data.
2018-03-20 22:28:59 +02:00