1 |
commit: 875c9dc4bf2929451a7630c479b9a6b2c3e35c99 |
2 |
Author: Mark Wright <gienah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 1 11:43:00 2018 +0000 |
4 |
Commit: Mark Wright <gienah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 1 11:43:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=875c9dc4 |
7 |
|
8 |
sci-libs/tensorflow: Fix the C++ header find |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
sci-libs/tensorflow/tensorflow-1.8.0.ebuild | 7 +++---- |
13 |
1 file changed, 3 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/sci-libs/tensorflow/tensorflow-1.8.0.ebuild b/sci-libs/tensorflow/tensorflow-1.8.0.ebuild |
16 |
index 34d309cf4..15e09b50b 100644 |
17 |
--- a/sci-libs/tensorflow/tensorflow-1.8.0.ebuild |
18 |
+++ b/sci-libs/tensorflow/tensorflow-1.8.0.ebuild |
19 |
@@ -141,10 +141,9 @@ src_install() { |
20 |
insinto /usr/include/${PN}/${PN}/c |
21 |
doins ${PN}/c/c_api.h |
22 |
if use cxx; then |
23 |
- for i in $(find ${PN}/cc ${PN}/core third_party/eigen3/unsupported \ |
24 |
- third_party/eigen3/Eigen \( -path third_party \ |
25 |
- -prune -o -type f -name \*.h -print \) -o \ |
26 |
- \( -path ${PN} -prune -o -type f -print \) ); do |
27 |
+ for i in $(find ${PN}/cc ${PN}/core third_party/eigen3 -type f \ |
28 |
+ \( -name \*.h -o \ |
29 |
+ -wholename third_party/eigen3/Eigen/\* \) -print); do |
30 |
dodir $(dirname /usr/include/${PN}/${i}) |
31 |
insinto $(dirname /usr/include/${PN}/${i}) |
32 |
doins ${i} |