sys-libs/libomp: fix /dev/nvidiactl sandbox issues with cuda+offload

Closes: https://bugs.gentoo.org/784539
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20483
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-04-21 02:47:35 -04:00
committed by Michał Górny
parent e9731ff1de
commit f2dd91d7e6
3 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -94,6 +94,7 @@ multilib_src_configure() {
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
)
addpredict /dev/nvidiactl
cmake_src_configure
}

View File

@@ -94,6 +94,7 @@ multilib_src_configure() {
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
)
addpredict /dev/nvidiactl
cmake_src_configure
}

View File

@@ -94,6 +94,7 @@ multilib_src_configure() {
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
)
addpredict /dev/nvidiactl
cmake_src_configure
}