Skip to content

Commit

Permalink
test cases/15 llvm: Skip cmake when llvm == 17.0
Browse files Browse the repository at this point in the history
There's a bug in the zstd find_package module:
llvm/llvm-project@e7fc754#r130257253
  • Loading branch information
nirbheek committed Oct 19, 2023
1 parent 63b5a02 commit 49d98cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions test cases/frameworks/15 llvm/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions test cases/frameworks/15 llvm/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"] },
Expand Down

0 comments on commit 49d98cf

Please sign in to comment.