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 73
73
fail-fast : false
74
74
matrix :
75
75
include :
76
+ - os : macos-15
77
+ name : ios
78
+ cibw :
79
+ platform : " ios"
80
+
76
81
# - os: macos-13
77
82
# name: mac-pypy
78
83
# 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
186
186
ZMQ_PREFIX = " /tmp/zmq"
187
187
MACOSX_DEPLOYMENT_TARGET = " 10.15"
188
188
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
+
189
196
[tool .cibuildwheel .windows ]
190
197
before-all = " python buildutils/bundle.py licenses"
191
198
repair-wheel-command = """ \
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PYZMQ_DIR="$PWD"
7
7
LICENSE_DIR=" $PYZMQ_DIR /licenses"
8
8
test -d " $LICENSE_DIR " || mkdir " $LICENSE_DIR "
9
9
SHLIB_EXT=" .so"
10
- if [[ " $( uname) " == " Darwin" ]]; then
10
+ if [[ " $( uname) " == " Darwin" && " ${CIBW_PLATFORM :- macos} " == " macos " ]]; then
11
11
SHLIB_EXT=" .dylib"
12
12
# make sure deployment target is set
13
13
echo " ${MACOSX_DEPLOYMENT_TARGET=} "
@@ -33,7 +33,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
33
33
exit 1
34
34
;;
35
35
esac
36
- echo " building libzmq for mac ${ARCHS} "
36
+ echo " building libzmq for ${CIBW_PLATFORM :- macos} ${ARCHS} "
37
37
export CXX=" ${CC:- clang++} "
38
38
for arch in ${ARCHS} ; do
39
39
# seem to need ARCH in CXX for libtool
@@ -42,6 +42,10 @@ if [[ "$(uname)" == "Darwin" ]]; then
42
42
export CXXFLAGS=" -arch ${arch} ${CXXFLAGS:- } "
43
43
export LDFLAGS=" -arch ${arch} ${LDFLAGS:- } "
44
44
done
45
+
46
+ if [[ " ${CIBW_PLATFORM:- } " == " ios" ]]; then
47
+ echo " building libzmq for ${CIBW_PLATFORM} "
48
+ SHLIB_EXT=" .dylib"
45
49
fi
46
50
47
51
PREFIX=" ${ZMQ_PREFIX:-/ usr/ local} "
You can’t perform that action at this time.
0 commit comments