Skip to content

Commit f2f3ce6

Browse files
committed
try fix zlib
1 parent 6a067cf commit f2f3ce6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

dist/index.js

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

dist/index.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.

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ export async function execute(cmd) {
3333
const installScript = path.join(__dirname, "../scripts/install_llvm.sh");
3434
await exec.exec(`sudo ${installScript}`);
3535
} else if (isMacOS) {
36-
await exec.exec("brew install llvm@16 zstd")
36+
await exec.exec("brew install llvm@16")
3737
let llvmPath = await execute("brew --prefix llvm@16");
38+
let libpath = await execute("brew --prefix zstd");
3839
core.addPath(`${llvmPath}/bin`)
40+
core.exportVariable('LIBRARY_PATH', `${libpath}/lib`)
3941
// core.exportVariable('LLVM_SYS_160_PREFIX', `${llvmPath}`)
4042
} else if (isWindows) {
4143
const downloadUrl = "https://github.com/mun-lang/llvm-package-windows/releases/download/v16.0.5/llvm-16.0.5-windows-x64-msvc17-mt.7z"

0 commit comments

Comments
 (0)