Skip to content

Commit

Permalink
echo
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 13, 2023
1 parent 4192f44 commit f4f5a72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
# Define custom utilities
# Test for macOS with [ -n "$IS_MACOS" ]
source wheels/multibuild/common_utils.sh
source wheels/multibuild/library_builders.sh
PLAT="x86_64" source wheels/multibuild/library_builders.sh
if [ -z "$IS_MACOS" ]; then
export MB_ML_LIBC=$(echo $AUDITWHEEL_PLAT | cut -f 1 -d _)
export MB_ML_VER="_"$(echo $AUDITWHEEL_PLAT | cut -f 2- -d _)
echo "torch"
echo $AUDITWHEEL_PLAT
echo MB_ML_LIBC
echo MB_ML_VER
exit 1
source wheels/multibuild/manylinux_utils.sh
fi

Expand Down Expand Up @@ -94,7 +101,10 @@ if [ -n "$IS_MACOS" ]; then
build_simple xorgproto 2023.2 https://www.x.org/pub/individual/proto
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist
cp venv/share/pkgconfig/xcb-proto.pc venv/lib/pkgconfig/xcb-proto.pc
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
cp /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc /Library/Frameworks/Python.framework/Versions/Current/lib/pkgconfig
else
sed s/\${pc_sysrootdir\}// /usr/local/share/pkgconfig/xcb-proto.pc > /usr/local/lib/pkgconfig/xcb-proto.pc
fi
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [
ubuntu-latest,
macos-latest
]
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit f4f5a72

Please sign in to comment.