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
99
1010# This script is run before building ExecuTorch binaries
1111
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+
1217# Manually install build requirements because `python setup.py bdist_wheel` does
1318# not install them. TODO(dbort): Switch to using `python -m build --wheel`,
1419# which does install them. Though we'd need to disable build isolation to be
1520# able to see the installed torch package.
1621
1722" ${GITHUB_WORKSPACE} /${REPOSITORY} /install_requirements.sh" --example
1823
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