Skip to content

Commit

Permalink
USE_CERES=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 7, 2024
1 parent eefa31f commit 8df8b8f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions build-wheels-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ cmake -LAH -DCMAKE_INSTALL_PREFIX=$PWD/install \
-DUSE_SPHINX=OFF \
-DOPENTURNS_HAVE_USELOCALE=0 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.0 \
-DUSE_CERES=OFF \
..
make install

Expand Down Expand Up @@ -112,13 +113,15 @@ do
# write metadata
python${PYVER} ${SCRIPTPATH}/write_distinfo.py ${pkgname} ${pkgver} ${TAG}

# create archive
zip -r ${pkgname}-${pkgver}-${TAG}.whl ${pkgname} ${pkgname}-${pkgver}.dist-info
# copy libs
mkdir ${pkgname}.dylibs
cp -v ../../lib${pkgname}.0.dylib ${pkgname}.dylibs
otool -l ${pkgname}.dylibs/lib${pkgname}.0.dylib
install_name_tool -change libOT.0.24 @rpath/../openturns.dylibs ${pkgname}.dylibs/lib${pkgname}.0.dylib
otool -l ${pkgname}.dylibs/lib${pkgname}.0.dylib

# gather dependencies
delocate-listdeps ${pkgname}-${pkgver}-${TAG}.whl
delocate-wheel -w ${SCRIPTPATH}/wheelhouse -v ${pkgname}-${pkgver}-${TAG}.whl
delocate-listdeps --all ${SCRIPTPATH}/wheelhouse/${pkgname}-${pkgver}-${TAG}.whl
# create archive
zip -r ${SCRIPTPATH}/wheelhouse/${pkgname}-${pkgver}-${TAG}.whl ${pkgname} ${pkgname}.dylibs ${pkgname}-${pkgver}.dist-info

# test
cd /tmp
Expand Down

0 comments on commit 8df8b8f

Please sign in to comment.