Skip to content

Commit

Permalink
fix: install libtinfo 6 instead of libtinfo-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 26, 2025
1 parent a1e3058 commit 17f5ebc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/llvm/llvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ async function llvmBinaryDeps_(majorVersion: number) {
execRootSync("dpkg", ["-i", join(tmpdir(), fileName)])
}
} else {
await installAptPack([{ name: "libtinfo-dev" }])
try {
await installAptPack([{ name: "libtinfo6" }])
} catch (err) {
info(`Failed to install libtinfo6 ${err}\nSkipping the dependency`)
}
}
} else if (isArch()) {
// https://aur.archlinux.org/packages/ncurses5-compat-libs
Expand Down

0 comments on commit 17f5ebc

Please sign in to comment.