diff --git a/scripts/build-release-linux.sh b/scripts/build-release-linux.sh index 6c531bfe..413482bd 100755 --- a/scripts/build-release-linux.sh +++ b/scripts/build-release-linux.sh @@ -18,6 +18,8 @@ for TARGET in aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu; do done +cargo clean + for TARGET in x86_64-unknown-linux-gnu; do PROTOC=$PWD/tools/protoc CARGO_PROFILE_RELEASE_LTO=fat cross build --release -p cozoserver \ -F compact -F storage-rocksdb -F storage-tikv -F storage-sled --target $TARGET