From 58f084181c9c405b16cdfd5b92c89d43b1fa0399 Mon Sep 17 00:00:00 2001 From: Luke Gehorsam Date: Mon, 28 Jul 2025 12:55:58 -0400 Subject: [PATCH 1/2] add platform-independent buck2 installation instructions --- infra/setup-buck2.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/infra/setup-buck2.sh b/infra/setup-buck2.sh index f722c33e..25e3cebf 100755 --- a/infra/setup-buck2.sh +++ b/infra/setup-buck2.sh @@ -10,3 +10,10 @@ unzstd buck2-x86_64-unknown-linux-musl.zst # Change its name and make it executable. mv buck2-x86_64-unknown-linux-musl buck2-exe chmod +x buck2-exe + +# Alternatively, for a platform-independent method that requires building from source: +# Install the specific nightly version +# rustup install nightly-2025-02-16 + +# Use that specific version to install Buck2 +# cargo +nightly-2025-02-16 install --git https://github.com/facebook/buck2 --rev 201beb86106fecdc84e30260b0f1abb5bf576988 buck2 \ No newline at end of file From f6c41b1465a6aef2882a00410c859aa1ddbeae58 Mon Sep 17 00:00:00 2001 From: Luke Gehorsam Date: Mon, 28 Jul 2025 12:56:32 -0400 Subject: [PATCH 2/2] newline --- infra/setup-buck2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/setup-buck2.sh b/infra/setup-buck2.sh index 25e3cebf..a8bf46df 100755 --- a/infra/setup-buck2.sh +++ b/infra/setup-buck2.sh @@ -16,4 +16,4 @@ chmod +x buck2-exe # rustup install nightly-2025-02-16 # Use that specific version to install Buck2 -# cargo +nightly-2025-02-16 install --git https://github.com/facebook/buck2 --rev 201beb86106fecdc84e30260b0f1abb5bf576988 buck2 \ No newline at end of file +# cargo +nightly-2025-02-16 install --git https://github.com/facebook/buck2 --rev 201beb86106fecdc84e30260b0f1abb5bf576988 buck2