mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: clang-runtime-18: Build with gcc-12.
Avoid 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 by reverting back to gcc-12. * gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-12 for version 18. Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
This commit is contained in:
parent
10b6c95e73
commit
166d8fb84a
1 changed files with 7 additions and 1 deletions
|
@ -155,7 +155,13 @@ (define* (clang-runtime-from-llvm llvm
|
|||
(patches (map search-patch patches)))
|
||||
(llvm-monorepo (package-version llvm))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs (package-native-inputs llvm))
|
||||
(native-inputs
|
||||
(cond ((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
|
||||
(modify-inputs (package-native-inputs llvm)
|
||||
(prepend gcc-12)))
|
||||
(else (package-native-inputs llvm))))
|
||||
(inputs
|
||||
(append
|
||||
(list llvm)
|
||||
|
|
Loading…
Reference in a new issue