summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-05-18 11:05:45 -0400
committerCraig Andrews <candrews@gentoo.org>2021-05-18 11:06:17 -0400
commitf32ed0e9c59158047fb10f8e8c0d27d232f015b8 (patch)
tree733773f3ad2805a05ef3814ff0f34363f2aa1d2e /sys-devel/llvm-roc
parentdev-libs/newt: add python3_10 compat (diff)
downloadgentoo-f32ed0e9c59158047fb10f8e8c0d27d232f015b8.tar.gz
gentoo-f32ed0e9c59158047fb10f8e8c0d27d232f015b8.tar.bz2
gentoo-f32ed0e9c59158047fb10f8e8c0d27d232f015b8.zip
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@gentoo.org>
Diffstat (limited to 'sys-devel/llvm-roc')
-rw-r--r--sys-devel/llvm-roc/llvm-roc-4.1.1.ebuild1
1 files changed, 1 insertions, 0 deletions
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 68df2726a379..051b2af18e3f 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"