Skip to content

Commit

Permalink
Build for simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Nov 16, 2023
1 parent dafd2f8 commit 51648bf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion c-blosc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,14 @@ cmake -DCMAKE_INSTALL_PREFIX=$prefix/install-ios \
cmake --build . --target install
cd ..

mkdir build-ios-sim
cd build-ios-sim
cmake -DCMAKE_INSTALL_PREFIX=$prefix/install-ios-sim \
-DCMAKE_TOOLCHAIN_FILE=../../ios.toolchain.cmake \
-DPLATFORM=SIMULATORARM64 \
..
cmake --build . --target install
cd ..
rm -rf c-blosc-1.21.5 v1.21.5.tar.gz

cd ..
rm -rf c-blosc-1.21.5 v1.21.5.tar.gz

0 comments on commit 51648bf

Please sign in to comment.