Skip to content

Commit 72aa29a

Browse files
authored
[M1] Install "jpeg<=9b" rather than OpenJpeg
1 parent 59ef2ab commit 72aa29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-m1-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
. packaging/pkg_helpers.bash
2929
setup_build_version
3030
WHL_NAME=torchvision-${BUILD_VERSION}-cp${PY_VERS/.}-cp${PY_VERS/.}-macosx_11_0_arm64.whl
31-
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng openjpeg wheel pkg-config
31+
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng "jpeg<=9b" wheel pkg-config
3232
conda run -p ${ENV_NAME} python3 -mpip install torch --pre --extra-index-url=https://download.pytorch.org/whl/nightly
3333
conda run -p ${ENV_NAME} python3 -mpip install delocate
3434
conda run -p ${ENV_NAME} python3 setup.py bdist_wheel

0 commit comments

Comments
 (0)