1 |
commit: dfb44a20d723cace8c89d65437c4456bfba39f91 |
2 |
Author: James Beddek <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Wed Sep 14 12:19:47 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 14 20:51:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb44a20 |
7 |
|
8 |
sci-libs/caffe2: use addpredict /dev/nvidiactl for CUDA version check |
9 |
|
10 |
Closes: https://bugs.gentoo.org/867706 |
11 |
Signed-off-by: James Beddek <telans <AT> posteo.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/27253 |
13 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
14 |
|
15 |
sci-libs/caffe2/caffe2-1.12.0.ebuild | 2 ++ |
16 |
1 file changed, 2 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/caffe2/caffe2-1.12.0.ebuild b/sci-libs/caffe2/caffe2-1.12.0.ebuild |
19 |
index 0a44b6824c3c..366c29f98b7f 100644 |
20 |
--- a/sci-libs/caffe2/caffe2-1.12.0.ebuild |
21 |
+++ b/sci-libs/caffe2/caffe2-1.12.0.ebuild |
22 |
@@ -139,6 +139,8 @@ src_configure() { |
23 |
-DTORCH_INSTALL_LIB_DIR=/usr/$(get_libdir) |
24 |
-DLIBSHM_INSTALL_LIB_SUBDIR=/usr/$(get_libdir) |
25 |
) |
26 |
+ |
27 |
+ use cuda && addpredict "/dev/nvidiactl" # bug 867706 |
28 |
cmake_src_configure |
29 |
} |