From 2fd39a614325a7b78635ede1f0d3118fd5c45773 Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Mon, 28 Feb 2022 23:41:50 +0800 Subject: [PATCH] emscripten: mention ndk-sysroot in test notes Well yes, as a byproduct of passing emscripten test suite, you can use close-to-upstream emscripten-llvm clang to build native Android binaries. Starting LLVM 15, I stopped building libunwind as the build method no longer works (most likely not supported anymore) and its unknown how much differs from the one shipped in NDK. You can still build native executables by installing ndk-sysroot which includes libunwind. emscripten-llvm will not hard depend on ndk-sysroot as the focus is WebAssembly. --- packages/emscripten/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/emscripten/build.sh b/packages/emscripten/build.sh index eb8db6801..a114d6db4 100644 --- a/packages/emscripten/build.sh +++ b/packages/emscripten/build.sh @@ -294,7 +294,7 @@ termux_step_create_debscripts() { # https://github.com/emscripten-core/emscripten/issues/9098 # # Steps: -# - pkg install emscripten-tests-third-party openjdk-17 +# - pkg install emscripten-tests-third-party ndk-sysroot openjdk-17 # - cd $PREFIX/opt/emscripten # - npm install --no-optional # - export EMTEST_SKIP_V8=1