Commit Graph

31 Commits

Author SHA1 Message Date
Frank Denis
31a876a525 build scripts: compile deprecated functions if LIBSODIUM_FULL_BUILD is defined 2018-03-14 12:01:10 -07:00
Frank Denis
5ebc0d4029 Embed bitcode in iOS builds 2018-02-24 01:47:51 +01:00
Frank Denis
88c1dd29ce Disable LTO in ios/osx build scripts 2017-12-31 00:57:16 +01:00
Frank Denis
b5b67d074e Add -fembed-bitcode to the iOS 64 target, for WatchOS and TVOS 2017-07-31 14:54:15 +02:00
Adriaan Duz
dbd7026bc5 Add armv7s architecture to dist-build/ios.sh (#528) 2017-04-07 07:16:44 -07:00
Frank Denis
6e2b119d86 Use xcodebuild to retrieve the XCode version 2016-09-18 10:46:59 +02:00
Frank Denis
ed19556c2f XCode 8 may not be able to compile for iOS 5 and more 2016-09-18 09:21:53 +02:00
Frank Denis
1766e13a0e Pass --host to compile for the iOS simulator 2016-09-18 09:04:19 +02:00
Frank Denis
cb1b6a4a2f Use -O2 & -flto for iOS targets 2015-11-30 00:17:22 +01:00
Frank Denis
e0ad286258 Remove armv7s from the iOS build script 2015-08-04 13:51:12 +02:00
Frank Denis
34176344fe iOS: install the library into $PREFIX/lib 2015-07-18 17:44:45 +02:00
Frank Denis
c5556527ea + simple OSX build script 2015-04-20 12:47:12 +02:00
Frank Denis
ffc98b37b9 Let dist-build/ios.sh compile only for iOS and the iOS emulator. 2015-04-18 18:41:48 +02:00
Frank Denis
a26a126a51 Slightly revamp dist-build/ios.sh
- Compile arm32 and arm64 targets separately
- Compile for the iOS simulator

The resulting fat library include arm32, arm64, 32-bit simulator and
64-bit OSX targets.

This is a bit better than what we previously had regarding the simulator,
but still not optimal, as the 64-bit simulator version should also be
included. However, a fat library cannot include both the 64-bit simulator
version and a version for OSX since the architecture is the same.

The proper way to address this is probably to generate two libraries.
This requires some prior changes to Swift-Sodium.
2015-04-18 11:50:27 +02:00
Frank Denis
c7492a4bae Make IPHONEOS_VERSION_MIN overridable 2014-12-26 23:01:38 +01:00
Frank Denis
9af34c5766 Compile for armv7s 2014-12-16 19:33:58 +01:00
clowwindy
b97c7f4f88 build both i386 and x86_64 for iOS simulator 2014-12-12 16:43:55 +08:00
clowwindy
d5acdd7f40 fix typo 2014-12-12 16:35:38 +08:00
Frank Denis
32cf1d50fa Since we're compiling for OSX, run the test suite. 2014-12-11 00:35:31 -08:00
Frank Denis
ba3fdb4790 Display what the fat library contains 2014-12-10 21:43:55 -08:00
Frank Denis
a96eb971b4 If the OSX code in ios.sh is just for the simulator, using -Oz is fine 2014-12-10 21:41:31 -08:00
Frank Denis
f2b034867e dist-build/ios: remove existing headers 2014-12-10 21:40:49 -08:00
Frank Denis
1ee6da8107 Make the output more readable 2014-12-10 21:27:10 -08:00
Frank Denis
d8deef19ef Use make distclean for cleanup; tell the user where it's been installed 2014-12-10 21:23:24 -08:00
Frank Denis
d050dbbed5 Cleanup -> make distclean 2014-12-10 21:22:01 -08:00
Frank Denis
997485ac22 Use the same options on OSX and iOS 2014-12-10 21:21:15 -08:00
Jack Wink
28edcc1885 update iOS build script to include arm64 and current OSX machine arch 2014-12-11 00:17:10 -05:00
Frank Denis
2ee447ff14 iOS: add -miphoneos-version-min 2014-11-20 14:01:35 -08:00
Frank Denis
729a54f4a2 Use --enable-minimal in the Android and iOS builds 2014-08-13 23:32:26 -07:00
Frank Denis
dda77990f8 Target iOS 8.0 2014-06-29 10:55:13 -07:00
Frank Denis
884eac37ce iphone.sh -> ios.sh 2014-04-24 22:59:00 -07:00