aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-10-18 10:08:16 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2023-10-19 09:43:49 +0530
commit890dd31cb0cdfaca6ddf483c8d8ba3b4c1bcb753 (patch)
treef975ed3a8ab5ad661c25d21df7e3392d2856e057 /test cases
parent0781eab48123aadab1ca7973aff024b0d4789bd7 (diff)
downloadmeson-890dd31cb0cdfaca6ddf483c8d8ba3b4c1bcb753.zip
meson-890dd31cb0cdfaca6ddf483c8d8ba3b4c1bcb753.tar.gz
meson-890dd31cb0cdfaca6ddf483c8d8ba3b4c1bcb753.tar.bz2
test cases/15 llvm: Skip cmake when llvm == 17.0
There's a bug in the zstd find_package module: https://github.com/llvm/llvm-project/commit/e7fc7540daa9333f0be4f380fc9c619236d17f57#r130257253
Diffstat (limited to 'test cases')
-rw-r--r--test cases/frameworks/15 llvm/meson.build5
-rw-r--r--test cases/frameworks/15 llvm/test.json6
2 files changed, 8 insertions, 3 deletions
diff --git a/test cases/frameworks/15 llvm/meson.build b/test cases/frameworks/15 llvm/meson.build
index aac037f..9c39e45 100644
--- a/test cases/frameworks/15 llvm/meson.build
+++ b/test cases/frameworks/15 llvm/meson.build
@@ -8,6 +8,11 @@ if not d.found()
error('MESON_SKIP_TEST llvm not found.')
endif
+if method != 'config-tool' and d.version().startswith('17.0') and host_machine.system() == 'windows'
+ # https://github.com/llvm/llvm-project/commit/e7fc7540daa9333f0be4f380fc9c619236d17f57#r130257253
+ error('MESON_SKIP_TEST broken llvm cmake files on MSYS2')
+endif
+
modules_to_find = [
'bitwriter', 'asmprinter', 'executionengine', 'mcjit', 'target',
'nativecodegen', 'amdgpu', 'engine'
diff --git a/test cases/frameworks/15 llvm/test.json b/test cases/frameworks/15 llvm/test.json
index 66ecd43..f9d7305 100644
--- a/test cases/frameworks/15 llvm/test.json
+++ b/test cases/frameworks/15 llvm/test.json
@@ -2,9 +2,9 @@
"matrix": {
"options": {
"method": [
- { "val": "config-tool", "skip_on_jobname": ["msys2-gcc"]},
- { "val": "cmake", "skip_on_jobname": ["msys2-gcc"] },
- { "val": "combination", "skip_on_jobname": ["msys2-gcc"]}
+ { "val": "config-tool", "skip_on_jobname": ["msys2-gcc"] },
+ { "val": "cmake", "skip_on_jobname": ["msys2"] },
+ { "val": "combination", "skip_on_jobname": ["msys2"] }
],
"link-static": [
{ "val": true, "skip_on_jobname": ["opensuse"] },