File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ set -euxo pipefail
9
9
10
10
# This script is run before building ExecuTorch binaries
11
11
12
+ # On aarch64, we need to install libatomic explicitly for meta-pytorch/tokenizers to work.
13
+ if [[ " $( uname -m) " == " aarch64" ]]; then
14
+ sudo dnf install -y libatomic
15
+ fi
16
+
12
17
# Manually install build requirements because `python setup.py bdist_wheel` does
13
18
# not install them. TODO(dbort): Switch to using `python -m build --wheel`,
14
19
# which does install them. Though we'd need to disable build isolation to be
15
20
# able to see the installed torch package.
16
21
17
22
" ${GITHUB_WORKSPACE} /${REPOSITORY} /install_requirements.sh" --example
18
23
19
- # On aarch64, we need to install libatomic explicitly for meta-pytorch/tokenizers to work.
20
- if [[ " $( uname -m) " == " aarch64" ]]; then
21
- sudo dnf install -y libatomic
22
- fi
24
+
You can’t perform that action at this time.
0 commit comments