Skip to content

Commit

Permalink
ci: try fix macOS x86_64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Sep 28, 2024
1 parent bd553a2 commit c0378e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ jobs:
patch -p1 -i ${{ github.workspace }}/scripts/cpuinfo.patch
cd ${{ github.workspace }}/executorch
pip install tomli zstd setuptools wheel
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
if [[ "$PLATFORM" == "macos" ]]; then
pip install torch torchvision torchaudio
else
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
fi
if [ ! -d cmake-out ]; then
./install_requirements.sh
EXTRA_CMAKE_ARGS=""
Expand Down

0 comments on commit c0378e3

Please sign in to comment.