Skip to content

Commit 47866a1

Browse files
committed
Test with new change in tokenizers
1 parent 3d2263e commit 47866a1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.ci/scripts/wheel/pre_build_script.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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+

0 commit comments

Comments
 (0)