Commit Graph

226 Commits

Author SHA1 Message Date
Frank Denis
cdf863c731 Disable PIE on Android 2015-01-31 12:31:08 +01:00
Frank Denis
0938b7cf9a Export _crypto_generichash_statebytes() 2015-01-24 11:30:05 +01:00
Frank Denis
dd5224791b Re-add filesystem support for the library 2015-01-18 00:59:59 +01:00
Frank Denis
00f8156457 Do not hardcode the node binary 2015-01-18 00:52:14 +01:00
Frank Denis
98c96f4c99 No browser, no filesystem support required 2015-01-18 00:42:34 +01:00
Frank Denis
e7f410de10 Emscripten: don't use a memory init file any more.
It doesn't take that long to load the module, and it's going to make
users' life way easier.
2015-01-17 22:11:10 +01:00
Frank Denis
87972313d6 Do not export sysrandom symbols on Emscripten 2015-01-17 14:27:37 +01:00
Frank Denis
fa25d38288 Export _crypto_pwhash_scryptsalsa208sha256_ll 2015-01-17 12:42:51 +01:00
Frank Denis
c1b813c16a Emscripten: reserve space for 8 function pointers 2015-01-17 12:37:21 +01:00
Martin Hamrle
17247f7c99 Use bash for NDK make toolchain 2015-01-15 18:34:27 +01:00
Frank Denis
9b85fddfa9 Abort if the JS tests don't pass 2015-01-15 11:26:46 +01:00
Frank Denis
cd67cb17e5 Emscripten: add a file to mark that the build completed, for libsodium.js 2015-01-15 10:59:06 +01:00
Frank Denis
36d3d7cb5b Use io.js instead of node, if available. 2015-01-14 08:20:17 +01:00
Frank Denis
2262a592e6 Export the precomputed interface to emscripten 2015-01-06 17:59:52 +01: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
b53f5c7f74 The node binary was renamed nodejs on Ubuntu. 2014-12-04 10:28:49 -08:00
Frank Denis
4aac60f9a2 Ship android-armv7.sh 2014-12-01 19:47:04 -08:00
Frank Denis
4c1073e4e5 Exporting crypto_box and crypto_secretbox doesn't make sense in Javascript. 2014-11-30 20:00:10 -08:00
Frank Denis
f562d561d8 sodium_utils2 and sodium_utils3 cannot work in Javascript; this is expected. 2014-11-29 22:45:41 -08:00
Frank Denis
6fe4aeaf01 Emscripten: update the list of exported functions 2014-11-29 20:42:16 -08:00
Frank Denis
61620d7e42 Make 'make check' actually run the tests on Emscripten. 2014-11-25 09:51:39 -08:00
Frank Denis
db5b51042a Don't export the JS function names in LDFLAGS. 2014-11-22 14:53:16 -08:00
Frank Denis
e7069f0363 Do not use "=" with "--" options 2014-11-22 11:43:23 -08: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
88ff698bfb --llvm-lto 1 produces smaller Javascript code.
Also add the symbol map.
2014-08-05 23:24:03 -07:00
Frank Denis
85acbd0020 Do not export low-level functions to Javascript by default 2014-08-05 23:09:39 -07:00
Frank Denis
658ae19e0b Update the list of symbols exported to Javascript. 2014-08-05 22:23:14 -07:00
Frank Denis
80f9d943f7 Export all the symbols to Emscripten 2014-07-12 21:42:16 -07:00
Frank Denis
64c70e0612 Bump up the max allowed memory for Emscripten. Might be required for scrypt. 2014-07-12 19:25:17 -07:00
Frank Denis
e6e0b7d498 Use --enable-minimal with the Javascript build 2014-07-09 21:14:27 -07:00
Frank Denis
dda77990f8 Target iOS 8.0 2014-06-29 10:55:13 -07:00
Frank Denis
27a33a062d msys-win64 build script: do not target Pentium 2 CPUs for a 64 bit build... 2014-05-13 21:03:12 -07:00
Frank Denis
d33d0f08e0 Preliminary build script for Emscripten 2014-05-06 14:43:46 -07:00
Frank Denis
2094263048 Update Win32/Win64 build scripts 2014-05-05 15:50:15 -07:00
Frank Denis
f2f126fdfd Remove empty lines 2014-05-01 10:54:00 -07:00
Frank Denis
884eac37ce iphone.sh -> ios.sh 2014-04-24 22:59:00 -07:00
Frank Denis
9b82685f14 Remove bashism 2014-03-04 09:20:53 -08:00
Sergey Shatunov
2c48c844d4 Split for armv6 and armv7 archs in buildscripts 2014-02-24 17:21:15 +08:00
Simon Levermann
c62bbd0b6f Update android build script
Use the --disable-soname-versions option for android
2014-02-20 17:56:54 +01:00
Sergey Shatunov
16a7691ead Build scripts for android arm/x86/mips 2014-02-17 17:31:35 +08:00
Frank Denis
3aa856474a Distribute the dist-build directory 2013-12-31 16:16:29 +01:00
Frank Denis
b989d28925 Do not require droid-gcc any more to compile for Android 2013-12-31 16:07:01 +01:00
Frank Denis
eab6ff79d4 Add a build script for msys-win64, rename msys.sh to msys-win32.sh 2013-12-30 17:54:43 +01:00
Frank Denis
9927b7460e Target iOS 7.1 2013-11-18 14:59:25 -08:00
Frank Denis
deb18cd490 Update the link to droid-wrapper 2013-10-29 20:17:36 -07:00
Frank Denis
d83a4bdb6c Move back to Xcode.app 2013-10-04 18:36:34 -07:00
Frank Denis
9db373dd6a Install msys binaries in a local directory 2013-09-09 11:51:25 -07:00
Frank Denis
faf6f5cbc1 iPhone / Android targets: issue an explicit make clean every time.
Often useful to automatically wipe forgotten leftovers from a different target.
2013-09-07 17:06:56 -07:00
Frank Denis
4cbfd71d88 Bump Android NDK version 2013-09-04 00:16:00 -07:00
Frank Denis
93aaa0e1a9 Target iOS 7 2013-07-20 17:40:23 -07:00
Alexander Kjeldaas
b01ebe6caf Check prerequisites in android.sh 2013-06-13 10:11:28 +02:00
Frank Denis
0ad0f3e1ce Disable PIE on Android 2013-06-09 12:14:31 -07:00
Frank Denis
39a54324fb Update Android & iPhone build scripts to build static libraries only. 2013-05-30 22:56:18 -07:00
Frank Denis
a461cb00cd Export NDK_ANDROID_SOURCES 2013-05-04 13:16:57 -07:00
Frank Denis
6aa35882eb Android: target Gingerbread, but downgrade the toolchain to 4.3.3 2013-04-27 11:18:08 -07:00
Frank Denis
9ce73f07e5 Bump Android NDK version 2013-04-25 22:57:55 -07:00
Frank Denis
9131967397 We don't need libltdl 2013-04-25 22:51:19 -07:00
Frank Denis
ecb70e2f77 Use included ltdl 2013-04-24 11:50:59 -07:00
Frank Denis
66c6df11bd Retweak msys compile script 2013-04-24 11:50:20 -07:00
Frank Denis
0ca48ff21c Tweak msys flags 2013-04-24 11:48:51 -07:00
Frank Denis
a2eeafe2ed Update Android toolchain version 2013-04-22 11:43:35 -07:00
Frank Denis
f7e643a75c Back to a stable Xcode version. 2013-02-08 01:25:55 -08:00
Frank Denis
4e51588674 Add build scripts for iOS, Android and MSYS. 2013-01-21 21:25:49 -08:00