File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed
Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 7373 fail-fast : false
7474 matrix :
7575 include :
76+ - os : macos-15
77+ name : ios
78+ cibw :
79+ platform : " ios"
80+
7681 # - os: macos-13
7782 # name: mac-pypy
7883 # cibw:
Original file line number Diff line number Diff line change @@ -186,6 +186,13 @@ repair-wheel-command = "delocate-wheel --sanitize-rpaths --require-archs {deloca
186186ZMQ_PREFIX = " /tmp/zmq"
187187MACOSX_DEPLOYMENT_TARGET = " 10.15"
188188
189+ [tool .cibuildwheel .ios ]
190+ before-all = " bash tools/install_libzmq.sh"
191+ repair-wheel-command = " delocate-wheel --sanitize-rpaths --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
192+
193+ [tool .cibuildwheel .ios .environment ]
194+ ZMQ_PREFIX = " /tmp/zmq"
195+
189196[tool .cibuildwheel .windows ]
190197before-all = " python buildutils/bundle.py licenses"
191198repair-wheel-command = """ \
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PYZMQ_DIR="$PWD"
77LICENSE_DIR=" $PYZMQ_DIR /licenses"
88test -d " $LICENSE_DIR " || mkdir " $LICENSE_DIR "
99SHLIB_EXT=" .so"
10- if [[ " $( uname) " == " Darwin" ]]; then
10+ if [[ " $( uname) " == " Darwin" && " ${CIBW_PLATFORM :- macos} " == " macos " ]]; then
1111 SHLIB_EXT=" .dylib"
1212 # make sure deployment target is set
1313 echo " ${MACOSX_DEPLOYMENT_TARGET=} "
@@ -33,7 +33,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
3333 exit 1
3434 ;;
3535 esac
36- echo " building libzmq for mac ${ARCHS} "
36+ echo " building libzmq for ${CIBW_PLATFORM :- macos} ${ARCHS} "
3737 export CXX=" ${CC:- clang++} "
3838 for arch in ${ARCHS} ; do
3939 # seem to need ARCH in CXX for libtool
@@ -42,6 +42,10 @@ if [[ "$(uname)" == "Darwin" ]]; then
4242 export CXXFLAGS=" -arch ${arch} ${CXXFLAGS:- } "
4343 export LDFLAGS=" -arch ${arch} ${LDFLAGS:- } "
4444 done
45+
46+ if [[ " ${CIBW_PLATFORM:- } " == " ios" ]]; then
47+ echo " building libzmq for ${CIBW_PLATFORM} "
48+ SHLIB_EXT=" .dylib"
4549fi
4650
4751PREFIX=" ${ZMQ_PREFIX:-/ usr/ local} "
You can’t perform that action at this time.
0 commit comments