diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-04-21 02:47:35 -0400 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-21 09:00:29 +0200 |
commit | f2dd91d7e6fae86d831e9231ddda11d03a366a02 (patch) | |
tree | 8e5edc22ebc414ead70915c67c2cdd8f23304293 | |
parent | www-client/chromium: stable channel bump to 90.0.4430.85 (diff) | |
download | gentoo-f2dd91d7e6fae86d831e9231ddda11d03a366a02.tar.gz gentoo-f2dd91d7e6fae86d831e9231ddda11d03a366a02.tar.bz2 gentoo-f2dd91d7e6fae86d831e9231ddda11d03a366a02.zip |
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>
-rw-r--r-- | sys-libs/libomp/libomp-12.0.0.9999.ebuild | 3 | ||||
-rw-r--r-- | sys-libs/libomp/libomp-12.0.0.ebuild | 1 | ||||
-rw-r--r-- | sys-libs/libomp/libomp-13.0.0.9999.ebuild | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/libomp/libomp-12.0.0.9999.ebuild b/sys-libs/libomp/libomp-12.0.0.9999.ebuild index 0e4b59de3db2..0fd7afe0ff42 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 c5871d23a870..a1640af9cb73 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 592037ef0b29..0fd7afe0ff42 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 } |