nongnu: wasm32-wasi-libcxx: Update to 15.
* nongnu/packages/wasm.scm (llvm-monorepo): New variable. (wasm32-wasi-libcxx): Update to 15. [source]: Use llvm-monorepo. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
5363d9e332
commit
0a8051650b
|
@ -102,6 +102,7 @@ other APIs.")
|
||||||
;; upstream Guix's support for cross-compiling with clang.
|
;; upstream Guix's support for cross-compiling with clang.
|
||||||
|
|
||||||
(define clang-from-llvm (@@ (gnu packages llvm) clang-from-llvm))
|
(define clang-from-llvm (@@ (gnu packages llvm) clang-from-llvm))
|
||||||
|
(define llvm-monorepo (@@ (gnu packages llvm) llvm-monorepo))
|
||||||
|
|
||||||
(define-public wasm32-wasi-clang
|
(define-public wasm32-wasi-clang
|
||||||
(let ((base (clang-from-llvm llvm-15 wasm32-wasi-clang-runtime)))
|
(let ((base (clang-from-llvm llvm-15 wasm32-wasi-clang-runtime)))
|
||||||
|
@ -125,17 +126,8 @@ other APIs.")
|
||||||
(define-public wasm32-wasi-libcxx
|
(define-public wasm32-wasi-libcxx
|
||||||
(package
|
(package
|
||||||
(name "wasm32-wasi-libcxx")
|
(name "wasm32-wasi-libcxx")
|
||||||
(version "13.0.0")
|
(version (package-version llvm-15))
|
||||||
(source
|
(source (llvm-monorepo version))
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/llvm/llvm-project")
|
|
||||||
(commit (string-append "llvmorg-" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0cjl0vssi4y2g4nfr710fb6cdhxmn5r0vis15sf088zsc5zydfhw"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
|
Loading…
Reference in New Issue
Block a user