1 |
markusle 08/02/23 11:13:42 |
2 |
|
3 |
Modified: lapack-atlas-3.6.0.ebuild ChangeLog |
4 |
lapack-atlas-3.8.0.ebuild |
5 |
lapack-atlas-3.7.11.ebuild |
6 |
lapack-atlas-3.7.11-r1.ebuild |
7 |
Added: lapack-atlas-3.8.1.ebuild |
8 |
Log: |
9 |
Version bump. |
10 |
(Portage version: 2.1.4.4) |
11 |
|
12 |
Revision Changes Path |
13 |
1.15 sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild?rev=1.15&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild?rev=1.15&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild?r1=1.14&r2=1.15 |
18 |
|
19 |
Index: lapack-atlas-3.6.0.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild,v |
22 |
retrieving revision 1.14 |
23 |
retrieving revision 1.15 |
24 |
diff -u -r1.14 -r1.15 |
25 |
--- lapack-atlas-3.6.0.ebuild 21 Nov 2007 00:43:41 -0000 1.14 |
26 |
+++ lapack-atlas-3.6.0.ebuild 23 Feb 2008 11:13:41 -0000 1.15 |
27 |
@@ -1,6 +1,6 @@ |
28 |
-# Copyright 1999-2007 Gentoo Foundation |
29 |
+# Copyright 1999-2008 Gentoo Foundation |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild,v 1.14 2007/11/21 00:43:41 bicatali Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.6.0.ebuild,v 1.15 2008/02/23 11:13:41 markusle Exp $ |
33 |
|
34 |
inherit eutils flag-o-matic toolchain-funcs |
35 |
|
36 |
@@ -89,7 +89,6 @@ |
37 |
} |
38 |
|
39 |
src_compile() { |
40 |
- cd "${S}" |
41 |
if [ -n "${interactive}" ] |
42 |
then |
43 |
echo "${interactive}" |
44 |
|
45 |
|
46 |
|
47 |
1.60 sci-libs/lapack-atlas/ChangeLog |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/ChangeLog?rev=1.60&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/ChangeLog?rev=1.60&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/ChangeLog?r1=1.59&r2=1.60 |
52 |
|
53 |
Index: ChangeLog |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v |
56 |
retrieving revision 1.59 |
57 |
retrieving revision 1.60 |
58 |
diff -u -r1.59 -r1.60 |
59 |
--- ChangeLog 12 Dec 2007 19:06:15 -0000 1.59 |
60 |
+++ ChangeLog 23 Feb 2008 11:13:41 -0000 1.60 |
61 |
@@ -1,6 +1,13 @@ |
62 |
# ChangeLog for sci-libs/lapack-atlas |
63 |
-# Copyright 2004-2007 Gentoo Foundation; Distributed under the GPL v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.59 2007/12/12 19:06:15 armin76 Exp $ |
65 |
+# Copyright 2004-2008 Gentoo Foundation; Distributed under the GPL v2 |
66 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.60 2008/02/23 11:13:41 markusle Exp $ |
67 |
+ |
68 |
+*lapack-atlas-3.8.1 (23 Feb 2008) |
69 |
+ |
70 |
+ 23 Feb 2008; Markus Dittrich <markusle@g.o> |
71 |
+ lapack-atlas-3.6.0.ebuild, lapack-atlas-3.7.11.ebuild, |
72 |
+ lapack-atlas-3.7.11-r1.ebuild, +lapack-atlas-3.8.1.ebuild: |
73 |
+ Version bump. |
74 |
|
75 |
12 Dec 2007; Raúl Porcel <armin76@g.o> lapack-atlas-3.8.0.ebuild: |
76 |
sparc stable wrt #200337, thanks to Aaron Mavrinac |
77 |
|
78 |
|
79 |
|
80 |
1.11 sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild |
81 |
|
82 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild?rev=1.11&view=markup |
83 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild?rev=1.11&content-type=text/plain |
84 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild?r1=1.10&r2=1.11 |
85 |
|
86 |
Index: lapack-atlas-3.8.0.ebuild |
87 |
=================================================================== |
88 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild,v |
89 |
retrieving revision 1.10 |
90 |
retrieving revision 1.11 |
91 |
diff -u -r1.10 -r1.11 |
92 |
--- lapack-atlas-3.8.0.ebuild 12 Dec 2007 19:06:15 -0000 1.10 |
93 |
+++ lapack-atlas-3.8.0.ebuild 23 Feb 2008 11:13:41 -0000 1.11 |
94 |
@@ -1,6 +1,6 @@ |
95 |
-# Copyright 1999-2007 Gentoo Foundation |
96 |
+# Copyright 1999-2008 Gentoo Foundation |
97 |
# Distributed under the terms of the GNU General Public License v2 |
98 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild,v 1.10 2007/12/12 19:06:15 armin76 Exp $ |
99 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild,v 1.11 2008/02/23 11:13:41 markusle Exp $ |
100 |
|
101 |
inherit eutils flag-o-matic toolchain-funcs fortran autotools versionator |
102 |
|
103 |
|
104 |
|
105 |
|
106 |
1.16 sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild |
107 |
|
108 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild?rev=1.16&view=markup |
109 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild?rev=1.16&content-type=text/plain |
110 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild?r1=1.15&r2=1.16 |
111 |
|
112 |
Index: lapack-atlas-3.7.11.ebuild |
113 |
=================================================================== |
114 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild,v |
115 |
retrieving revision 1.15 |
116 |
retrieving revision 1.16 |
117 |
diff -u -r1.15 -r1.16 |
118 |
--- lapack-atlas-3.7.11.ebuild 21 Nov 2007 00:43:41 -0000 1.15 |
119 |
+++ lapack-atlas-3.7.11.ebuild 23 Feb 2008 11:13:41 -0000 1.16 |
120 |
@@ -1,6 +1,6 @@ |
121 |
-# Copyright 1999-2007 Gentoo Foundation |
122 |
+# Copyright 1999-2008 Gentoo Foundation |
123 |
# Distributed under the terms of the GNU General Public License v2 |
124 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild,v 1.15 2007/11/21 00:43:41 bicatali Exp $ |
125 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11.ebuild,v 1.16 2008/02/23 11:13:41 markusle Exp $ |
126 |
|
127 |
inherit eutils flag-o-matic toolchain-funcs fortran |
128 |
|
129 |
@@ -105,7 +105,6 @@ |
130 |
} |
131 |
|
132 |
src_compile() { |
133 |
- cd "${S}" |
134 |
if [ -n "${interactive}" ]; then |
135 |
echo "${interactive}" |
136 |
make config CC="$(tc-getCC) -DUSE_LIBTOOL -DINTERACTIVE" || die |
137 |
|
138 |
|
139 |
|
140 |
1.10 sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild |
141 |
|
142 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild?rev=1.10&view=markup |
143 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild?rev=1.10&content-type=text/plain |
144 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild?r1=1.9&r2=1.10 |
145 |
|
146 |
Index: lapack-atlas-3.7.11-r1.ebuild |
147 |
=================================================================== |
148 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild,v |
149 |
retrieving revision 1.9 |
150 |
retrieving revision 1.10 |
151 |
diff -u -r1.9 -r1.10 |
152 |
--- lapack-atlas-3.7.11-r1.ebuild 21 Nov 2007 00:43:41 -0000 1.9 |
153 |
+++ lapack-atlas-3.7.11-r1.ebuild 23 Feb 2008 11:13:41 -0000 1.10 |
154 |
@@ -1,6 +1,6 @@ |
155 |
-# Copyright 1999-2007 Gentoo Foundation |
156 |
+# Copyright 1999-2008 Gentoo Foundation |
157 |
# Distributed under the terms of the GNU General Public License v2 |
158 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild,v 1.9 2007/11/21 00:43:41 bicatali Exp $ |
159 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.11-r1.ebuild,v 1.10 2008/02/23 11:13:41 markusle Exp $ |
160 |
|
161 |
inherit eutils flag-o-matic toolchain-funcs fortran |
162 |
|
163 |
@@ -104,7 +104,6 @@ |
164 |
} |
165 |
|
166 |
src_compile() { |
167 |
- cd "${S}" |
168 |
if [ -n "${interactive}" ]; then |
169 |
echo "${interactive}" |
170 |
make config CC="$(tc-getCC) -DUSE_LIBTOOL -DINTERACTIVE" || die |
171 |
|
172 |
|
173 |
|
174 |
1.1 sci-libs/lapack-atlas/lapack-atlas-3.8.1.ebuild |
175 |
|
176 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.1.ebuild?rev=1.1&view=markup |
177 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.1.ebuild?rev=1.1&content-type=text/plain |
178 |
|
179 |
Index: lapack-atlas-3.8.1.ebuild |
180 |
=================================================================== |
181 |
# Copyright 1999-2008 Gentoo Foundation |
182 |
# Distributed under the terms of the GNU General Public License v2 |
183 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.1.ebuild,v 1.1 2008/02/23 11:13:41 markusle Exp $ |
184 |
|
185 |
inherit eutils flag-o-matic toolchain-funcs fortran autotools versionator |
186 |
|
187 |
MY_PN="${PN/lapack-/}" |
188 |
PATCH_V="3.7.39" |
189 |
L_PN="lapack" |
190 |
L_PV="3.1.1" |
191 |
BlasRelease=$(get_version_component_range 1-3) |
192 |
|
193 |
DESCRIPTION="F77 and C LAPACK implementations using available ATLAS routines" |
194 |
LICENSE="BSD" |
195 |
HOMEPAGE="http://math-atlas.sourceforge.net/" |
196 |
SRC_URI1="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2" |
197 |
SRC_URI2="http://www.netlib.org/${L_PN}/${L_PN}-lite-${L_PV}.tgz" |
198 |
SRC_URI="${SRC_URI1} ${SRC_URI2} |
199 |
mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2" |
200 |
|
201 |
SLOT="0" |
202 |
IUSE="doc" |
203 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
204 |
|
205 |
DEPEND="virtual/blas |
206 |
virtual/cblas |
207 |
app-admin/eselect-lapack |
208 |
~sci-libs/blas-atlas-${BlasRelease} |
209 |
>=sys-devel/libtool-1.5" |
210 |
|
211 |
RDEPEND="${DEPEND} |
212 |
dev-util/pkgconfig |
213 |
doc? ( app-doc/lapack-docs )" |
214 |
|
215 |
FORTRAN="g77 gfortran ifc" |
216 |
|
217 |
S="${WORKDIR}/ATLAS" |
218 |
S_LAPACK="${WORKDIR}/${L_PN}-lite-${L_PV}" |
219 |
BLD_DIR="${S}/gentoo-build" |
220 |
RPATH="${DESTTREE}/$(get_libdir)/${L_PN}/${MY_PN}" |
221 |
|
222 |
src_unpack() { |
223 |
unpack ${A} |
224 |
|
225 |
cd "${S}" |
226 |
epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2 |
227 |
epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch |
228 |
|
229 |
# make sure the compile picks up the proper includes |
230 |
sed -i \ |
231 |
-e "s|INCLUDES.*=|INCLUDES = -I/usr/include/atlas/|" \ |
232 |
"${S}"/CONFIG/src/SpewMakeInc.c \ |
233 |
|| die "failed to append proper includes" |
234 |
|
235 |
BLD_DIR="${S}"/gentoo-build |
236 |
mkdir "${BLD_DIR}" || die "failed to generate build directory" |
237 |
cd "${BLD_DIR}" |
238 |
cp "${FILESDIR}"/war . && chmod a+x war || die "failed to install war" |
239 |
|
240 |
# force proper 32/64bit libs |
241 |
local archselect |
242 |
if use amd64 || use ppc64; then |
243 |
archselect="-b 64" |
244 |
elif use alpha; then |
245 |
archselect="" |
246 |
else |
247 |
archselect="-b 32" |
248 |
fi |
249 |
|
250 |
../configure \ |
251 |
--cc="$(tc-getCC)" \ |
252 |
--cflags="${CFLAGS}" \ |
253 |
--prefix="${D}/${DESTTREE}" \ |
254 |
--libdir="${D}/${DESTTREE}"/$(get_libdir)/atlas \ |
255 |
--incdir="${D}/${DESTTREE}"/include \ |
256 |
-C ac "$(tc-getCC)" -F ac "${CFLAGS}" \ |
257 |
-C if ${FORTRANC} -F if "${FFLAGS:--O2}" \ |
258 |
-Ss pmake "\$(MAKE) ${MAKEOPTS}" \ |
259 |
-Si cputhrchk 0 ${archselect} \ |
260 |
|| die "configure failed" |
261 |
|
262 |
cd "${S_LAPACK}" |
263 |
epatch "${FILESDIR}"/${L_PN}-reference-${L_PV}-autotools.patch |
264 |
epatch "${FILESDIR}"/${L_PN}-reference-${L_PV}-test-fix.patch |
265 |
eautoreconf |
266 |
|
267 |
# set up the testing routines |
268 |
sed -e "s:g77:${FORTRANC}:" \ |
269 |
-e "s:-funroll-all-loops -O3:${FFLAGS} $(pkg-config --cflags blas cblas):" \ |
270 |
-e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $(pkg-config --cflags blas cblas):" \ |
271 |
-e "s:../../blas\$(PLAT).a:$(pkg-config --libs blas cblas):" \ |
272 |
-e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.so -Wl,-rpath,${S_LAPACK}/SRC/.libs:" \ |
273 |
-e "s:EXT_ETIME$:INT_CPU_TIME:" \ |
274 |
make.inc.example > make.inc \ |
275 |
|| die "Failed to set up make.inc" |
276 |
} |
277 |
|
278 |
src_compile() { |
279 |
# build atlas' part of lapack |
280 |
cd "${BLD_DIR}" |
281 |
for d in src/lapack interfaces/lapack/C/src interfaces/lapack/F77/src; do |
282 |
cd "${BLD_DIR}"/${d} |
283 |
make lib || die "Failed to make lib in ${d}" |
284 |
done |
285 |
|
286 |
# build rest of lapack |
287 |
S_LAPACK="${WORKDIR}"/${L_PN}-lite-${L_PV} |
288 |
cd "${S_LAPACK}" |
289 |
econf || die "Failed to configure reference lapack lib" |
290 |
emake || die "Failed to make reference lapack lib" |
291 |
|
292 |
cd "${S_LAPACK}"/SRC |
293 |
einfo "Copying liblapack.a/*.o to ${S_LAPACK}/SRC" |
294 |
cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.o . |
295 |
einfo "Copying liblapack.a/*.lo to ${S_LAPACK}/SRC" |
296 |
cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.lo . |
297 |
einfo "Copying liblapack.a/.libs/*.o to ${S_LAPACK}/SRC" |
298 |
cp -sf "${BLD_DIR}"/gentoo/liblapack.a/.libs/*.o .libs/ |
299 |
|
300 |
RPATH="${DESTTREE}"/$(get_libdir)/${L_PN}/${MY_PN} |
301 |
local flibs |
302 |
[[ ${FORTRANC} == gfortran ]] && flibs=-lgfortran |
303 |
[[ ${FORTRANC} == g77 ]] && flibs=-lg2c |
304 |
../libtool --mode=link --tag=F77 ${FORTRANC} \ |
305 |
$(pkg-config --libs blas cblas) -latlas ${flibs} \ |
306 |
-o liblapack.la *.lo -rpath "${RPATH}" \ |
307 |
|| die "Failed to create liblapack.la" |
308 |
|
309 |
# making pkg-config file |
310 |
sed -e "s:@LIBDIR@:$(get_libdir):" \ |
311 |
-e "s:@PV@:${PV}:" \ |
312 |
-e "s:@EXTLIBS@:-lm ${flibs}:g" \ |
313 |
"${FILESDIR}"/lapack.pc.in > "${S}"/lapack.pc \ |
314 |
|| die "sed lapack.pc failed" |
315 |
} |
316 |
|
317 |
src_install () { |
318 |
dodir "${RPATH}" |
319 |
|
320 |
cd "${S_LAPACK}"/SRC |
321 |
../libtool --mode=install cp liblapack.la "${D}/${RPATH}" \ |
322 |
|| die "Failed to install lapack-atlas library" |
323 |
|
324 |
ESELECT_PROF=atlas |
325 |
eselect lapack add $(get_libdir) "${FILESDIR}"/eselect.lapack.atlas ${ESELECT_PROF} |
326 |
|
327 |
insinto /usr/include/atlas |
328 |
doins "${S}"/include/clapack.h || die "Failed to install clapack.h" |
329 |
dosym atlas/clapack.h /usr/include/clapack.h |
330 |
|
331 |
cd "${S}" |
332 |
dodoc README doc/AtlasCredits.txt doc/ChangeLog \ |
333 |
|| die "Failed to install docs" |
334 |
|
335 |
insinto /usr/$(get_libdir)/lapack/atlas |
336 |
doins "${S}"/lapack.pc || die "Failed to install lapack.pc" |
337 |
} |
338 |
|
339 |
src_test() { |
340 |
cd "${S_LAPACK}"/TESTING/MATGEN |
341 |
emake || die "Failed to create tmglib.a" |
342 |
cd .. |
343 |
emake || die "lapack-reference tests failed" |
344 |
} |
345 |
|
346 |
pkg_postinst() { |
347 |
local current_lib=$(eselect lapack show | cut -d' ' -f2) |
348 |
# this snippet works around the eselect bug #189942 and makes |
349 |
# sure that users upgrading from a previous lapack-atlas |
350 |
# version pick up the new pkg-config files |
351 |
if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then |
352 |
local configfile="${ROOT}"/etc/env.d/lapack/$(get_libdir)/config |
353 |
[[ -e ${configfile} ]] && rm -f ${configfile} |
354 |
eselect lapack set ${ESELECT_PROF} |
355 |
elog "lapack has been eselected to ${ESELECT_PROF}" |
356 |
else |
357 |
elog "Current eselected lapack is ${current_lib}" |
358 |
elog "To use blas ${ESELECT_PROF} implementation, you have to issue (as root):" |
359 |
elog "\t eselect lapack set ${ESELECT_PROF}" |
360 |
fi |
361 |
} |
362 |
|
363 |
|
364 |
|
365 |
-- |
366 |
gentoo-commits@l.g.o mailing list |