Skip to content

Commit 49d98cf

Browse files
committed
test cases/15 llvm: Skip cmake when llvm == 17.0
There's a bug in the zstd find_package module: llvm/llvm-project@e7fc754#r130257253
1 parent 63b5a02 commit 49d98cf

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

test cases/frameworks/15 llvm/meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ if not d.found()
88
error('MESON_SKIP_TEST llvm not found.')
99
endif
1010

11+
if method != 'config-tool' and d.version().startswith('17.0') and host_machine.system() == 'windows'
12+
# https://github.com/llvm/llvm-project/commit/e7fc7540daa9333f0be4f380fc9c619236d17f57#r130257253
13+
error('MESON_SKIP_TEST broken llvm cmake files on MSYS2')
14+
endif
15+
1116
modules_to_find = [
1217
'bitwriter', 'asmprinter', 'executionengine', 'mcjit', 'target',
1318
'nativecodegen', 'amdgpu', 'engine'

test cases/frameworks/15 llvm/test.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"matrix": {
33
"options": {
44
"method": [
5-
{ "val": "config-tool", "skip_on_jobname": ["msys2-gcc"]},
6-
{ "val": "cmake", "skip_on_jobname": ["msys2-gcc"] },
7-
{ "val": "combination", "skip_on_jobname": ["msys2-gcc"]}
5+
{ "val": "config-tool", "skip_on_jobname": ["msys2-gcc"] },
6+
{ "val": "cmake", "skip_on_jobname": ["msys2"] },
7+
{ "val": "combination", "skip_on_jobname": ["msys2"] }
88
],
99
"link-static": [
1010
{ "val": true, "skip_on_jobname": ["opensuse"] },

0 commit comments

Comments
 (0)