Skip to content

Commit

Permalink
disable binaries signing for macos temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
ozcodes committed Nov 19, 2024
1 parent 27611ed commit b4a573f
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4a573f

Please sign in to comment.