Commit Graph
383 Commits
Author SHA1 Message Date
Frank Denis 9cad824a9c apple-xcframework.sh: add the ability to skip simulators 2023-01-16 13:34:10 +01:00
Frank Denis 1bd73c1a68 Add crypto_kdf_hkdf_sha{256,512}_extract_{init,update,final} 2023-01-08 22:16:34 +01:00
Frank Denis ab7c855fc4 wasm32-wasi.sh: match the number of iterations from build.zig 2022-12-20 08:30:59 +01:00
Frank Denis 408125a72b Add AEGIS-256 software support 2022-12-10 00:03:42 +01:00
Frank Denis 11d2fa5bb0 Add AEGIS-128L software support 2022-12-09 21:12:35 +01:00
Frank Denis 7948584fb7 generate-emscripten-symbols.sh: allows the lib path to be overridden 2022-12-09 21:12:35 +01:00
Frank Denis 415bce5d97 dist-build: use -Ofast or -O3 2022-11-21 13:01:44 +01:00
Elie Hage 3a99e1ec8a Add support for arm64 watchOS (#1211) 2022-09-23 17:29:44 +02:00
Javier Navarro 907c2b64ef ios: remove the support for bitcode (#1210) 2022-09-19 14:04:02 +02:00
Frank Denis cc7e7de81d Catalyst: iOS 13.1 is the minimum target for Xcode 13
Fixes #1167
2022-04-03 00:00:54 +02:00
Frank Denis d30251f03e Improve readability 2022-02-05 20:59:16 +01:00
ReenigneCA 68baef3f03 Added script to generate all android versions and script to create AAR (#1155)
* Added script to generate all android versions and script to create AAR with prefab

* disable-pie so x86 static lib works. Update AAR to fix bug related to soname field in .so files themselves. Integrate android-all.sh into android-aar.sh

* Missed updated android-build.sh in last commit. This adds --disable-pie to the configure flags

* Added message after android-aar compilation explaining aar usage
2022-02-05 20:38:12 +01:00
Frank Denis dce3bca3ba Use deterministic signatures for benchmarking 2022-01-23 00:04:57 +01:00
Frank Denis 3b458d0eee wasm32-wasi: add /opt/homebrew/bin to the default paths 2022-01-22 23:34:25 +01:00
Frank Denis 75175f8ec6 android-build: use -z 2021-12-28 22:41:31 +01:00
Frank Denis c72dce4075 androit-build: add extra quotes 2021-12-28 22:39:25 +01:00
Frank Denis 6274dd3598 The Android NDK cannot target API level 16 any more; bump to 19 2021-12-28 22:37:53 +01:00
Frank Denis 003ad0f1c9 Don't use legacy quotes 2021-12-28 22:15:08 +01:00
ReenigneCA c3d0f1b666 update android build scripts to support latest ndk version and prebuilt toolchains (#1138)
* Update android-armv7-a.sh

update HOST_COMPILER variable to be compatible with updated android-build.sh that supports latest ndk and use of prebuilt toolchains.

* Update android-build.sh

update to allow use of prebuilt toolchains in latest ndk. The latest ndk does not support arm prior to armv7a and the HOST_COMPILER for armv7a must now be armv7a not just arm.

* Delete android-arm.sh

arm prior to armv7a is no longer supported by android ndk.

* Update android-build.sh

removing unneeded MAKE_TOOLCHAIN variable

* Update Makefile.am

removing obsolete android targets

* Delete android-mips32.sh

* Delete android-mips64.sh
2021-12-28 22:12:52 +01:00
Frank Denis 677572ec1b No need to define the STRIP command 2021-07-19 12:53:26 +02:00
Frank Denis c2d66aaec9 WASI: remove wasi-sdk dependency; build module with zig 2021-07-19 12:45:33 +02:00
Frank Denis 6efaa0264a emscripten: EXTRA_EXPORTED_RUNTIME_METHODS -> EXPORTED_RUNTIME_METHODS 2021-06-17 21:58:25 +02:00
Frank Denis 85e48722a8 Enable crypto extensions on ARMv8 2021-04-08 11:13:40 +02:00
Simon Wachter 12f03c310f emscripten: build with NODEJS_CATCH_REJECTION=0 (#1025)
This stops emscripten from adding a `unhandledRejection` handler on the global `process` object that forcefully exits the process.

This allows fixing jedisct1/emscripten.js#253 because we no longer need to remove these listeners to compensate after the fact.
2021-01-28 16:27:36 +01:00
Frank Denis eb38ff4a85 Sort 2020-12-10 22:22:38 +01:00
Frank Denis 611e1a0bc1 Typo (risretto -> ristretto)
Fixes #1014
2020-12-10 22:17:06 +01:00
Frank Denis 7af3ed9237 wasm-ld doesn't support --no-threads any more 2020-12-03 17:32:15 +01:00
Frank Denis ec552621cb apple-xcframework: add bitcode support to all emulators 2020-11-10 16:59:57 +01:00
Frank Denis 1801900486 Build the watchOS simulators with bitcode 2020-10-21 17:01:52 +02:00
Frank Denis b02dbf2519 Register _crypto_core_ristretto255_from_string_ro 2020-10-13 16:36:14 +02:00
Dan Browne 1ff1708fe4 Add tvOS support for Apple XCFramework generation. 2020-10-13 16:25:06 +02:00
Frank Denis dd72efe41f emscripten: RUNNING_JS_OPTS has been removed in recent versions 2020-10-13 16:25:06 +02:00
Frank Denis 6b51f7ffb1 Include arm64 simulators 2020-09-21 03:13:02 +02:00
Frank Denis 7f8a4d1fa5 Shared libraries may not be buildable for Catalyst 2020-09-21 00:28:05 +02:00
Frank Denis 547f5b1130 Check if the compiler supports the arm64-macos target
instead of checking that this is what the host is running.

Xcode 12 may be able to compile for Apple Silicon even on Intel
platforms already.
2020-08-06 15:59:58 +02:00
Frank Denis 882f1be006 Bring Catalyst support back, properly forcing cross-compilation 2020-08-06 15:47:10 +02:00
Frank Denis 0a213f7a93 Revert "Remove support for Catalyst"
This reverts commit a530849511.
2020-08-06 15:29:22 +02:00
Frank Denis a530849511 Remove support for Catalyst 2020-08-05 18:17:26 +02:00
Frank Denis d8fbab4f85 xcframework: also compile for macOS, rename to apple-xcframework.sh 2020-08-05 17:42:38 +02:00
Frank Denis 68b64b6ab8 OSX -> MACOS 2020-08-05 17:34:44 +02:00
Frank Denis 7e9095bcc5 WASI: Put the stack before globals
See https://github.com/ziglang/zig/issues/4496
2020-07-28 15:06:04 +02:00
Frank Denis e60ac864bc ios-xcframework: build for iOS/watchOS on all platforms
Xcode 12 beta 3 now includes the required SDKs.
2020-07-23 20:08:13 +02:00
Frank Denis 906004be2b Update dist-build/Makefile.am after ios.sh renaming 2020-07-23 17:40:06 +02:00
Frank Denis f8eb6ef24b Rename ios.sh to ios-xcframework.sh so that the latter can go to stable 2020-07-23 16:18:54 +02:00
Frank Denis 6388063c85 ios.sh: build the XCFramework in a single pass
Via @Westacular @svdo
Fixes #985
2020-07-21 14:14:08 +02:00
Frank Denis d1d777532f ios.sh: don't build Catalyst/arm64 on x86_64 hosts for now
Fixes #980
2020-07-05 01:40:52 +02:00
Frank Denis 21d93b944a osx.sh -> macos.sh 2020-07-04 15:48:56 +02:00
Frank Denis 9340fbebe7 Format 2020-07-04 15:32:13 +02:00
Frank Denis 27f4134785 Add support for Catalyst on Apple Silicon
Of course, we should do feature detection instead of system detection,
but future Xcode 12 versions are probably going to bring things on par.
2020-07-03 22:44:43 +02:00
Frank Denis a0bee2a883 Remove ios-xcframework.sh and watchos.sh; consolidate ios.sh 2020-07-03 21:29:59 +02:00