mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1599607 - lucetc toolchain artifact should unpack to a directory called "lucetc" r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54823 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
5727683cd6
commit
93d3e01a91
@ -10,7 +10,11 @@ export CXXFLAGS=$CFLAGS
|
||||
export CXX=$MOZ_FETCHES_DIR/clang/bin/clang++
|
||||
export AR=$MOZ_FETCHES_DIR/clang/bin/llvm-ar
|
||||
export RUSTFLAGS="-C linker=$CXX -C link-arg=$CXXFLAGS"
|
||||
|
||||
make build
|
||||
mkdir -p $UPLOAD_DIR
|
||||
tar --xz -cf $UPLOAD_DIR/lucetc.tar.xz target/release/lucetc
|
||||
|
||||
# Put the lucetc binary in a directory called "lucetc", which is where consumers
|
||||
# will expect it.
|
||||
mkdir -p $UPLOAD_DIR/lucetc
|
||||
mv target/release/lucetc $UPLOAD_DIR/lucetc
|
||||
tar -C $UPLOAD_DIR --xz -cf $UPLOAD_DIR/lucetc.tar.xz lucetc
|
||||
rm -rf $UPLOAD_DIR/lucetc
|
||||
|
Loading…
Reference in New Issue
Block a user