Skip to content

Commit

Permalink
fix buck2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopezgi committed Nov 22, 2024
1 parent 252a68d commit 4d50341
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions infra/setup-buck2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ make
cd ../

# Get the Buck2 binary.
curl -L -O https://github.com/facebook/buck2/releases/download/latest/buck2-aarch64-unknown-linux-gnu.zst
curl -L -O https://github.com/facebook/buck2/releases/download/latest/buck2-x86_64-unknown-linux-gnu.zst



# Unpack the binary.
# Use installed zstd once available in the CI runner.
./zstd/zstd -d buck2-aarch64-unknown-linux-gnu.zst
# unzstd buck2-aarch64-unknown-linux-gnu.zst
./zstd/zstd -d buck2-x86_64-unknown-linux-gnu.zst
# unzstd buck2-x86_64-unknown-linux-gnu.zst

# Change its name and make it executable.
mv buck2-aarch64-unknown-linux-gnu.zst buck2-exe
mv buck2-x86_64-unknown-linux-gnu.zst buck2-exe
chmod +x buck2-exe

0 comments on commit 4d50341

Please sign in to comment.