summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed tests and benchmarksDaniel Mensinger2019-01-063-6/+12
|
* Initial automatic target file generationDaniel Mensinger2019-01-063-21/+57
|
* Added option to force use the new formatDaniel Mensinger2019-01-061-2/+4
|
* mintro: Added option to introspect multiple parameters at onceDaniel Mensinger2019-01-062-27/+56
|
* Updated format to include sourcesDaniel Mensinger2019-01-061-13/+53
|
* Fixed hardcode is_cross = Falsemensinda2019-01-061-6/+5
|
* Added release snippetDaniel Mensinger2019-01-061-0/+7
|
* Added include_directories and extra_args keys to target introspectionDaniel Mensinger2019-01-061-1/+78
|
* parser: Fix line continuation outside of (), [] or {}Xavier Claessens2019-01-052-1/+22
| | | | | | | | The documentation states: "In other cases you can get multi-line statements by ending the line with a \." but that seems to never have worked. Closes: #4720
* pkgconfig: Fix flag deduplicationXavier Claessens2019-01-053-27/+30
| | | | | This is a regression introduced by 2cbf7caf5, generated pkg-config files have many duplicated '-pthread' flags.
* Merge pull request #4445 from Ericson2314/no-cross_infoJussi Pakkanen2019-01-0515-348/+335
|\ | | | | Parsing of cross file upfront, and store in cross-agnostic data structures
| * Get rid of `ConfigData`John Ericson2019-01-022-40/+7
| |
| * Simplify config file checking code, inlining `_ok_type`John Ericson2019-01-021-13/+6
| |
| * Remove cross_info; cross file is parsed up front and discardedJohn Ericson2019-01-0214-287/+333
| |
| * Get rid of `need_cross_compiler`John Ericson2019-01-024-23/+4
| | | | | | | | | | | | | | | | | | | | Building a cross compiler (`build == host != target`) is not cross compiling. As such, it doesn't make sense to handle it under `is_cross_build`. (N.B. Building a standard library for a cross compiler would require cross compiling, but Meson has support to do such a thing as part of a compiler build currently.)
* | rpm: remove manual printing of error logs on failureZbigniew Jędrzejewski-Szmek2019-01-041-6/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This effectively reverts 92219a2739ea69fa617cca74517b68ed5e1bcb7d. Back in the day, meson test would not print the logs on failure. But it now does that automatically, for the failed test. Printing all logs is annoying because it results in exteremely long output in some packages. Example output: + /usr/bin/ninja test -v -j4 -C x86_64-redhat-linux-gnu ninja: Entering directory `x86_64-redhat-linux-gnu' [0/1] /usr/bin/meson test --no-rebuild --print-errorlogs 1/16 test-script.sh OK 46.23 s ... 14/16 test-casync FAIL 1.17 s (exit status 1) 15/16 test-cautil OK 0.00 s 16/16 test-util OK 0.01 s Ok: 15 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 The output from the failed tests: 14/16 test-casync FAIL 1.17 s (exit status 1) --- command --- /home/zbyszek/fedora/casync/casync-2/x86_64-redhat-linux-gnu/test-casync --- stdout --- error -------
* Can use plain strings for include_directories.Jussi Pakkanen2019-01-025-4/+40
|
* Handle strings in cross file args. Closes #4671.Jussi Pakkanen2019-01-023-12/+6
|
* Avoid exception looking for python on windows if the launcher (py.exe) is ↵guruDanny672019-01-021-0/+4
| | | | not installed
* vs: respect 'b_pch' optionNicolas Schneider2019-01-026-14/+38
| | | | Fixes #4681.
* print 'Nothing to install.' if nothing was installedNicolas Schneider2019-01-011-0/+10
| | | | Fixes #882.
* fail configuration if PCH files do not existNicolas Schneider2019-01-013-0/+9
| | | | | | Previously, the configuration worked fine, but the compiler raised an error. Now, we explicitly check for the existence of files and print a useful error message if they do not exist.
* Merge pull request #4564 from mensinda/introBuildOptsJussi Pakkanen2019-01-0117-121/+383
|\ | | | | mintro: Introspect --buildoptions without a build directory
| * Updated doc [skip ci]Daniel Mensinger2019-01-011-1/+3
| |
| * Tests and docsDaniel Mensinger2018-12-2911-1/+66
| |
| * Do not require build dir for introspectionDaniel Mensinger2018-12-291-4/+160
| |
| * Disable mlog and don't require build directory for environmentDaniel Mensinger2018-12-292-18/+37
| |
| * Introspection refactoringDaniel Mensinger2018-12-294-98/+118
| |
* | compile pch .h file as c++-header when building a c++ targetNicolas Schneider2019-01-011-0/+4
| | | | | | | | Fixes #3641.
* | docs: Note --warnlevel instead of --warning_levelTingPing2018-12-311-0/+2
| |
* | docs: Change warnlevel option to warning_levelTingPing2018-12-311-1/+1
|/
* Better error message for rpath test.Jussi Pakkanen2018-12-301-1/+1
|
* Default libdir is "lib" when cross compiling. Closes #2535.Jussi Pakkanen2018-12-303-0/+28
|
* Print warning if using "default_options" without a "fallback".Jussi Pakkanen2018-12-301-0/+2
|
* Add a clang-format target.Jussi Pakkanen2018-12-308-2/+143
|
* Merge pull request #4672 from xclaesse/find-library-headersJussi Pakkanen2018-12-295-39/+120
|\ | | | | find_library: Add 'has_headers' kwarg
| * find_library: Add 'has_headers' kwargXavier Claessens2018-12-275-34/+86
| | | | | | | | | | A library without its headers is often useless, so it is common to check them together.
| * Add 'required' kwarg in header check functionsXavier Claessens2018-12-242-8/+37
| | | | | | | | Closes: #3940
* | Merge pull request #4451 from jon-turney/simplify-x86-msvc-testJussi Pakkanen2018-12-293-49/+39
|\ \ | | | | | | Simplify x86 msvc test
| * | Try to handle ARM64 in detect_windows_arch()Jon Turney2018-12-061-2/+2
| | | | | | | | | | | | | | | Putative changes to handle Windows on ARM64, which can also run x86 code under WOW64
| * | Simplify test for x86 targeted MSVC cross-compilerJon Turney2018-12-061-30/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't just do compiler.has_builtin_define('_M_IX86'), because the VisualStudioCCompiler class doesn't implement has_builtin_define(), and getting the compiler to disgorge it's builtin defines isn't easy... But we can now use the target we stored when we identifed the compiler. Also update comment appropriately
| * | Store the target architecture for CL-like compilersJon Turney2018-12-063-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the MSVC compiler target architecture ('x86', 'x64' or 'ARM' (this is ARM64, I believe)), rather than just if it's x64 or not. The regex used for target architecture should be ok, based on this list of [1] version outputs, but we assume x86 if no match, for safety's sake. [1] https://stackoverflow.com/a/1233332/1951600 Also detect arch even if cl outputs version to stdout. Ditto for clang-cl Future work: is_64 is now only used in get_instruction_set_args()
* | | release notes: document how to pass native files [skip ci]Nirbheek Chauhan2018-12-271-2/+3
| |/ |/|
* | Can specify a string to print when dep not found. Closes #2407.Jussi Pakkanen2018-12-224-2/+62
| |
* | Reformat long lines.Jussi Pakkanen2018-12-221-4/+48
| |
* | docs: Fix href in Pkgconfig module [skip ci]lzutao2018-12-221-2/+2
| |
* | Merge pull request #4573 from jon-turney/msys2-clangJussi Pakkanen2018-12-219-19/+47
|\ \ | | | | | | More clang for Windows support
| * | azure: Add msys2 clang to test matrixJon Turney2018-12-091-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | The clang package depends on the gcc package, so we need to explicitly select the compiler (as the priority order built into meson will prefer gcc to clang) v2: ensure $(MSYS2-ARCH)-pkg-config is installed
| * | Skip test_config_tool_dep on MSYS2Jon Turney2018-12-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | llvm-config --libfiles --link-shared wants to link to a bunch of shared libraries which don't exist, so we end up at dev.py:308, but the guess that makes ('libLLVM*.dll') doesn't take into account the existence of implibs (which is fixable), but even if it did 'libLLVM-7.0.dll.a' doesn't seem to exist... so not sure how to fix this...) Also some steps towards making that work: Adjust helper_create_binary_wrapper for MSYS2. The .bat wrapper should run msys2 python, not try to invoke the 'py' python launcher (which may not be present) Suppress echoing of the command in helper_create_binary_wrapper (otherwise the echoed command can interfere in interpreting the output of the wrapped command, which seems to be the case when it's llvm-config)
| * | Skip LTO test with Windows clangJon Turney2018-12-091-0/+5
| | | | | | | | | | | | This doesn't seem to be working in clang, at the moment.