Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 13, 2023
1 parent ee3ad1f commit a0b9794
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ BROTLI_VERSION=1.1.0

if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then
function build_openjpeg {
local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz)
local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz openjpeg-2.5.0.tar.gz)
(cd $out_dir \
&& cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
&& make install)
Expand Down Expand Up @@ -93,11 +93,17 @@ if [ -n "$IS_MACOS" ]; then
BUILD_PREFIX=`dirname $(dirname $(which python))`
PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig"
fi
echo "torch0"
build_simple xcb-proto 1.16.0 https://xorg.freedesktop.org/archive/individual/proto
echo "torch1"
if [ -n "$IS_MACOS" ]; then
echo "torcha"
build_simple xorgproto 2023.2 https://www.x.org/pub/individual/proto
echo "torchb"
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
echo "torchc"
build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist
echo "torchd"
ls -la /Library/Frameworks/Python.framework/Versions
ls -la /Library/Frameworks/Python.framework/Versions/Current
ls -la /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc
Expand All @@ -117,8 +123,11 @@ if [[ -n "$IS_MACOS" ]]; then
fi
build_tiff
build_libpng
echo "torchlcms2"
build_lcms2
echo "torchopenjpeg"
build_openjpeg
echo "torchlibwebp"

ORIGINAL_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -O3 -DNDEBUG"
Expand Down

0 comments on commit a0b9794

Please sign in to comment.