From 5fcf21142c9bc90ecae60826e0a2e70357769666 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 30 Nov 2024 04:40:54 +0000 Subject: crossdev: build openmp, fortran by default for nvptx Followup to c272f335f8b0df15f724e9ee3e2289a9deddbd11. Bug: https://bugs.gentoo.org/945296 Signed-off-by: Sam James --- crossdev | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crossdev b/crossdev index f26da45..1c2650f 100755 --- a/crossdev +++ b/crossdev @@ -303,11 +303,14 @@ parse_target() { KPKG="[none]" BPKG="nvptx-tools" LPKG="newlib" - STAGE_DEFAULT=${STAGE_LIBC} + # Offloading targets are only really useful with + # openmp, unless doing standalone bare minimum testing. + # They also often want Fortran. + STAGE_DEFAULT=${STAGE_C_CPP} + GUSE+=" cxx openmp fortran" # TODO: deduplicate this with newlib block below GMASK+=" default-stack-clash-protection hardened ssp" - GUSE+=" cxx" GUSE+=" -hardened" #687598, needs -fstack-check=specific support GUSE+=" -default-stack-clash-protection -ssp" # SSP isn't supported for freestanding anyway MULTILIB_USE="yes" #407275 -- cgit v1.2.3-65-gdbad