Skip to content

Commit

Permalink
Try to patch llvm again
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Oct 3, 2024
1 parent 2ad4a59 commit 5e94ffe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions var/spack/repos/builtin/packages/llvm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,13 +627,12 @@ def patch(self):
string=True,
)

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

compiler_version_regex = (
Expand Down

0 comments on commit 5e94ffe

Please sign in to comment.