1 |
commit: f32ed0e9c59158047fb10f8e8c0d27d232f015b8 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 15:05:45 2021 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 15:06:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32ed0e9 |
7 |
|
8 |
sys-devel/llvm-roc: Disable CUDA target autodetection |
9 |
|
10 |
This package is for AMD ROC, so Nvidia CUDA detection is irrelevant. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/789693 |
13 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
14 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
15 |
|
16 |
sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild | 1 + |
17 |
1 file changed, 1 insertion(+) |
18 |
|
19 |
diff --git a/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild b/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild |
20 |
index 68df2726a37..051b2af18e3 100644 |
21 |
--- a/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild |
22 |
+++ b/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild |
23 |
@@ -77,6 +77,7 @@ src_configure() { |
24 |
-DLLVM_INSTALL_UTILS=ON |
25 |
-DLLVM_VERSION_SUFFIX=roc |
26 |
-DOCAMLFIND=NO |
27 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=ON |
28 |
) |
29 |
|
30 |
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |