mirror of https://github.com/aminya/setup-cpp
fix: pass the llvm version to the installer
This commit is contained in:
parent
e7304e1143
commit
c3a7043921
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
|
@ -64,7 +64,7 @@ async function setupLLVMApt(majorVersion: number): Promise<InstallationInfo> {
|
|||
const neededPackages = await patchAptLLVMScript("/tmp/llvm.sh", "/tmp/llvm-setup-cpp.sh")
|
||||
await setupAptPack(neededPackages)
|
||||
await chmod("/tmp/llvm-setup-cpp.sh", "755")
|
||||
await execRoot("bash", ["/tmp/llvm-setup-cpp.sh"], {
|
||||
await execRoot("bash", ["/tmp/llvm-setup-cpp.sh", majorVersion.toString()], {
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue