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
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 14:18:39 +01:00
parent 1198e662af
commit 162d2580e0
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -156,7 +156,9 @@ (define* (clang-runtime-from-llvm llvm
(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