aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-19envconfig: Add support SuperH SH-4Dylan Baker2-2/+4
Fixes: #7358
2020-06-19docs: Alphabetically sort the cpu_family reference tableDylan Baker1-3/+3
It's close, but not quite. This should make it easier to read
2020-06-19Update Users.md [skip ci]Cyril Richard1-0/+1
Update Users.md with the add of Siril (www.siril.org) that is migrating from autotools to meson.
2020-06-18Merge pull request #7196 from cconverse711/llvm-covJussi Pakkanen12-40/+154
coverage: llvm-cov support
2020-06-18docs: replaced `ninja` with appropriate `meson` commands [skip ci]TheQwertiest23-85/+113
2020-06-18mconf: Fix regression when printing all optionsXavier Claessens1-8/+8
This is a regression introduced by #5489
2020-06-17disable coverage tests on msys2Cary Converse1-0/+8
2020-06-17add missing gcovr dependencies for msys2 ciCary Converse1-0/+1
2020-06-17add missing gcovr dependencies for cygwin ciCary Converse1-0/+5
2020-06-17coverage: llvm-cov supportCary Converse12-40/+140
2020-06-17ci: Remove PostgreSQL from PATHNirbheek Chauhan4-15/+2
It's one of the causes of the cmake test failures, and it's also plaguing the VS2019 jobs now because of the image update.
2020-06-17update Project-templates.mdMichael1-2/+21
2020-06-16interpreter: Allow dependecy or subproject name in force_fallback_forXavier Claessens1-3/+6
2020-06-16doc: Fix missing --force-fallback-for documentationXavier Claessens1-0/+8
2020-06-16interpreter: Avoid new feature warning when using old has_exe_wrapper()Xavier Claessens1-1/+4
2020-06-16interpreter: add support for --force-fallback-forMathieu Duponchelle6-2/+43
This new command line option allows specifying dependencies for which to force fallback. See the documentation for more information Fixes: #7218
2020-06-16Update mesonbuild/modules/gnome.pyXavier Claessens1-1/+1
Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
2020-06-16Update mesonbuild/modules/gnome.pyXavier Claessens1-1/+1
Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
2020-06-16gnome: Add fatal_warnings kwarg to generate_gir()Xavier Claessens3-2/+17
Fixes: #7130
2020-06-15macros.meson: Switch to meson compile / installIgor Raits1-3/+9
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-15macros.meson: Switch to %{_smp_build_ncpus}Igor Raits1-9/+3
It is available since RPM 4.15 which has been around 1 year by now. Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-15pep8: add missing import, remove unused variableMichael Hirsch2-26/+27
2020-06-15run_*tests*.py: print Meson version at start of test suiteMichael Hirsch5-7/+14
on some systems, tests may take over an hour to run--only to find you might have used an unintended Meson version (e.g. release instead of dev). This change prints the Meson version at the start of the run_*tests*.py scripts. Also, raise SystemExit(main()) is preferred in general over sys.exit(main())
2020-06-15Documentation, FAQ.md, generated_headers [skip ci]laolux1-1/+1
2020-06-15environment: fallback regex for versions like 2020.01Michael Hirsch2-6/+18
add four-digit version unit_test cases
2020-06-15test:fortran7: default static so Intel/VS-based compilers passMichael Hirsch1-3/+3
we did the same thing earlier with other Fortran tests for the same reason.
2020-06-15Add exception handling to be also written to the VS project xmlVili Väinölä1-0/+12
When changing meson option cpp_eh, it was passed to cl with AdditionalOptions and resulted in unsuppressable warning "cl : command line warning D9025: overriding '/EHs' with '/EHa'"
2020-06-15Added docs for all meson commands + corresponding unit test (#7217)TheQwertiest3-0/+718
2020-06-15ci: Use test.json to skip VS2017 azure testsDaniel Mensinger5-19/+17
See also #7307 #7314 #7316 cc @nirbheek
2020-06-14windows: Canonicalize `:` in filenamesNirbheek Chauhan3-2/+10
Fixes https://github.com/mesonbuild/meson/issues/7265
2020-06-14fortran generated test: add code to reveal issueMichael Hirsch5-10/+22
used with Issue #7265
2020-06-14Use cmake args also when calling get_cmake_infoVili Väinölä1-4/+4
- vcpkg libraries are not found when given cmake_toolchain_file and vcpkg_target_triplet as cmake_args when looking for the dependency if the first call to cmake has different arguments. The libraries are found if the first call has same arguments or if the CMakeCache.txt is deleted in call_with_fake_build.
2020-06-14Disable failing cmake jobs on VS2017Nirbheek Chauhan3-0/+16
These only fail when building with msvc/clang-cl on the VS2017-Win2016 image. See: https://github.com/mesonbuild/meson/issues/7307
2020-06-13cmake: fix definitions with interface libraries (fixes #7299)Daniel Mensinger7-7/+28
2020-06-13Tweak gnome.gtkdoc() documentation for clarity and grammarJon Turney1-2/+2
2020-06-13Also adjust PATH in gtkdochelper for CygwinJon Turney1-3/+5
Also do Windows loader specific PATH adjustment (to emulate rpath) in gtkdochelper for Cygwin.
2020-06-13Include the dep itself in extra_paths for WindowsJon Turney1-0/+1
This is needed in the case where a custom_target directly depends on a shared library, and somehow loads it. (Specifically this can be the case with gtkdoc, when it invokes gtkdoc-scangobj, which will build and run it's own code to load a shared library, to introspect it)
2020-06-13Handle multiple substitutions in eval_custom_target_command()Jon Turney1-29/+30
Handle command arguments which contain multiple substitutions correctly in Backend.eval_custom_target_command() In particular, gnome.gtkdoc() makes arguments of the form '--cflags -I@SOURCE_ROOT@ -I@BUILD_ROOT' (where these arguments are then passed down to a compiler invocation) Normally, these are subsequently made right by NinjaBackend.replace_paths(), but if Backend.as_meson_exe_cmdline() decides that the command needs to be pickled, that doesn't happen. (Although having two places where this substitution might happen smells really bad)
2020-06-13azure: Run gtkdoc tests for CygwinJon Turney1-0/+1
2020-06-13ci: Pin ninja to 1.9.0.post1 for nowNirbheek Chauhan1-1/+5
See: https://github.com/mesonbuild/meson/pull/7306#issuecomment-643606736
2020-06-13tests: reset CMakeDependency.class_cmakeinfoDaniel Mensinger1-0/+3
2020-06-13cmake: Fix handling of path seperators (fixes #7294)Daniel Mensinger6-5/+30
2020-06-13mdist: Filter out buildtype to avoid warningNirbheek Chauhan1-1/+1
Since we parse buildoptions.json to pass options, we end up passing -Dbuildtype and also -Doptimization and -Ddebug which triggers the warning: WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug [...] Filter out buildtype. It is redundant.
2020-06-12dependencies: Add a couple of type annotationsDylan Baker1-2/+3
2020-06-12dependencies: Don't allow using the default binary for host on cross compilesDylan Baker2-5/+5
Otherwise we can end up finding dependencies from the build machine for the host machine, which is incorrect. This alters cmake, pkg-config, and all config-tool based dependencies. Fixes: #7276
2020-06-12dependencies: Don't try to find a binary by "default_path" when cross compilingDylan Baker1-4/+7
2020-06-12cmake: Use shared find_external_program instead of open codingDylan Baker1-22/+5
2020-06-12dependencies: Split search_tool out of ExternalDependencyDylan Baker2-24/+29
it really doesn't make sense to put this in the ExternalDependency class. It doesn't rely on any of the state of that class, and it's generically useful inside meson.
2020-06-12mintro: typings again x2TheQwertiest1-1/+1
Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
2020-06-12mintro: more typing shenanigansTheQwertiest1-1/+1