diff options
author | 2024-11-30 04:40:54 +0000 | |
---|---|---|
committer | 2024-11-30 04:41:20 +0000 | |
commit | 5fcf21142c9bc90ecae60826e0a2e70357769666 (patch) | |
tree | e1e18e4a1697d688c2e9302be8367967a4684e90 | |
parent | crossdev: don't turn off openmp/fortran for nvptx (diff) | |
download | crossdev-5fcf21142c9bc90ecae60826e0a2e70357769666.tar.gz crossdev-5fcf21142c9bc90ecae60826e0a2e70357769666.tar.bz2 crossdev-5fcf21142c9bc90ecae60826e0a2e70357769666.zip |
crossdev: build openmp, fortran by default for nvptx20241130.1
Followup to c272f335f8b0df15f724e9ee3e2289a9deddbd11.
Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | crossdev | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |