Frank Denis
db64ee1787
Bump the minimum iOS version to iOS 9
Add stricter checks for getrandom()/getentropy()
5 years ago
Frank Denis
b614cfc37f
Bump iOS min version to 8.0.0
5 years ago
0xmatthias
84492eac88
building shared library for ios.sh
5 years ago
Frank Denis
5b05324268
More aggressive check for getrandom() and getentropy() usability
In particular, they can be present, but not usable for a given
compatibility level. This is especially expected on iOS and Android.
5 years ago
Frank Denis
7d4976a304
Check NPROCESSORS_ONLN in addition to _NPROCESSORS_ONLN
6 years ago
Frank Denis
816cef5de4
Hide getconf errors
6 years ago
joshjdevl
212187f87c
using POSIX getconf for number of available processors http://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html
6 years ago
Daniel Persson
c7f0f05209
I turned it around.
6 years ago
Daniel Persson
9d582340c4
Change so we set depending on a full build flag.
6 years ago
Daniel Persson
2f4d911300
Change so all builds will allow full builds.
6 years ago
Frank Denis
94e04fe530
Embed bitcode in iOS builds
6 years ago
Frank Denis
9ebe443bc7
Who's still using XCode < 8 ?
7 years ago
Frank Denis
7dee41abee
Disable LTO in ios/osx build scripts
7 years ago
Frank Denis
b5b67d074e
Add -fembed-bitcode to the iOS 64 target, for WatchOS and TVOS
7 years ago
Adriaan Duz
dbd7026bc5
Add armv7s architecture to dist-build/ios.sh ( #528 )
7 years ago
Frank Denis
6e2b119d86
Use xcodebuild to retrieve the XCode version
8 years ago
Frank Denis
ed19556c2f
XCode 8 may not be able to compile for iOS 5 and more
8 years ago
Frank Denis
1766e13a0e
Pass --host to compile for the iOS simulator
8 years ago
Frank Denis
cb1b6a4a2f
Use -O2 & -flto for iOS targets
9 years ago
Frank Denis
e0ad286258
Remove armv7s from the iOS build script
9 years ago
Frank Denis
34176344fe
iOS: install the library into $PREFIX/lib
9 years ago
Frank Denis
c5556527ea
+ simple OSX build script
9 years ago
Frank Denis
ffc98b37b9
Let dist-build/ios.sh compile only for iOS and the iOS emulator.
9 years ago
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.
9 years ago
Frank Denis
c7492a4bae
Make IPHONEOS_VERSION_MIN overridable
10 years ago
Frank Denis
9af34c5766
Compile for armv7s
10 years ago
clowwindy
b97c7f4f88
build both i386 and x86_64 for iOS simulator
10 years ago
clowwindy
d5acdd7f40
fix typo
10 years ago
Frank Denis
32cf1d50fa
Since we're compiling for OSX, run the test suite.
10 years ago
Frank Denis
ba3fdb4790
Display what the fat library contains
10 years ago
Frank Denis
a96eb971b4
If the OSX code in ios.sh is just for the simulator, using -Oz is fine
10 years ago
Frank Denis
f2b034867e
dist-build/ios: remove existing headers
10 years ago
Frank Denis
1ee6da8107
Make the output more readable
10 years ago
Frank Denis
d8deef19ef
Use make distclean for cleanup; tell the user where it's been installed
10 years ago
Frank Denis
d050dbbed5
Cleanup -> make distclean
10 years ago
Frank Denis
997485ac22
Use the same options on OSX and iOS
10 years ago
Jack Wink
28edcc1885
update iOS build script to include arm64 and current OSX machine arch
10 years ago
Frank Denis
2ee447ff14
iOS: add -miphoneos-version-min
10 years ago
Frank Denis
729a54f4a2
Use --enable-minimal in the Android and iOS builds
10 years ago
Frank Denis
dda77990f8
Target iOS 8.0
10 years ago
Frank Denis
884eac37ce
iphone.sh -> ios.sh
10 years ago
Frank Denis
9927b7460e
Target iOS 7.1
11 years ago
Frank Denis
d83a4bdb6c
Move back to Xcode.app
11 years ago
Frank Denis
faf6f5cbc1
iPhone / Android targets: issue an explicit `make clean` every time.
Often useful to automatically wipe forgotten leftovers from a different target.
11 years ago
Frank Denis
93aaa0e1a9
Target iOS 7
11 years ago
Frank Denis
39a54324fb
Update Android & iPhone build scripts to build static libraries only.
11 years ago
Frank Denis
f7e643a75c
Back to a stable Xcode version.
12 years ago
Frank Denis
4e51588674
Add build scripts for iOS, Android and MSYS.
12 years ago