Skip to content

Commit

Permalink
Patch for 14.0.6 + z3
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Oct 3, 2024
1 parent 5d0f731 commit 2ad4a59
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions var/spack/repos/builtin/packages/llvm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,15 @@ def patch(self):
string=True,
)

@when("@14.0.6")
def patch(self):
filter_file(
r"#include <z3.h>",
"#include <z3.h>\n#include<cstdio>",
"llvm/cmake/modules/FindZ3.cmake",
string=True,
)

compiler_version_regex = (
# Normal clang compiler versions are left as-is
r"clang version ([^ )\n]+)-svn[~.\w\d-]*|"
Expand Down

0 comments on commit 2ad4a59

Please sign in to comment.