commit: f2dd91d7e6fae86d831e9231ddda11d03a366a02 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> AuthorDate: Wed Apr 21 06:47:35 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Apr 21 07:00:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2dd91d7
sys-libs/libomp: fix /dev/nvidiactl sandbox issues with cuda+offload Closes: https://bugs.gentoo.org/784539 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20483 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-libs/libomp/libomp-12.0.0.9999.ebuild | 3 ++- sys-libs/libomp/libomp-12.0.0.ebuild | 1 + sys-libs/libomp/libomp-13.0.0.9999.ebuild | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-libs/libomp/libomp-12.0.0.9999.ebuild b/sys-libs/libomp/libomp-12.0.0.9999.ebuild index 0e4b59de3db..0fd7afe0ff4 100644 --- a/sys-libs/libomp/libomp-12.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-12.0.0.9999.ebuild @@ -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 } diff --git a/sys-libs/libomp/libomp-12.0.0.ebuild b/sys-libs/libomp/libomp-12.0.0.ebuild index c5871d23a87..a1640af9cb7 100644 --- a/sys-libs/libomp/libomp-12.0.0.ebuild +++ b/sys-libs/libomp/libomp-12.0.0.ebuild @@ -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 } diff --git a/sys-libs/libomp/libomp-13.0.0.9999.ebuild b/sys-libs/libomp/libomp-13.0.0.9999.ebuild index 592037ef0b2..0fd7afe0ff4 100644 --- a/sys-libs/libomp/libomp-13.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-13.0.0.9999.ebuild @@ -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 }