guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

246/249: gnu: clang-runtime-19: Build with gcc-14.


From: guix-commits
Subject: 246/249: gnu: clang-runtime-19: Build with gcc-14.
Date: Mon, 6 Jan 2025 07:51:57 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit 162d2580e07a20e00cf6451987ea868c234dfdb6
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Jan 2 14:18:39 2025 +0100

    gnu: clang-runtime-19: Build with gcc-14.
    
    * gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Leave
    unaltered for version >= 19.
    
    Change-Id: I85e7aa39918b545eca43478cffa626e533183238
---
 gnu/packages/llvm.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index e96cbfccc7..84e7f0aae0 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -156,7 +156,9 @@ as \"x86_64-linux\"."
          (llvm-monorepo (package-version llvm))))
     (build-system cmake-build-system)
     (native-inputs
-     (cond ((version>=? version "18")
+     (cond ((version>=? version "19")
+            (package-native-inputs llvm))
+           ((version>=? version "18")
             ;; clang-18.1.8 doesn't build with gcc-14
             ;; 
source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:534:52:
 error: use of built-in trait ‘__remove_pointer(typename 
std::__Fuzzer::decay<_Tp>::type)’ in function signature; use library traits 
instead
             ;; clang-18.1.8 doesn't build with gcc-12



reply via email to

[Prev in Thread] Current Thread [Next in Thread]