From b4a573ffbbc0f9c179f8ca49994938b08539271f Mon Sep 17 00:00:00 2001 From: Oz Date: Tue, 19 Nov 2024 22:35:17 +0200 Subject: [PATCH] disable binaries signing for macos temporary --- scripts/package.sh | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/scripts/package.sh b/scripts/package.sh index 7fca9dd..942f53a 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -83,24 +83,27 @@ if [[ "${HOST_TRIPLE}" != "x86_64-pc-windows-msvc" ]] ; then fi # Sign macOS binaries -if [[ $HOST_TRIPLE == *apple-darwin* ]]; then - LLVM_BIN="./deploy/llvm/bin" - RUST_BIN="./deploy/rust/bin" - RUST_LIB="./deploy/rust/lib" - ../scripts/sign.sh \ - "$LLVM_BIN/llvm-objdump" \ - "$LLVM_BIN/llvm-ar" \ - "$LLVM_BIN/llvm-readobj" \ - "$LLVM_BIN/llvm-objcopy" \ - "$RUST_BIN/rustc" \ - "$RUST_BIN/rustdoc" \ - "$RUST_BIN/cargo" \ - "$RUST_LIB/librustc_driver-b4e91886a4c059a0.dylib" \ - "$RUST_LIB/libstd-6eff127b55c063c2.dylib" \ - "$RUST_LIB/libtest-090d77c63b6e9f11.dylib"\ +# TODO: restore this -fi +# if [[ $HOST_TRIPLE == *apple-darwin* ]]; then +# LLVM_BIN="./deploy/llvm/bin" +# RUST_BIN="./deploy/rust/bin" +# RUST_LIB="./deploy/rust/lib" + +# ../scripts/sign.sh \ +# "$LLVM_BIN/llvm-objdump" \ +# "$LLVM_BIN/llvm-ar" \ +# "$LLVM_BIN/llvm-readobj" \ +# "$LLVM_BIN/llvm-objcopy" \ +# "$RUST_BIN/rustc" \ +# "$RUST_BIN/rustdoc" \ +# "$RUST_BIN/cargo" \ +# "$RUST_LIB/librustc_driver-b4e91886a4c059a0.dylib" \ +# "$RUST_LIB/libstd-6eff127b55c063c2.dylib" \ +# "$RUST_LIB/libtest-090d77c63b6e9f11.dylib"\ + +# fi # Check the Rust binaries while IFS= read -r f