diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-21 13:57:51 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-21 16:05:19 +0100 |
commit | c928da1854b76d608773485d2416fdc4663b3635 (patch) | |
tree | 9bcd65af940e53905df314e70615ae8fb9040a88 /sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild | |
parent | www-client/microsoft-edge-dev: remove old (diff) | |
download | gentoo-c928da1854b76d608773485d2416fdc4663b3635.tar.gz gentoo-c928da1854b76d608773485d2416fdc4663b3635.tar.bz2 gentoo-c928da1854b76d608773485d2416fdc4663b3635.zip |
sys-libs/libomp: Fix trying to access AMD GPUs
Prevent the CMake script from starting amdgpu-arch tool that accesses
the GPU in order to determine AMDGPU-based tests can be run.
We don't want the test suite to access the GPU, so just hard-disable
that.
Closes: https://bugs.gentoo.org/902449
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild')
-rw-r--r-- | sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild b/sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild index 57c4ff3a33d0..d05b80a0e681 100644 --- a/sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild +++ b/sys-libs/libomp/libomp-17.0.0_pre20230314.ebuild @@ -113,6 +113,8 @@ 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 |