commit: 7537670ada2ab4dfbf32677ed0016769e2ba87d9
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 16:23:48 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Jul 30 05:06:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7537670a
sci-libs/clblas: add trivial build dep
To build, this needs an opencl runtime and also an opencl buildtime. :)
opencl provides these in different packages, so it's not sufficient to
depend on the former alone. Although the headers are also a build dep
for the runtime, they might be depcleaned and are never installed at all
when binpkgs are used.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
sci-libs/clblas/clblas-2.12-r2.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.12-r2.ebuild
b/sci-libs/clblas/clblas-2.12-r2.ebuild
index 72bfd21c224c..70aa4869d2f4 100644
--- a/sci-libs/clblas/clblas-2.12-r2.ebuild
+++ b/sci-libs/clblas/clblas-2.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,7 +29,10 @@ RDEPEND="
virtual/opencl
client? ( virtual/cblas )
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ dev-util/opencl-headers
+"
BDEPEND="${PYTHON_DEPS}
client? ( virtual/pkgconfig )
"