sccache: -> 0.7.4
This commit is contained in:
parent
d6308011f1
commit
b4f264b38e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF35FYqCZYyMtlvfyeZB+yBB+XF/hs5zjg7hSP50UT2w1jtcYti+YWnm7Ei1cZ7b0izO8Q+it6QWbFIfacGsIaiAw=
|
||||
SHA256 (Pkgfile) = 24946168714e8313bf200a6ff5824493a586e1e23e460023ad3fce7fb119739b
|
||||
RWSagIOpLGJF37lFXj2axGDmIHDrj64yB3BNKxslbY19o8WLexk9oIATcnrIgQWODe4jLV1knHhZGuym91wsD5VwRnbGXFLjSQE=
|
||||
SHA256 (Pkgfile) = 309d57fa69d113b2821b742a428903ff55ac796f9fcd6c10f61f29a3ef2e1d7d
|
||||
SHA256 (.footprint) = 075cd929ecb85ad14a889ceb6a2ed24451c1c27cbe759868505d0b691d93b7cb
|
||||
SHA256 (sccache-v0.7.4.tar.gz) = 32301f125d5b1d73830b163fd15fe9b5c22cf4a4a6b835d893dec563aba5b4fc
|
||||
|
@ -16,8 +16,12 @@ build() {
|
||||
export CFLAGS+=' -ffat-lto-objects'
|
||||
export LDFLAGS+=' -lzstd'
|
||||
|
||||
if [ $(uname -m) == "x86_64" ]; then
|
||||
PKGMK_SCCACHE+=',dist-server'
|
||||
fi
|
||||
|
||||
cargo build --manifest-path $name-$version/Cargo.toml --release \
|
||||
--features native-zlib,dist-server,all
|
||||
--features native-zlib,all$PKGMK_SCCACHE
|
||||
cargo install --path $name-$version --root $PKG/usr --no-track \
|
||||
--frozen --offline --features native-zlib,dist-server,all
|
||||
--frozen --offline --features native-zlib,all$PKGMK_SCCACHE
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user