mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-09 14:40:36 +02:00
This is accomplished by building LLVM only for the host target. * gnu/packages/llvm.scm (llvm-cling) [configure-flags]: Add '-DLLVM_TARGETS_TO_BUILD=host;NVPTX'. Cover-letter: Update cling to 1.1 and wrap with GCC include paths This series does two things: 1. Update the cling package and its related inputs 2. Fix cling crashing when wrong or missing GCC includes were not provided. Cling is built to use the specific GCC version it knows from at build time; the headers available should match that version. Wrapping cling with the gcc-toolchain ones ensures it works correctly out of the box, without the user having to know to manually match the right GCC (such as in 'guix shell cling gcc-toolchain@11'). END Change-Id: Ib24d3b692070e6de9ad4aa558918786d9e25379d
99 KiB
99 KiB