Skip to content

Commit

Permalink
Update buck2 to 2024-12-16 (#7448)
Browse files Browse the repository at this point in the history
Fixes #7425. Filed facebook/buck2#828 to make this easier in the future.

---------

Co-authored-by: Huy Do <[email protected]>
  • Loading branch information
swolchok and huydhn authored Jan 7, 2025
1 parent b09f8e4 commit 6c9b9b6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .ci/docker/ci_commit_pins/buck2.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-05-15
2024-12-16
15 changes: 10 additions & 5 deletions build/resolve_buck.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,27 @@ class BuckInfo:
archive_name="buck2-x86_64-unknown-linux-musl.zst",
target_versions=[
# MUSL
"3bbde7daa94987db468d021ad625bc93dc62ba7fcb16945cb09b64aab077f284",
"edae27cfca00053d9c5f7c7be81b6b0d7d07573a50be374ce53a9d8692afa5fc",
# GNU
"029b0bcc6f8e399185c1d0f574eba204934722b5",
"10334cb20cb7c321",
],
),
("linux", "aarch64"): BuckInfo(
archive_name="buck2-aarch64-unknown-linux-gnu.zst",
target_versions=["49670bee56a7d8a7696409ca6fbf7551d2469787"],
target_versions=[
# MUSL
"5d7af382acbe0dde70f0e9b0a0bc36deea906077ec1ffe80d3fa280490109051",
# GNU
"08d4382de22fab275978abc7c27c001d7823eb2f",
],
),
("darwin", "aarch64"): BuckInfo(
archive_name="buck2-aarch64-apple-darwin.zst",
target_versions=["99773fe6f7963a72ae5f7b737c02836e"],
target_versions=["f3b7a37732803ed090cd8a37f00cc000"],
),
("darwin", "x86_64"): BuckInfo(
archive_name="buck2-x86_64-apple-darwin.zst",
target_versions=["3eb1ae97ea963086866b4d2d9ffa966d"],
target_versions=["9c9a583658d43e82b41f3fc9d369a9b0"],
),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Note: You should only use this step if the prebuilt package doesn't work for you
If you need to manually build the package, run the following command in your terminal
```
# Install a compatible version of Buck2
BUCK2_RELEASE_DATE="2024-05-15"
BUCK2_RELEASE_DATE="2024-12-16"
BUCK2_ARCHIVE="buck2-aarch64-apple-darwin.zst"
BUCK2=".venv/bin/buck2"
Expand Down
2 changes: 1 addition & 1 deletion third-party/prelude
Submodule prelude updated 513 files

0 comments on commit 6c9b9b6

Please sign in to comment.