mirror of https://github.com/aminya/setup-cpp
fix: fix llvm/gcc installation on dnf
This commit is contained in:
parent
485b3298a2
commit
834fea83ec
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
|
@ -88,6 +88,8 @@ export async function setupGcc(version: string, setupDir: string, arch: string)
|
|||
installationInfo = setupPacmanPack("gcc", version)
|
||||
} else if (hasDnf()) {
|
||||
installationInfo = setupDnfPack("gcc", version)
|
||||
setupDnfPack("gcc-c++", version)
|
||||
setupDnfPack("libstdc++-devel", undefined)
|
||||
} else if (isUbuntu()) {
|
||||
setupAptPack("gcc", version, ["ppa:ubuntu-toolchain-r/test"])
|
||||
installationInfo = setupAptPack("g++", version, [])
|
||||
|
|
Loading…
Reference in New Issue