You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove buck2 installation from setup page (#4213) (#4252)
Summary:
Pull Request resolved: #4213
For alpha+, we need to remove all buck2 commands and buck2 dependencies from static doc and github readmes. This diff gets rid of the buck2 installation from set up page.
Reviewed By: kirklandsign
Differential Revision: D59642493
fbshipit-source-id: ca5cf7d6062c72b0bd0c8fbe7f95771b1a5be8bc
(cherry picked from commit 051b01b)
Co-authored-by: Songhao Jia <[email protected]>
To learn how to build a similar program, visit the [Runtime APIs Tutorial](extension-module.md).
193
193
194
-
### [Optional] Setting Up Buck2
195
-
**Buck2** is an open-source build system that some of our examples currently utilize for building and running.
196
-
197
-
However, please note that the installation of `Buck2` is optional for using ExecuTorch and we are in the process of transitioning away from `Buck2` and migrating all relevant sections to `cmake`. This section will be removed once we finish the migration.
198
-
199
-
To set up `Buck2`, You will need the following prerequisits for this section:
200
-
* The `zstd` command line tool — install by running
201
-
```bash
202
-
pip3 install zstd
203
-
```
204
-
* Version `${executorch_version:buck2}` of the `buck2` commandline tool — you can download a
205
-
prebuilt archive for your system from [the Buck2
206
-
repo](https://github.com/facebook/buck2/releases/tag/2024-05-15). Note that
207
-
the version is important, and newer or older versions may not work with the
208
-
version of the buck2 prelude used by the ExecuTorch repo.
209
-
210
-
Configure Buck2 by decompressing with the following command (filename depends
211
-
on your system, and the location of the binary can be different):
212
-
213
-
```bash
214
-
# For example, buck2-x86_64-unknown-linux-musl.zst for Linux, or buck2-aarch64-apple-darwin.zst for Mac with Apple silicon.
0 commit comments