Skip to content

Commit bb21e13

Browse files
committed
Set buck2 version on MacOS
1 parent 1991346 commit bb21e13

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.ci/scripts/setup-macos.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,8 @@ install_buck() {
2828
fi
2929

3030
pushd .ci/docker
31-
32-
# TODO(huydo): This is a one-off copy of buck2 2024-05-15 to unblock Jon and
33-
# re-enable ShipIt. It’s not ideal that upgrading buck2 will require a manual
34-
# update the cached binary on S3 bucket too. Let me figure out if there is a
35-
# way to correctly implement the previous setup of installing a new version of
36-
# buck2 only when it’s needed. AFAIK, the complicated part was that buck2
37-
# --version doesn't say anything w.r.t its release version, i.e. 2024-05-15.
38-
# See D53878006 for more details.
39-
BUCK2=buck2-aarch64-apple-darwin.zst
31+
BUCK2_VERSION=2024-05-15
32+
BUCK2=buck2-aarch64-apple-darwin-${BUCK2_VERSION}.zst
4033
curl -s "https://ossci-macos.s3.amazonaws.com/${BUCK2}" -o "${BUCK2}"
4134

4235
zstd -d "${BUCK2}" -o buck2

0 commit comments

Comments
 (0)