Skip to content

Commit 488bdbf

Browse files
committed
install: add libatomic installation for aarch64 support in pre_build_script.sh
1 parent 59f9568 commit 488bdbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.ci/scripts/wheel/pre_build_script.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ set -euxo pipefail
1515
# able to see the installed torch package.
1616

1717
"${GITHUB_WORKSPACE}/${REPOSITORY}/install_requirements.sh" --example
18+
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

0 commit comments

Comments
 (0)