Skip to content

Commit

Permalink
fixing building zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopezgi committed Nov 22, 2024
1 parent 21db2a3 commit 494f458
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions infra/setup-buck2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ set -x

# Build zstd: Remove once zstd is insalled in CI runner.
git clone https://github.com/facebook/zstd.git
cd zstd/build/cmake
cmake .
cd zstd/
make
cd ../../../
cd ../

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

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

# Change its name and make it executable.
Expand Down

0 comments on commit 494f458

Please sign in to comment.