aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-03cache all gnulike_default_include_dirs invocationsDaniel Mensinger1-5/+4
2019-10-03Use include_type instead of is_systemDaniel Mensinger11-79/+96
2019-10-03Move generate_system_dependency to DependencyDaniel Mensinger2-3/+6
2019-10-03Use -isystem instead of -idirafterDaniel Mensinger3-6/+34
2019-10-03Also add support for declare_dependency objectsDaniel Mensinger3-1/+13
2019-10-03added test case for is_system dependencyDaniel Mensinger1-0/+20
2019-10-03added docsDaniel Mensinger2-0/+20
2019-10-03Handle -idirafter in unix_args_to_nativeDaniel Mensinger3-2/+21
2019-10-03add is_system kwarg to dependencyDaniel Mensinger2-4/+54
Also adds the is_system and as_system methods to the dependency holder.
2019-10-03use getters for dependency accessDaniel Mensinger1-3/+3
2019-10-02docs: update docs on benchmark in regards to arguments acceptedDylan Baker1-0/+3
2019-10-02interpreter: Combine test and benchmark argsDylan Baker1-3/+4
Adding the test specific args later. This will help prevent bugs where arguments are added to test but not to benchmark even when they apply.
2019-10-02interpreter: Correctly handle arguments to benchmarkDylan Baker1-1/+6
This fixes two separate issues, one is that benchmark warns about depends and priority; The other is that we passed bad values like is_parallel into the test and would actually run benchmarks in parallel, which is bad.
2019-10-02dependencies: account for frameworks without a Versions directoryMatthew Waters1-0/+3
Most apple system frameworks do not have a Versions directory in them at all. Fixes the following traceback: ... File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/interpreter.py", line 3063, in func_dependency d = self.dependency_impl(name, display_name, kwargs) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/interpreter.py", line 3110, in dependency_impl dep = dependencies.find_external_dependency(name, self.environment, kwargs) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2142, in find_external_dependency d = c() File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2004, in __init__ self.detect(name, paths) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2035, in detect incdir = self._get_framework_include_path(framework_path) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2065, in _get_framework_include_path self._get_framework_latest_version(path)) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2057, in _get_framework_latest_version return 'Versions/{}/Headers'.format(sorted(versions)[-1]._s) IndexError: list index out of range
2019-10-01Merge pull request #5873 from mesonbuild/py2optionalJussi Pakkanen3-7/+16
Make Python 2 tests optional(er) to prepare for py2 purge in Debian.
2019-10-01Add clang-tidy target. Closes #2383.Jussi Pakkanen7-1/+77
2019-10-01Refactor clang tool generation to its own function.Jussi Pakkanen1-8/+12
2019-10-01azure: Install python[23]-devel packages on CygwinJon Turney1-4/+5
Install python[23]-devel packages on Cygwin, so that python tests which require that can run. (Only the default version of python (currently 3.6) provides the /usr/lib/pkgconfig/python3.pc file we are looking for so also update to that version)
2019-10-01Make Python 2 tests optional(er) to prepare for py2 purge in Debian.Jussi Pakkanen2-3/+11
2019-10-01cmake: Add support for normal librariesXavier Claessens1-1/+3
Without this, set_target_properties() on those libraries won't be catched, for example when setting the SOVERSION.
2019-10-01cmake: Fix 'properies' typoXavier Claessens3-41/+41
2019-10-01cmake: COMMAND could have ';' separated argumentsXavier Claessens1-1/+1
2019-10-01cmake: postprocess libraries names with so versionXavier Claessens1-2/+7
2019-10-01Remove unused 'required' argumentXavier Claessens1-5/+5
2019-10-01cmake: Generate declare_dependency() only for librariesXavier Claessens1-9/+9
2019-10-01cmake: subproject() supports the 'required' kwargXavier Claessens1-1/+1
2019-10-01cmake: Write AST into build dirXavier Claessens1-5/+6
It easier to read it from a file than looking into logs. Users needs to read it to find variable names of generated dependency objects.
2019-10-01Fix test_static_link() on MacOSXXavier Claessens1-6/+9
test3-static was actually always using the shared library because that warning was not fatal: WARNING: Static library 'func6' not found for dependency 'func6', may not be statically linked The reason why the libfunc6.a wasn't found is because the prefix in the generated pc file was not set to install dir.
2019-10-01doc: Add release snippet for the rework of static librariesXavier Claessens1-0/+34
2019-10-01Recursively include all objects from uninstalled static librariesXavier Claessens7-1/+44
2019-10-01Do not promote to link_whole when an internal library links to anotherXavier Claessens5-1/+33
2019-10-01pkgconfig: Include dependencies of uninstalled static librariesXavier Claessens7-17/+56
2019-10-01pkgconfig: Do not include uninstalled static librariesXavier Claessens8-7/+53
2019-10-01Fix link_with of a static library with an uninstalled static libraryXavier Claessens6-0/+35
2019-10-01Fix link_whole of static librariesXavier Claessens7-1/+60
2019-09-30Add depfile to configure_file()Marc-André Lureau8-0/+174
In qemu, minikconf generates a depfile that meson could use to automatically reconfigure on dependency change. Note: someone clever can perhaps find a way to express this with a ninja rule & depfile=. I didn't manage, so I wrote a simple depfile parser.
2019-09-30Deduplicate PKG_CONFIG_PATH entries when initializing the array option ↔Olexa Bilaniuk1-1/+7
pkg_config_path. This avoids a warning about duplicate entries in an array option, and closes #5736.
2019-09-30Correct obviously-wrong test for gold linker.Olexa Bilaniuk1-1/+1
2019-09-30Merge pull request #5939 from ↔Jussi Pakkanen4-39/+58
lantw44/move-the-list-of-llvm-versions-to-a-common-place Move the list of LLVM versions to a common place
2019-09-29Add support for `depth` option in wrap-gitChristoph Weiss3-7/+27
This allows cloning subprojects shallowly. It works recursively for a subproject's submodules in case `clone-recursive` is set to `true`.
2019-09-29environment: Support taking values from dictMarc-André Lureau6-18/+78
Related to #5955.
2019-09-29ConfigurationDataHolder: pass initial_values to ctorMarc-André Lureau1-9/+8
2019-09-29configure_file: add feature version checks for taking dictMarc-André Lureau1-0/+2
Since commit 38a658214 ("configure_file: Support taking values from a dict" #4236), configuration_data() and configure_file()'s configuration kwarg can take a dict. Add missing version checks.
2019-09-29Add CppCon 2019 talk to videos page. [skip ci]Jussi Pakkanen1-0/+3
2019-09-29Moved changes from preliminary relnote page to snippets. [skip ci]Jussi Pakkanen3-10/+9
2019-09-29environment: LLVM 9 is now a stable releaseTing-Wei Lan1-1/+2
2019-09-29Find clang-format with alternative namesTing-Wei Lan3-6/+28
This is similar to what we currently do for scan-build except there is no environment variable to choose a specific clang-format to run. If an environment variable is needed for better control, we can add it later.
2019-09-29Move the list of LLVM version suffixes to a common placeTing-Wei Lan2-33/+29
Both scan-build and llvm-config need the same list of LLVM version suffixes. It is better to keep the list at a common place instead of having several copies in different files, which is likely to become out-of-sync when the list is updated.
2019-09-28mtest: Don't require an exe wrapper for if the cross file says we don't need oneDylan Baker1-1/+1
Fixes #5970
2019-09-28backends: Add needs_exe_wrapper to test serializationDylan Baker1-2/+4
We need to know if the test actually needs an exe wrapper to run or not.