Skip to content

Commit

Permalink
Adding iOS binaries w/additions to compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyKaylor committed Jul 21, 2023
1 parent e378fd9 commit a24534a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lmdb/compile-lmdb-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ cd ./lmdb/libraries/liblmdb
git checkout LMDB_0.9.29
make clean
# Start with the tagged version release.
make CC='xcrun --sdk iphoneos --toolchain iphoneos clang -arch armv7s'
mv ./liblmdb.so ../../../../src/LightningDB/runtimes/ios-arm/native/liblmdb.dylib
make clean
make CC='xcrun --sdk iphoneos --toolchain iphoneos clang -arch arm64'
mv ./liblmdb.so ../../../../src/LightningDB/runtimes/ios-arm64/native/liblmdb.dylib
make clean
make CC='xcrun --sdk iphonesimulator --toolchain iphoneos clang -arch arm64'
mv ./liblmdb.so ../../../../src/LightningDB/runtimes/iossimulator-arm64/native/liblmdb.dylib
make clean
make CC='xcrun --sdk iphonesimulator --toolchain iphoneos clang -arch x86_64'
mv ./liblmdb.so ../../../../src/LightningDB/runtimes/iossimulator-x64/native/liblmdb.dylib
make clean
make
mv ./liblmdb.so ../../../../src/LightningDB/runtimes/osx-arm64/native/lmdb.dylib
make clean
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit a24534a

Please sign in to comment.