Skip to content

Commit 834fea8

Browse files
committed
fix: fix llvm/gcc installation on dnf
1 parent 485b329 commit 834fea8

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/setup_cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/gcc/gcc.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ export async function setupGcc(version: string, setupDir: string, arch: string)
8888
installationInfo = setupPacmanPack("gcc", version)
8989
} else if (hasDnf()) {
9090
installationInfo = setupDnfPack("gcc", version)
91+
setupDnfPack("gcc-c++", version)
92+
setupDnfPack("libstdc++-devel", undefined)
9193
} else if (isUbuntu()) {
9294
setupAptPack("gcc", version, ["ppa:ubuntu-toolchain-r/test"])
9395
installationInfo = setupAptPack("g++", version, [])

0 commit comments

Comments
 (0)