Skip to content

Commit

Permalink
chore: disable mac binary security in build scripts. (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peefy committed Jun 19, 2023
1 parent 986e31e commit abdadca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ touch $install_dir/bin/kclvm_cli
rm $install_dir/bin/kclvm_cli
cp ./target/release/kclvm_cli $install_dir/bin/kclvm_cli

# Disable Mac Binary Security
case $os in
"Darwin" | "darwin" | "ios" | "macos")
xattr -rd com.apple.quarantine $install_dir > /dev/null 2>&1
;;
*)
;;
esac

# Copy kcl C API header
cd $topdir/kclvm/runtime
Expand Down

0 comments on commit abdadca

Please sign in to comment.