1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: libcxx: Update to 19.1.4.

* gnu/packages/llvm.scm (libcxx): Update to 19.1.4.
[native-inputs]: Replace clang with clang-19.  Add libuwind-headers.
[arguments]<#:configure-flags>: Add libunwind to LLVM_ENABLE_RUNTIMES.

Change-Id: I8235077727b6f54edddc60d9bf1c4c9de93b32fe
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Hikari
2025-02-08 14:33:47 +05:30
committed by 宋文武
parent e07637a4a8
commit 2877c75dc5

View File

@@ -1858,14 +1858,14 @@ which highly leverage existing libraries in the larger LLVM project.")
(define-public libcxx
(package
(name "libcxx")
(version (package-version llvm-15))
(version (package-version llvm-19))
(source (llvm-monorepo version))
(build-system cmake-build-system)
(arguments
(list
#:tests? #f
#:configure-flags
#~(list "-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi"
#~(list "-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind"
"-DCMAKE_C_COMPILER=clang"
"-DCMAKE_CXX_COMPILER=clang++"
;; libc++.so is actually a GNU ld style linker script, however,
@@ -1894,7 +1894,7 @@ which highly leverage existing libraries in the larger LLVM project.")
(getenv "CPLUS_INCLUDE_PATH"))
#t))))))
(native-inputs
(list clang llvm python))
(list clang-19 libunwind-headers llvm python))
(home-page "https://libcxx.llvm.org")
(synopsis "C++ standard library")
(description