guix-commits
[Top][All Lists]
Advanced

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

230/237: gnu: clang-runtime-19: Build with gcc-14.


From: guix-commits
Subject: 230/237: gnu: clang-runtime-19: Build with gcc-14.
Date: Fri, 24 Jan 2025 11:07:05 -0500 (EST)

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

commit 8f49e9b9bb8eb8a1ea3ac2b0355e7053028096a0
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 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index faa1bc5826..754793ce95 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -27,7 +27,7 @@
 ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
 ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
-;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -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]