Skip to content

Commit 6c8993e

Browse files
authored
[buck2] add platform-independent buck2 installation instructions (#402)
1 parent 8b2893c commit 6c8993e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

infra/setup-buck2.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ unzstd buck2-x86_64-unknown-linux-musl.zst
1010
# Change its name and make it executable.
1111
mv buck2-x86_64-unknown-linux-musl buck2-exe
1212
chmod +x buck2-exe
13+
14+
# Alternatively, for a platform-independent method that requires building from source:
15+
# Install the specific nightly version
16+
# rustup install nightly-2025-02-16
17+
18+
# Use that specific version to install Buck2
19+
# cargo +nightly-2025-02-16 install --git https://github.com/facebook/buck2 --rev 201beb86106fecdc84e30260b0f1abb5bf576988 buck2

0 commit comments

Comments
 (0)