Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .ci/scripts/wheel/pre_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ set -euxo pipefail

# This script is run before building ExecuTorch binaries

# On aarch64, we need to install libatomic explicitly for meta-pytorch/tokenizers to work.
if [[ "$(uname -m)" == "aarch64" ]]; then
sudo dnf install -y libatomic
fi

# Manually install build requirements because `python setup.py bdist_wheel` does
# not install them. TODO(dbort): Switch to using `python -m build --wheel`,
# which does install them. Though we'd need to disable build isolation to be
# able to see the installed torch package.

"${GITHUB_WORKSPACE}/${REPOSITORY}/install_requirements.sh" --example

# On aarch64, we need to install libatomic explicitly for meta-pytorch/tokenizers to work.
if [[ "$(uname -m)" == "aarch64" ]]; then
sudo dnf install -y libatomic
fi
Loading