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>
This commit is contained in:
Tomas Volf 2025-10-29 19:29:04 +01:00 committed by John Kehayias
parent f5b957b4e7
commit 93ff3a38b3
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -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"