Skip to content

Commit

Permalink
ci: workaround for an llvm install issue
Browse files Browse the repository at this point in the history
Solution based on commits in:
llvm/llvm-project#64182

This should be reverted once that issue is resolved (looks like the
maintainer is traveling right now).
  • Loading branch information
rawlins committed Aug 1, 2023
1 parent a67beba commit 7cee417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def apt_install(args: argparse.Namespace) -> None:

def install_llvm() -> None:
run(["wget", "-O", "/tmp/llvm.sh", "https://apt.llvm.org/llvm.sh"])
run(["sudo", "apt-get", "purge", "--auto-remove", "llvm", "python3-lldb-14", "llvm-14", "-y"])
run(["sudo", "bash", "/tmp/llvm.sh"])
for binary in os.scandir("/usr/bin"):
if binary.name.startswith("clang-") or binary.name.startswith("clang++-"):
Expand Down

0 comments on commit 7cee417

Please sign in to comment.