Skip to content

Commit 1e05c93

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] Revert "Add 3.13t wheel builds " (#8900)
Reviewed By: scotts Differential Revision: D77997067 fbshipit-source-id: d52651338ff3b2fe701db407fb3191f1589e589b
1 parent d9e4b4e commit 1e05c93

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

packaging/pre_build_script.sh

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#!/bin/bash
22

3-
CONDA_CHANNEL=""
4-
5-
# python python-freethreading build use conda-forge
6-
if [[ "${PYTHON_VERSION: -1}" == "t" ]]; then
7-
CONDA_CHANNEL="-c conda-forge"
8-
fi
9-
103
if [[ "$(uname)" == Darwin ]]; then
114
# Uninstall Conflicting jpeg brew formulae
125
jpeg_packages=$(brew list | grep jpeg)
@@ -20,7 +13,7 @@ if [[ "$(uname)" == Darwin ]]; then
2013
fi
2114

2215
if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
23-
conda install -yv libpng libwebp ${CONDA_CHANNEL}
16+
conda install libpng libwebp -yq
2417
# Installing webp also installs a non-turbo jpeg, so we uninstall jpeg stuff
2518
# before re-installing them
2619
conda uninstall libjpeg-turbo libjpeg -y
@@ -35,11 +28,11 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
3528
else
3629

3730
if [[ "$ARCH" == "aarch64" ]]; then
38-
conda install -yv libpng ${CONDA_CHANNEL}
31+
conda install libpng -yq
3932
conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch-nightly
4033
fi
4134

42-
conda install -v libwebp ${CONDA_CHANNEL}
35+
conda install libwebp -yq
4336
conda install libjpeg-turbo -c pytorch
4437
yum install -y freetype gnutls
4538
pip install auditwheel

0 commit comments

Comments
 (0)