mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
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:
parent
f5b957b4e7
commit
93ff3a38b3
1 changed files with 6 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue