aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-28syntax.md: document version_compare ambiguities [skip ci]Michael Hirsch, Ph.D1-0/+8
2020-06-28syntax.md: correct markdown heading syntax [skip ci]Michael Hirsch, Ph.D1-46/+33
2020-06-26wrap: add user agent when downloading filesEli Schwartz1-1/+3
This lets servers know when they're being used by meson. It also avoids issues where the Independent JPEG Group decided to ban the "Python-urllib" default user agent. Fixes https://github.com/mesonbuild/libjpeg/issues/9
2020-06-25ci: Workaround MSYS2 update breakageNirbheek Chauhan1-1/+7
Also kill all MSYS2 processes after the first update, and constantly print update status.
2020-06-25ci: Bump the cygwin timeout to 120 minutesNirbheek Chauhan1-0/+1
The default timeout is 60 min and we're timing out, but the maximum we can have is 6 hours. Bump it to 120 min for now.
2020-06-24pkgconfig: Add missing cflags in uninstalled filesXavier Claessens4-19/+20
Fixes: #7365
2020-06-24Merge pull request #7370 from alanc/solaris-fixesJussi Pakkanen7-4/+47
Solaris fixes
2020-06-24docs: Add initial docs for the Meson CI [skip ci]Daniel Mensinger2-0/+54
2020-06-24docs: Document string path building with examplesNirbheek Chauhan1-3/+22
Also document that line continuation didn't work before 0.50. 90c9b868b20b11bb089fc5e0c634d5ed76fea0cb fixed it.
2020-06-22SolarisDynamicLinker: add get_asneeded_args() & get_pie_args()Alan Coopersmith1-0/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-06-22Fix "test cases/common/125 object only target" on SolarisAlan Coopersmith1-0/+2
If object is not built pic, trying to link it into libshr.so fails: [6/8] Linking target libshr.so. FAILED: libshr.so gcc -o libshr.so 'shr@sha/source2.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libshr.so -Wl,--end-group Text relocation remains referenced against symbol offset in file .text (section) 0x20 shr@sha/source2.o ld: fatal: relocations remain against allocatable but non-writable sections collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-06-22unittests: Fix 51 ldflagdedup on SolarisAlan Coopersmith1-0/+5
If the linker doesn't support --export-dynamic, skip test to deduplicate it, since it always fails finding 0 copies instead of 1.
2020-06-22unittests: Fix test_identity_cross on SolarisAlan Coopersmith2-4/+16
Since mesonbuild/environment.py doesn't recognize Studio compilers, force use of gcc on Solaris for now. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-06-22test: Fix linuxlike/3 linker script on Solaris 11.4Alan Coopersmith1-0/+6
Solaris linker added support for GNU-style --version-script in Solaris 11.4, but requires adding the -z gnu-version-script-compat flag to enable it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-06-22unittests: Fix test_compiler_detection on SolarisAlan Coopersmith1-0/+2
Accept Solaris linker in addition to GNU linker. Previously using the system provided gcc (which calls the Solaris linker) caused it to fail with: ====================================================================== FAIL: test_compiler_detection (__main__.AllPlatformTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_unittests.py", line 2525, in test_compiler_detection self.assertIsInstance(cc.linker, mesonbuild.linkers.GnuLikeDynamicLinkerMixin) AssertionError: <SolarisDynamicLinker: v9.2.0 `gcc`> is not an instance of <class 'mesonbuild.linkers.GnuLikeDynamicLinkerMixin'> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-06-22symbolextractor: Add support for SolarisAlan Coopersmith1-0/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-06-22arglist: Fix remaining mypy errors and warningsDylan Baker2-6/+5
So we can lint it with mypy
2020-06-22arglist: Split the C/C++ specifics parts into a subclass for CLikeDylan Baker2-78/+71
This means that we don't need work arounds for D-like compilers, as the special c-like hanlding wont be used for D compilers.
2020-06-22compilers: Return CompilerArgs from compiler instanceDylan Baker9-56/+63
Since the CompileArgs class already needs to know about the compiler, and we really need at least per-lanaguage if not per-compiler CompilerArgs classes, let's get the CompilerArgs instance from the compiler using a method.
2020-06-22compilers: Split CompilerArgs into a separate moduleDylan Baker9-384/+416
I've also moved this out of the compilers pacakge because we're soon going to need it in linkers, and that creates some serious spagetti
2020-06-22compilers: Add missing annotations to CompilerArgs classDylan Baker1-16/+14
2020-06-22compilers: Use enum for for deupdlication returns in CompilerArgsDylan Baker1-27/+36
2020-06-21mcompile: Add --verbose modeIgor Raits4-1/+18
Closes: https://github.com/mesonbuild/meson/issues/7352 Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-21wrap: Add patch_directory supportXavier Claessens6-12/+44
Copy a tree instead of extracting an archive. Closes: #7216
2020-06-21compiler: add 'force_align_arg_pointer' function attributeTim-Philipp Müller2-43/+48
2020-06-21Merge pull request #7359 from dcbaker/submit/2020-06/sh4Jussi Pakkanen2-5/+7
Add SuperH SH-4 support
2020-06-21Update Style-guide.md [skip ci]Michael Brockus1-0/+6
2020-06-21Update Creating-releases.md [skip ci]Michael Brockus1-17/+38
2020-06-21update meson init info message. [skip ci]Michael Brockus1-2/+2
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>