diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-22 05:20:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-22 05:40:17 +0200 |
commit | f2f7a9615fad47260a47d6fc398acdb896f6cd7a (patch) | |
tree | 78e79aabfa1d2eacb93a65301d9f9bf10c8ca471 /sys-libs | |
parent | toolchain.eclass: propagate USE=zstd to libgccjit build (diff) | |
download | gentoo-f2f7a9615fad47260a47d6fc398acdb896f6cd7a.tar.gz gentoo-f2f7a9615fad47260a47d6fc398acdb896f6cd7a.tar.bz2 gentoo-f2f7a9615fad47260a47d6fc398acdb896f6cd7a.zip |
sys-libs/libomp: Disable GPU autodetection in 17.0.6 too
Closes: https://bugs.gentoo.org/928149
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libomp/libomp-17.0.6.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/libomp/libomp-17.0.6.ebuild b/sys-libs/libomp/libomp-17.0.6.ebuild index 82c6efffb251..a2075dcce87c 100644 --- a/sys-libs/libomp/libomp-17.0.6.ebuild +++ b/sys-libs/libomp/libomp-17.0.6.ebuild @@ -113,8 +113,6 @@ multilib_src_configure() { -DLIBOMP_INSTALL_ALIASES=OFF # disable unnecessary hack copying stuff back to srcdir -DLIBOMP_COPY_EXPORTS=OFF - # prevent trying to access the GPU - -DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND ) if [[ ${build_omptarget} == ON ]]; then @@ -122,6 +120,10 @@ multilib_src_configure() { mycmakeargs+=( -DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=$(usex llvm_targets_AMDGPU) -DLIBOMPTARGET_BUILD_CUDA_PLUGIN=$(usex llvm_targets_NVPTX) + + # prevent trying to access the GPU + -DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND + -DLIBOMPTARGET_NVPTX_ARCH=LIBOMPTARGET_NVPTX_ARCH-NOTFOUND ) else mycmakeargs+=( |