зеркало из https://github.com/mozilla/sccache.git
set MACOSX_DEPLOYMENT_TARGET for osx release builds
This commit is contained in:
Родитель
4c460d133b
Коммит
b7a6a11de8
|
@ -17,6 +17,7 @@ mkdir -p "$destdir"
|
||||||
tmpdir=$(mktemp -d)
|
tmpdir=$(mktemp -d)
|
||||||
stagedir=$tmpdir/sccache2
|
stagedir=$tmpdir/sccache2
|
||||||
mkdir $stagedir
|
mkdir $stagedir
|
||||||
|
cargo clean
|
||||||
case $system in
|
case $system in
|
||||||
MINGW*)
|
MINGW*)
|
||||||
cargo build --release && cargo test --release
|
cargo build --release && cargo test --release
|
||||||
|
@ -32,6 +33,7 @@ case $system in
|
||||||
compress=xz
|
compress=xz
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
|
export MACOSX_DEPLOYMENT_TARGET=10.7
|
||||||
cargo build --release && cargo test --release
|
cargo build --release && cargo test --release
|
||||||
cp target/release/sccache "$stagedir"
|
cp target/release/sccache "$stagedir"
|
||||||
strip "$stagedir/sccache"
|
strip "$stagedir/sccache"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче