Skip to content

Commit

Permalink
fix ios simulator builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm174 committed Jun 28, 2024
1 parent 1fa5cd5 commit b72effb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions platforms/ios-simulator/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,18 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.zip -o libserum.zip
curl -sL https://github.com/jsm174/libserum/archive/${LIBSERUM_SHA}.zip -o libserum.zip
unzip libserum.zip
cd libserum-$LIBSERUM_SHA
cmake \
-DPLATFORM=ios \
-DPLATFORM=ios-simulator \
-DARCH=arm64 \
-DBUILD_SHARED=OFF \
-DBUILD_STATIC=ON \
-DCMAKE_OSX_SYSROOT=iphonesimulator \
-DCMAKE_OSX_DEPLOYMENT_TARGET=17.0 \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-B build
cmake --build build -- -j${NUM_PROCS}
cp src/serum.h ../../third-party/include/
cp src/serum-decode.h ../../third-party/include/
cp build/libserum.a ../../third-party/build-libs/ios-simulator/arm64/
cd ..
Expand Down
1 change: 0 additions & 1 deletion platforms/ios/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ cmake \
cmake --build build -- -j${NUM_PROCS}
cp src/serum.h ../../third-party/include/
cp src/serum-decode.h ../../third-party/include/

cp build/libserum.a ../../third-party/build-libs/ios/arm64/
cd ..

Expand Down

0 comments on commit b72effb

Please sign in to comment.