From 2877c75dc5db0dbf664fb6170d5754068e941d91 Mon Sep 17 00:00:00 2001 From: Hikari Date: Sat, 8 Feb 2025 14:33:47 +0530 Subject: [PATCH] gnu: libcxx: Update to 19.1.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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: 宋文武 --- gnu/packages/llvm.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 5052107369988733ef927a40c32286c5d2d3642d..c8459bd2991ec9353c70eaf2a047f3d7e53a9fcc 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -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