Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/files/, sci-libs/cblas-reference/
Date: Tue, 22 Dec 2015 13:42:40
Message-Id: 1450791726.0bd08b2aad09eb489285fcd02cd2b8a1c43e5356.jlec@gentoo
1 commit: 0bd08b2aad09eb489285fcd02cd2b8a1c43e5356
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 22 13:42:06 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 22 13:42:06 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0bd08b2a
7
8 sci-libs/cblas-reference: Add Cflags definition to pc file for includedir
9
10 GitHub: fixes gentoo-science/sci#555
11
12 Package-Manager: portage-2.2.26
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 ...2.ebuild => cblas-reference-20151113-r3.ebuild} | 0
16 .../files/lapack-fix-build-system.patch | 96 ++++++++++++++--------
17 2 files changed, 64 insertions(+), 32 deletions(-)
18
19 diff --git a/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113-r3.ebuild
20 similarity index 100%
21 rename from sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
22 rename to sci-libs/cblas-reference/cblas-reference-20151113-r3.ebuild
23
24 diff --git a/sci-libs/cblas-reference/files/lapack-fix-build-system.patch b/sci-libs/cblas-reference/files/lapack-fix-build-system.patch
25 index 8661709..a187dac 100644
26 --- a/sci-libs/cblas-reference/files/lapack-fix-build-system.patch
27 +++ b/sci-libs/cblas-reference/files/lapack-fix-build-system.patch
28 @@ -1,18 +1,18 @@
29 ---- lapack-3.6.0/BLAS/blas.pc.in
30 -+++ lapack-3.6.0/BLAS/blas.pc.in
31 -@@ -1,5 +1,7 @@
32 --prefix=@prefix@
33 --libdir=@libdir@
34 -+prefix=@CMAKE_INSTALL_PREFIX@
35 -+exec_prefix=${prefix}
36 -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
37 -+includedir=${prefix}/include
38 -
39 - Name: blas
40 - Description: Basic Linear Algebra Subprograms F77 reference implementations
41 ---- lapack-3.6.0/BLAS/CMakeLists.txt
42 -+++ lapack-3.6.0/BLAS/CMakeLists.txt
43 -@@ -2,7 +2,7 @@
44 + BLAS/CMakeLists.txt | 2 +-
45 + BLAS/blas.pc.in | 6 ++++--
46 + CBLAS/CMakeLists.txt | 2 +-
47 + CBLAS/cblas.pc.in | 9 ++++++---
48 + CMakeLists.txt | 2 +-
49 + LAPACKE/CMakeLists.txt | 2 +-
50 + LAPACKE/lapacke.pc.in | 6 ++++--
51 + lapack.pc.in | 6 ++++--
52 + 8 files changed, 22 insertions(+), 13 deletions(-)
53 +
54 +diff --git a/BLAS/CMakeLists.txt b/BLAS/CMakeLists.txt
55 +index 45e68e9..56c8354 100644
56 +--- a/BLAS/CMakeLists.txt
57 ++++ b/BLAS/CMakeLists.txt
58 +@@ -2,7 +2,7 @@ add_subdirectory(SRC)
59 if(BUILD_TESTING)
60 add_subdirectory(TESTING)
61 endif(BUILD_TESTING)
62 @@ -21,8 +21,10 @@
63 install(FILES
64 ${CMAKE_CURRENT_BINARY_DIR}/blas.pc
65 DESTINATION ${PKG_CONFIG_DIR}
66 ---- lapack-3.6.0/CBLAS/cblas.pc.in
67 -+++ lapack-3.6.0/CBLAS/cblas.pc.in
68 +diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in
69 +index 845a25c..7a53ea5 100644
70 +--- a/BLAS/blas.pc.in
71 ++++ b/BLAS/blas.pc.in
72 @@ -1,5 +1,7 @@
73 -prefix=@prefix@
74 -libdir=@libdir@
75 @@ -31,11 +33,13 @@
76 +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
77 +includedir=${prefix}/include
78
79 - Name: lapacke
80 - Description: C Standard Interface to BLAS Linear Algebra PACKage
81 ---- lapack-3.6.0/CBLAS/CMakeLists.txt
82 -+++ lapack-3.6.0/CBLAS/CMakeLists.txt
83 -@@ -71,7 +71,7 @@
84 + Name: blas
85 + Description: Basic Linear Algebra Subprograms F77 reference implementations
86 +diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt
87 +index 98b481f..8f98b04 100644
88 +--- a/CBLAS/CMakeLists.txt
89 ++++ b/CBLAS/CMakeLists.txt
90 +@@ -71,7 +71,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMAKE/cblas-config-build.cmake.in
91 ${LAPACK_BINARY_DIR}/cblas-config.cmake @ONLY)
92
93
94 @@ -44,9 +48,31 @@
95 install(FILES
96 ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc
97 DESTINATION ${PKG_CONFIG_DIR}
98 ---- lapack-3.6.0/CMakeLists.txt
99 -+++ lapack-3.6.0/CMakeLists.txt
100 -@@ -333,7 +333,7 @@
101 +diff --git a/CBLAS/cblas.pc.in b/CBLAS/cblas.pc.in
102 +index ee20206..14a141e 100644
103 +--- a/CBLAS/cblas.pc.in
104 ++++ b/CBLAS/cblas.pc.in
105 +@@ -1,9 +1,12 @@
106 +-prefix=@prefix@
107 +-libdir=@libdir@
108 ++prefix=@CMAKE_INSTALL_PREFIX@
109 ++exec_prefix=${prefix}
110 ++libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
111 ++includedir=${prefix}/include/@PROFNAME@
112 +
113 +-Name: lapacke
114 ++Name: cblas-reference
115 + Description: C Standard Interface to BLAS Linear Algebra PACKage
116 + Version: @LAPACK_VERSION@
117 + URL: http://www.netlib.org/lapack/
118 + Libs: -L${libdir} -lcblas
119 ++Cflags: -I${includedir}
120 + Requires: blas
121 +diff --git a/CMakeLists.txt b/CMakeLists.txt
122 +index ab29bd2..31b878a 100644
123 +--- a/CMakeLists.txt
124 ++++ b/CMakeLists.txt
125 +@@ -333,7 +333,7 @@ configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-build.cmake.in
126 ${LAPACK_BINARY_DIR}/lapack-config.cmake @ONLY)
127
128
129 @@ -55,9 +81,11 @@
130 install(FILES
131 ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
132 DESTINATION ${PKG_CONFIG_DIR}
133 ---- lapack-3.6.0/LAPACKE/CMakeLists.txt
134 -+++ lapack-3.6.0/LAPACKE/CMakeLists.txt
135 -@@ -65,7 +65,7 @@
136 +diff --git a/LAPACKE/CMakeLists.txt b/LAPACKE/CMakeLists.txt
137 +index 008f24c..d8c4cb0 100644
138 +--- a/LAPACKE/CMakeLists.txt
139 ++++ b/LAPACKE/CMakeLists.txt
140 +@@ -65,7 +65,7 @@ if(BUILD_TESTING)
141 endif(BUILD_TESTING)
142
143
144 @@ -66,8 +94,10 @@
145 install(FILES
146 ${CMAKE_CURRENT_BINARY_DIR}/lapacke.pc
147 DESTINATION ${PKG_CONFIG_DIR}
148 ---- lapack-3.6.0/LAPACKE/lapacke.pc.in
149 -+++ lapack-3.6.0/LAPACKE/lapacke.pc.in
150 +diff --git a/LAPACKE/lapacke.pc.in b/LAPACKE/lapacke.pc.in
151 +index 75e6871..ce5201b 100644
152 +--- a/LAPACKE/lapacke.pc.in
153 ++++ b/LAPACKE/lapacke.pc.in
154 @@ -1,5 +1,7 @@
155 -prefix=@prefix@
156 -libdir=@libdir@
157 @@ -78,8 +108,10 @@
158
159 Name: lapacke
160 Description: C Standard Interface to LAPACK Linear Algebra PACKage
161 ---- lapack-3.6.0/lapack.pc.in
162 -+++ lapack-3.6.0/lapack.pc.in
163 +diff --git a/lapack.pc.in b/lapack.pc.in
164 +index d34c870..0d0750f 100644
165 +--- a/lapack.pc.in
166 ++++ b/lapack.pc.in
167 @@ -1,5 +1,7 @@
168 -prefix=@prefix@
169 -libdir=@libdir@