summaryrefslogtreecommitdiff
path: root/sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-12 18:46:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-12 18:46:38 +0000
commitd71aca7673826d5f5fa93b43c7c8af3c1e023dc6 (patch)
tree82fd4c1459b4cdcb08680126fe8ea984e5534645 /sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild
parent0c97119fc8982c1a6f367de25542834e4dd6cda4 (diff)
gentoo auto-resync : 12:03:2024 - 18:46:38
Diffstat (limited to 'sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild')
-rw-r--r--sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild b/sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild
index ce432b31535d..a40d0aed1c41 100644
--- a/sys-libs/libomp/libomp-19.0.0_pre20240309.ebuild
+++ b/sys-libs/libomp/libomp-19.0.0_pre20240309.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
@@ -129,6 +127,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+=(