commit:     f32ed0e9c59158047fb10f8e8c0d27d232f015b8
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue May 18 15:05:45 2021 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue May 18 15:06:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32ed0e9

sys-devel/llvm-roc: Disable CUDA target autodetection

This package is for AMD ROC, so Nvidia CUDA detection is irrelevant.

Closes: https://bugs.gentoo.org/789693
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild 
b/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild
index 68df2726a37..051b2af18e3 100644
--- a/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild
@@ -77,6 +77,7 @@ src_configure() {
                -DLLVM_INSTALL_UTILS=ON
                -DLLVM_VERSION_SUFFIX=roc
                -DOCAMLFIND=NO
+               -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=ON
        )
 
        use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"

Reply via email to