mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
135875a86c
commit
c6540b08d1
1 changed files with 7 additions and 1 deletions
|
@ -157,7 +157,13 @@ as \"x86_64-linux\"."
|
|||
(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…
Add table
Add a link
Reference in a new issue