nongnu: wasm32-wasi-clang-runtime: Update to 15.

* nongnu/packages/wasm.scm (wasm32-wasi-clang-runtime): Update to 15.
[native-inputs]: Use clang-15.
[inputs]: Use llvm-15.
[arguments]<#:configure-flags>: Adapt path to LLVM monorepo.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Pierre Langlois 2022-12-24 20:38:24 +00:00 committed by Jonathan Brielmaier
parent 46b008f905
commit aa13a54617
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -67,11 +67,11 @@ other APIs.")
license:expat))))
(define-public wasm32-wasi-clang-runtime
(package (inherit clang-runtime-13)
(package (inherit clang-runtime-15)
(native-inputs
(list clang-13
(list clang-15
wasi-libc))
(inputs (list llvm-13))
(inputs (list llvm-15))
(arguments
(list
#:build-type "Release"
@ -94,9 +94,7 @@ other APIs.")
;; WASM only needs libclang_rt.builtins-wasm32.a from
;; compiler-rt.
(string-append "../compiler-rt-"
#$(package-version clang-runtime-13)
".src/lib/builtins"))))))
"../source/compiler-rt/lib/builtins")))))
;; FIXME: Ideally we wouldn't need to build a separate compiler because clang
;; can support multiple targets at runtime. However Guix patches the default