fix: fix the path for the ubuntu LLVM installer

This commit is contained in:
Amin Yahyaabadi 2023-07-17 10:15:53 -07:00
parent f829c0abcc
commit 71e227aa5f
7 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -63,7 +63,7 @@ async function setupLLVMApt(majorVersion: number): Promise<InstallationInfo> {
await execa("curl", ["-LJO", "https://apt.llvm.org/llvm.sh"], { cwd: "/tmp" }) await execa("curl", ["-LJO", "https://apt.llvm.org/llvm.sh"], { cwd: "/tmp" })
await patchAptLLVMScript("/tmp/llvm.sh", "/tmp/llvm-setup-cpp.sh") await patchAptLLVMScript("/tmp/llvm.sh", "/tmp/llvm-setup-cpp.sh")
await chmod("/tmp/llvm-setup-cpp.sh", "755") await chmod("/tmp/llvm-setup-cpp.sh", "755")
await execRoot("bash", ["/tmp/setup-cpp-llvm.sh"], { await execRoot("bash", ["/tmp/llvm-setup-cpp.sh"], {
stdio: "inherit", stdio: "inherit",
shell: true, shell: true,
}) })