summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-18 23:06:30 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-18 23:06:30 +0200
commitbdb2a9093bc066832f31257d4360d8a995b595ff (patch)
treeda24278d92588385b2ed3d7f6953ef234b0979d4 /sci-libs/tensorflow
parentmedia-sound/tapestrea: add pkgconfig or pkgconfig-referenced libs deps (diff)
downloadgentoo-bdb2a9093bc066832f31257d4360d8a995b595ff.tar.gz
gentoo-bdb2a9093bc066832f31257d4360d8a995b595ff.tar.bz2
gentoo-bdb2a9093bc066832f31257d4360d8a995b595ff.zip
sci-libs/tensorflow: add pkgconfig or pkgconfig-referenced libs deps
Add dependencies for either virtual/pkgconfig, move it into BDEPEND where applicable, or add dependencies for libraries we're trying to find with pkgconfig. Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/tensorflow')
-rw-r--r--sci-libs/tensorflow/tensorflow-2.4.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sci-libs/tensorflow/tensorflow-2.4.0.ebuild b/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
index 0e9de9a4170a..f9f852726c0c 100644
--- a/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="~amd64"
IUSE="cuda mpi +python xla"
CPU_USE_FLAGS_X86="sse sse2 sse3 sse4_1 sse4_2 avx avx2 fma3 fma4"
for i in $CPU_USE_FLAGS_X86; do
- IUSE+=" cpu_flags_x86_$i"
+ IUSE+=" cpu_flags_x86_${i}"
done
# distfiles that bazel uses for the workspace, will be copied to basel-distdir
@@ -127,6 +127,7 @@ BDEPEND="
>=dev-libs/protobuf-3.8.0
dev-java/java-config
=dev-util/bazel-3*
+ virtual/pkgconfig
cuda? (
>=dev-util/nvidia-cuda-toolkit-9.1[profiler]
)