diff options
| author | Tomas Volf <~@wolfsden.cz> | 2025-10-29 19:29:04 +0100 |
|---|---|---|
| committer | John Kehayias <john.kehayias@protonmail.com> | 2025-10-29 21:03:27 -0400 |
| commit | 93ff3a38b39c7f089af61dfeb772099596a4825e (patch) | |
| tree | d37d11ae201a1444b7aefba3fade9a66f3fc67a6 | |
| parent | f5b957b4e79cff5bf8e1321c3276567910613066 (diff) | |
nongnu: wasm32-wasi-clang-runtime: Update to 17.0.6.
* nongnu/packages/wasm.scm (wasm32-wasi-clang-runtime): Inherit from
clang-runtime-17.
[native-inputs]: Use clang-17 instead of clang-15.
[inputs]: Use llvm-17 instead of llvm-15.
[arguments]: Add -DCMAKE_SYSTEM_NAME=Generic to configure flags.gs.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
| -rw-r--r-- | nongnu/packages/wasm.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nongnu/packages/wasm.scm b/nongnu/packages/wasm.scm index fa236d1..ebdcc9f 100644 --- a/nongnu/packages/wasm.scm +++ b/nongnu/packages/wasm.scm @@ -67,11 +67,11 @@ other APIs.") license:expat)))) (define-public wasm32-wasi-clang-runtime - (package (inherit clang-runtime-15) + (package (inherit clang-runtime-17) (native-inputs - (list clang-15 + (list clang-17 wasi-libc)) - (inputs (list llvm-15)) + (inputs (list llvm-17)) (arguments (list #:build-type "Release" @@ -87,6 +87,9 @@ other APIs.") (string-append "-DCMAKE_C_FLAGS=-I " #$wasi-libc "/wasm32-wasi/include") + ;; https://github.com/llvm/llvm-project/issues/63799 + "-DCMAKE_SYSTEM_NAME=Generic" + "-DCOMPILER_RT_OS_DIR=wasi" "-DCOMPILER_RT_BAREMETAL_BUILD=On" |
