Unverified Commit d17bb3b0 authored by Andrey Talman's avatar Andrey Talman Committed by GitHub
Browse files

Include dlls required for wheel building (#7589)

parent dda5bfac
...@@ -15,7 +15,14 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then ...@@ -15,7 +15,14 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
# Install libpng from Anaconda (defaults) # Install libpng from Anaconda (defaults)
conda install ${CONDA_CHANNEL_FLAGS} libpng "jpeg<=9b" -y conda install ${CONDA_CHANNEL_FLAGS} libpng "jpeg<=9b" -y
conda install -yq ffmpeg=4.2 -c pytorch conda install -yq ffmpeg=4.2 -c pytorch
else
# Copy binaries to be included in the wheel distribution
if [[ "$OSTYPE" == "msys" ]]; then
python_exec="$(which python)"
bin_path=$(dirname $python_exec)
cp "$bin_path/Library/bin/libjpeg.dll" torchvision
fi
# Install native CentOS libJPEG, freetype and GnuTLS # Install native CentOS libJPEG, freetype and GnuTLS
yum install -y libjpeg-turbo-devel freetype gnutls yum install -y libjpeg-turbo-devel freetype gnutls
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment