417 Commits

Author SHA1 Message Date
Frank Denis
85ddc5c2c6 apple-xcframework.sh: remove i386 iOS simulators 2025-08-28 23:09:19 +02:00
Frank Denis
93030d2cae apple-xcframework.sh: force cross-compilation when relevant
Works around instabilities of the latest Tahoe beta version
2025-08-28 23:04:19 +02:00
Frank Denis
ce526f94aa apple-xcframework.sh: remove support for iOS32 2025-08-28 15:39:50 +02:00
Frank Denis
e9b1fa92c9 Import dist-build/android-aar.sh readability 2025-02-20 15:36:43 +01:00
Frank Denis
4d96d503f0 Try to go to the NDK directory containing "source.properties" 2025-02-20 15:14:07 +01:00
Frank Denis
97616c3ace Check for ANDROID_NDK definition in android-aar.sh
Otherwise, the script can report success even though nothing compiles.
2025-02-20 15:03:06 +01:00
Frank Denis
ea2d5b11dc Indent Android build scripts 2025-02-20 14:50:57 +01:00
ReenigneCA
5d1aea483f Android build scripts update for SDK level (#1443)
* Android build scripts: Changed default SDK level to 21; enabled specifying NDK_PLATFORM environment variable for custom SDK level; misc cleanup of Android build scripts

* Update android-aar.sh

I forgot to hit save on the script after making this change locally. The script works either way but by setting this value again in android-build.sh people can more easily build arch specific binaries if they want so the export is unnecessary but also rather meaningless.
2025-02-20 14:37:26 +01:00
Frank Denis
9c530b8aff Set the default Android platform to 21
Also explain that the "zip" command is required to build AAR archives
and that NDK_PLATFORM can be used to override the target platform.

Fixes #1440
2025-01-16 14:37:51 +01:00
Frank Denis
1d9fec9566 apple-xcframework: add arm64e builds 2024-12-21 17:00:51 +01:00
Frank Denis
7dea8e7356 xcframework: build full builds by default 2024-12-10 14:32:56 +01:00
Frank Denis
babb0dd860 Sync 2024-09-25 21:42:41 +02:00
Frank Denis
101610670a Remove empty line 2024-09-18 12:40:45 +02:00
Saud Khan
d2694fc37d Add support for Android's new 16K page sizes (#1407) 2024-09-11 16:04:43 +02:00
Frank Denis
0c1ea8aa4d Regen dist-build/emscripten.sh 2024-07-08 18:29:09 +02:00
Frank Denis
7858b58b35 emscripten: create JS-only builds 2024-05-23 15:42:35 +02:00
Frank Denis
9703516a5e Try running the JavaScript tests with Bun before Node 2024-05-20 21:37:16 +02:00
Frank Denis
b582d20ab4 WASI: disable PIE. PIE doesn't work with WASI. 2024-05-19 11:22:21 +02:00
Nikita Savko
8806992b1b Fixed xcframework build for iOS 11 and later (#1361)
* Fixed inability to create xcframework with minimal iOS deployment target newer than iOS 10.x

* Set OS_VERSION_MIN as default value for OS_SIMULATOR_VERSION_MIN
2024-03-25 17:15:38 +01:00
Frank Denis
e08d3e59e1 Emscripten: export crypto_aead_aegis* in standard builds 2024-03-24 10:44:55 +01:00
小明
7e6ea701b7 fixed inability to create xcframework in Symbolic Link (#1356)
Creating Clibsodium.xcframework...
error: cannot compute path of binary 'Path(str: "/private/tmp/libsodium-stable/libsodium-apple/macos/lib/libsodium.a")' relative to that of '/tmp/libsodium-stable/libsodium-apple/macos/lib/libsodium.a'
ls: /tmp/libsodium-stable/libsodium-apple/Clibsodium.xcframework: No such file or directory

ls -l /tmp
lrwxr-xr-x@ 1 root  wheel  11 12 15 22:43 /tmp -> private/tmp
2024-02-29 11:19:58 +01:00
Frank Denis
93a6e79750 Sync 2023-11-30 15:45:40 +01:00
Frank Denis
712d0f3fb9 Bump dev version 2023-11-29 22:10:35 +01:00
Frank Denis
5466030cce egrep -> grep -E 2023-11-23 13:34:36 +01:00
Frank Denis
16cd369c65 Don't compile for VisionOS if Xcode doesn't support it
Drop APPLE_SILICON_SUPPORTED, since Xcode has had support for it
for ages.
2023-10-20 15:15:13 +02:00
Frank Denis
0e0e2c1640 Use -O3 instead of -Ofast in dist-build scripts as well 2023-10-20 12:21:06 +02:00
Frank Denis
7e3500e878 xcframework: use proper --host= flags for Apple targets 2023-09-22 20:03:11 +02:00
Frank Denis
41f34e89bc darwin10 -> darwin23 2023-09-22 19:52:48 +02:00
Frank Denis
314f603929 Add support for VisionOS 2023-09-09 10:56:02 +02:00
Frank Denis
9dc6b80d8c Bump dev version 2023-09-08 21:44:54 +02:00
Frank Denis
5755a5c009 emscripten: remove pwhash_* from non-sumo builds
Also use different memory settings for js and wasm builds
2023-02-16 20:12:54 +01:00
Frank Denis
6bb5197c2c emscripten: enable EVAL_CTORS for WASM builds 2023-02-16 19:25:56 +01:00
Frank Denis
82696ef8c4 emscripten: setting Module.TOTAL_MEMORY doesn't do anything 2023-02-15 20:16:14 +01:00
Frank Denis
ee009287af The --stack-first link option doesn't exist any more 2023-02-07 18:38:23 +01:00
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