gnu: clang-runtime: Remove gcc-12,13,14 from native-inputs.

* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use
llvm's native inputs unmodified.

Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-14 22:40:14 +01:00
parent b5b2522947
commit 10b6c95e73
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -155,23 +155,7 @@ (define* (clang-runtime-from-llvm llvm
(patches (map search-patch patches)))
(llvm-monorepo (package-version llvm))))
(build-system cmake-build-system)
(native-inputs
(cond ((version>=? version "19")
;; TODO: Remove this when GCC 14 is the default.
;; libfuzzer fails to build with GCC 13
(modify-inputs (package-native-inputs llvm)
(prepend gcc-14)))
((version>=? version "18")
;; TODO: Remove this when GCC 13 is the default.
;; libfuzzer fails to build with GCC 12
(modify-inputs (package-native-inputs llvm)
(prepend gcc-13)))
((version>=? version "15")
;; TODO: Remove this when GCC 12 is the default.
;; libfuzzer fails to build with GCC 11
(modify-inputs (package-native-inputs llvm)
(prepend gcc-12)))
(else (package-native-inputs llvm))))
(native-inputs (package-native-inputs llvm))
(inputs
(append
(list llvm)