sccache --stop-server -> sccache --show-stats (#11255)
This commit is contained in:
committed by
s3krit
parent
42437fbc57
commit
9f94473eaf
@@ -13,15 +13,18 @@ echo "CC: " $CC
|
||||
echo "CXX: " $CXX
|
||||
#strip ON
|
||||
export RUSTFLAGS=" -C link-arg=-s"
|
||||
# Linker for crosscomile
|
||||
echo "_____ Linker _____"
|
||||
cat .cargo/config
|
||||
|
||||
echo "_____ Building target: "$CARGO_TARGET" _____"
|
||||
if [ "${CARGO_TARGET}" = "armv7-linux-androideabi" ]
|
||||
then
|
||||
time cargo build --target $CARGO_TARGET --verbose --color=always --release -p parity-clib --features final
|
||||
else
|
||||
if [ "${CARGO_TARGET}" = "x86_64-unknown-linux-gnu" ] || [ "${CARGO_TARGET}" = "x86_64-apple-darwin" ]
|
||||
then
|
||||
# NOTE: Enables the aes-ni instructions for RustCrypto dependency.
|
||||
# If you change this please remember to also update .cargo/config
|
||||
export RUSTFLAGS="$RUSTFLAGS -Ctarget-feature=+aes,+sse2,+ssse3"
|
||||
fi
|
||||
time cargo build --target $CARGO_TARGET --verbose --color=always --release --features final
|
||||
time cargo build --target $CARGO_TARGET --verbose --color=always --release -p evmbin
|
||||
time cargo build --target $CARGO_TARGET --verbose --color=always --release -p ethstore-cli
|
||||
@@ -53,8 +56,8 @@ do
|
||||
then
|
||||
./parity tools hash $binary > $binary.sha3
|
||||
else
|
||||
echo "> ${binary} cannot be hashed with cross-compiled binary (keccak256)"
|
||||
echo ">[WARN] ${binary} cannot be hashed with cross-compiled binary (keccak256)"
|
||||
fi
|
||||
done
|
||||
#show sccache statistics
|
||||
sccache --stop-server
|
||||
sccache --show-stats
|
||||
|
||||
Reference in New Issue
Block a user