aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-08docs: fix minor typos in Machine-files.mdAndrea Pappacoda1-4/+4
2021-07-07interpreter: remove stringArgs usesDylan Baker1-2/+1
It's only used now on a files that always raises an exception anyway, might as well just not do any checking and reduces the uses of that function
2021-07-07interpreter: use typed_pos_args for filesDylan Baker1-17/+11
2021-07-07interpreter: use typed_pos_args for add_langaugesDylan Baker1-6/+7
2021-07-07interpreter: use typed_pos_args for projectDylan Baker1-5/+3
2021-07-07interpreter: use typed_pos_args for subdirDylan Baker1-2/+2
2021-07-07interpreter: use typed_pos_args for assertDylan Baker1-12/+6
2021-07-07interpreter: use typed_pos_args for subprojectDylan Baker1-4/+2
2021-07-07interpreter: use typed_pos_args for get_optionDylan Baker1-4/+3
2021-07-07interpreter: use typed_pos_args configuration_dataDylan Baker1-6/+3
2021-07-07interpreter: use typed_pos_args for alias_targetDylan Baker1-10/+4
2021-07-07interpreter: use typed_kwargs for include_directoriesDylan Baker2-3/+8
2021-07-07interpreter: use typed_pos_args for include_directoriesDylan Baker1-3/+4
2021-07-07interpreter: use typed_pos_args for add_test_setupDylan Baker1-4/+2
2021-07-07interpreter: use typed_pos_args for join_pathsDylan Baker1-3/+3
2021-07-07interpreter: use typed_pos_args for set_variableDylan Baker1-3/+2
2021-07-07interpreter: use typed_pos_args for get_variableDylan Baker1-12/+9
2021-07-07interpreter: use typed_pos_args for is_variableDylan Baker1-6/+3
2021-07-07interpreter: use typed_pos_args for is_disablerDylan Baker1-5/+4
2021-07-07Use None as Environment object build_dir in detect_system_compiler()Jon Turney1-24/+23
The Environment object constructor accepts None as build_dir (for quite a while now), so don't bother with creating a temporary directory for use as the build_dir, if we're not going to need it. Future work: Environment.__init__() sets scratch_dir to '' if build_dir is None, which seems a little wonky, as it isn't a path.
2021-07-07Annotate framework tests with where they are expected to skipJon Turney14-68/+29
Remove hard-coded framework test skip logic in skippable(), instead annotate test.json with environments in which skip is expected. (Mainly this is done with by testing the value of MESON_CI_JOBNAME now set for linux jobs)
2021-07-07Skip LLVM test if required modules aren't foundJon Turney1-3/+6
If the required LLVM modules can't be found, skip the LLVM framework test, rather than succesfully doing nothing. (This optionality is a leftover from before #7379) (At the moment, OpenSuse provides dynamic-only LLVM. The cmake method still finds LLVM, when a static LLVM is requested, but fails to find any modules. This might be a bug in the cmake method of the LLVM dependency.)
2021-07-07Allow `skip_*` test.json keys at top-level or in `matrix:`Jon Turney3-37/+69
2021-07-07Add `skip_on_os` to test.jsonJon Turney3-0/+25
2021-07-07Add `skip_on_jobname` to test.jsonJon Turney3-4/+71
Plan to replace the hard-coded list of 'may be skipped' framework tests in skippable() with annotations in test.json which record 'will be skipped in these specific CI jobs'. If the value of the MESON_CI_JOBNAME env var (an arbitrary string expected to be unique for each CI configuration) contains any of the strings in the `skip_on_jobname` key in test.json, the test is expected to output MESON_SKIP_TEST. Unexpected skips or runs are treated as an error. Future work: Maybe we should add additional count categories 'unexpected skip' and 'unexpected not skipped', rather than counting those as 'skipped' and 'failed', respectively.
2021-07-07Drop checking skippable() in run_single_testJon Turney1-2/+2
Drop checking skippable() in run_single_test. It always returns True unless we are under CI, so checking it here is pointless.
2021-07-07Drop non-framework test names from skippable()Jon Turney1-12/+0
In all these cases, the test has already been determined as skippable because it's not part of the 'frameworks' suite.
2021-07-07cleanup self.options.wdPaolo Bonzini3-6/+2
It is never None and always an absolute path
2021-07-07resolve symlinks passed to -CPaolo Bonzini6-9/+25
"meson setup" is resolving symlinks for the build directory in validate_core_dirs. For consistency with it, do the same when the build directory is passed via -C to devenv, dist, init, install and test. This ensures for example that the path to test dependencies is computed correctly in "meson test". Fixes: #8765
2021-07-07windows: Support wrc resource compilerConnor Abbott2-1/+13
It has a similar interface to windres, but it produces ELF instead of COFF binaries. It uses its own preprocessor which doesn't support creating depfiles, but we can convince it to use the system preprocessor instead and pass those arguments using the --preprocessor option. Together with some hacks to override the shared library/executable suffix and some wine patches [1] this is enough to compile dxvk when ripping out the hand-rolled rc support. [1] https://www.winehq.org/pipermail/wine-devel/2021-July/190100.html https://www.winehq.org/pipermail/wine-devel/2021-July/190098.html https://www.winehq.org/pipermail/wine-devel/2021-July/190099.html https://www.winehq.org/pipermail/wine-devel/2021-July/190101.html
2021-07-06Fix unsupported linker error messageAndrea Pappacoda1-1/+1
An `f` was dropped in bd6f46e723813dfadaba1f7c87d3b0b751d05219
2021-07-05Bump version number for rc1.0.59.0.rc1Jussi Pakkanen2-2/+2
2021-07-05cmake: Improved error message for using dependency for executablesDaniel Mensinger5-0/+26
fixes #8893
2021-07-05condense linesEli Schwartz8-32/+16
2021-07-05simplify mesonlib imports for the sake of line lengthsEli Schwartz2-18/+19
2021-07-05more f-strings too complex to be caught by pyupgradeEli Schwartz20-92/+81
2021-07-05fix typo in log messageEli Schwartz1-1/+1
2021-07-05pyupgradeEli Schwartz2-2/+2
2021-07-05use modern set syntaxEli Schwartz1-1/+1
In one place, we reintroduced old set syntax after having initially cleaned it up everywhere via commit 4340bf34faca7eed8076ba4c388fbe15355f2183
2021-07-04dependencies: Deterministic LLVM compile and link arg ordering (#8959)kira781-2/+2
* dependencies: Deterministic LLVM compile and link arg ordering In LLVMDependencyConfigTool, the members compile_args and required_modules are either converted to or stored as sets, which do not have a stable ordering. This results in nondeterministic builds, particularly with required_modules causing the order in which the LLVM libraries are linked in to the output binaries to change across independent builds. As any guarantee about ordering for compile_args is lost by being converted from a list to a set and back, and the modules added to required_modules was even already sorted once, sort both when converting them to lists. * Use mesonlib.OrderedSet instead of sorting the sets. Co-authored-by: Kaelyn Takata <kaelyn.alexi@protonmail.com>
2021-07-05cmake: Only use the `cm_` prefix when it is actually required (fixes #8955)Daniel Mensinger7-14/+22
2021-07-05Merge pull request #8957 from jon-turney/dependency-doc-improveJussi Pakkanen1-110/+110
Improvements to dependency doc
2021-07-04Users: Update URL for pacmanJon Turney1-1/+1
git.archlinux.org has been decomissioned [1] [1] https://lists.archlinux.org/pipermail/arch-dev-public/2021-June/030466.html
2021-07-04Consistently capitialize 'Meson' in Dependencies.mdJon Turney1-4/+4
Consistently capitialize 'Meson' where used as a proper name in Dependencies.md.
2021-07-04dist: only exclude actual git filesAndrea Pappacoda1-4/+6
Instead of excluding all files starting with .git, meson dist now only excludes files really used by git
2021-07-03Improve text for dependency detection methodsJon Turney1-4/+5
Make it clear that search order for 'auto' there only applies to generic dependency names. Drop 'system' from that list, as it's not actually used for generic dependencies (nor is it defined what it would do).
2021-07-03Fix image link names.Jussi Pakkanen2-4/+4
2021-07-03Merge pull request #8950 from dcbaker/submit/import-required-disabledJussi Pakkanen11-39/+134
Add required and disabled to import, modules.found method
2021-07-03Delete redirected wrap files in subprojects purgeTristan Partin3-4/+44
We need to store the original filename as well as whether the wrap was redirected in order to properly purge the redirected wrap.
2021-07-02Flatten test suite valueTristan Partin3-4/+4
This behavior is more inline with the rest of Meson