aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
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