Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/acml: ChangeLog acml-3.6.0-r1.ebuild acml-4.0.0.ebuild acml-3.6.1-r1.ebuild acml-3.6.1.ebuild acml-3.1.0-r1.ebuild acml-3.0.0.ebuild acml-3.6.0.ebuild
Date: Tue, 09 Oct 2007 22:16:09
Message-Id: E1IfNDa-0002A0-DM@stork.gentoo.org
1 bicatali 07/10/09 22:06:22
2
3 Modified: ChangeLog acml-3.6.0-r1.ebuild acml-4.0.0.ebuild
4 acml-3.6.1-r1.ebuild
5 Removed: acml-3.6.1.ebuild acml-3.1.0-r1.ebuild
6 acml-3.0.0.ebuild acml-3.6.0.ebuild
7 Log:
8 Removed old versions. Work around eselect bug #189942.
9 (Portage version: 2.1.3.12)
10
11 Revision Changes Path
12 1.23 sci-libs/acml/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/ChangeLog?rev=1.23&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/ChangeLog?rev=1.23&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/ChangeLog?r1=1.22&r2=1.23
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-libs/acml/ChangeLog,v
21 retrieving revision 1.22
22 retrieving revision 1.23
23 diff -u -r1.22 -r1.23
24 --- ChangeLog 8 Oct 2007 20:47:04 -0000 1.22
25 +++ ChangeLog 9 Oct 2007 22:06:21 -0000 1.23
26 @@ -1,6 +1,14 @@
27 # ChangeLog for sci-libs/acml
28 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/ChangeLog,v 1.22 2007/10/08 20:47:04 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/ChangeLog,v 1.23 2007/10/09 22:06:21 bicatali Exp $
31 +
32 + 09 Oct 2007; Sébastien Fabbro <bicatali@g.o> -files/c-ACML.blas,
33 + -files/eselect.blas, -files/eselect.blas-mp, -files/eselect.cblas,
34 + -files/eselect.cblas-mp, -files/eselect.lapack, -files/eselect.lapack-mp,
35 + -files/f77-ACML.blas, -files/f77-ACML.lapack, -acml-3.0.0.ebuild,
36 + -acml-3.1.0-r1.ebuild, -acml-3.6.0.ebuild, acml-3.6.0-r1.ebuild,
37 + -acml-3.6.1.ebuild, acml-3.6.1-r1.ebuild, acml-4.0.0.ebuild:
38 + Removed old versions. Work around eselect bug #189942.
39
40 *acml-4.0.0 (08 Oct 2007)
41 *acml-3.6.1-r1 (08 Oct 2007)
42 @@ -112,4 +120,3 @@
43 +files/c-ACML.blas, +files/f77-ACML.blas, +files/f77-ACML.lapack,
44 +acml-2.1.0.ebuild:
45 Initial Import.
46 -
47
48
49
50 1.2 sci-libs/acml/acml-3.6.0-r1.ebuild
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild?rev=1.2&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild?rev=1.2&content-type=text/plain
54 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild?r1=1.1&r2=1.2
55
56 Index: acml-3.6.0-r1.ebuild
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild,v
59 retrieving revision 1.1
60 retrieving revision 1.2
61 diff -u -r1.1 -r1.2
62 --- acml-3.6.0-r1.ebuild 8 Oct 2007 20:47:04 -0000 1.1
63 +++ acml-3.6.0-r1.ebuild 9 Oct 2007 22:06:21 -0000 1.2
64 @@ -1,6 +1,6 @@
65 # Copyright 1999-2007 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild,v 1.1 2007/10/08 20:47:04 bicatali Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild,v 1.2 2007/10/09 22:06:21 bicatali Exp $
69
70 inherit eutils toolchain-funcs fortran
71
72 @@ -45,8 +45,8 @@
73 pkg_setup() {
74 elog "From version 3.5.0 on, ACML no longer supports"
75 elog "hardware without SSE/SSE2 instructions. "
76 - elog "For older 32-bit hardware that does not support SSE/SSE2,"
77 - elog "you must continue to use an older version (ACML 3.1.0 and ealier)."
78 + elog "For older 32-bit without SSE/SSE2, use other blas/lapack libraries,"
79 + elog "or file a bug if you wish to have earlier ACML versions supported."
80 epause
81 FORTRAN=ifc
82 FORT=ifort
83 @@ -137,14 +137,15 @@
84
85 pkg_postinst() {
86 for p in blas lapack; do
87 - local current_p=$(eselect ${p} show | cut -d' ' -f2)
88 - # uncomment when eselect bug #189942 is fixed, together with DEPEND
89 - #if [[ -z ${current_p} || ${current_p} == ${ESELECT_PROF} ]]; then
90 - if [[ -z ${current_p} ]]; then
91 + local current_lib=$(eselect ${p} show | cut -d' ' -f2)
92 + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
93 + # work around eselect bug #189942
94 + local configfile="${ROOT}"/etc/env.d/${p}/lib/config
95 + [[ -e ${configfile} ]] && rm -f ${configfile}
96 eselect ${p} set ${ESELECT_PROF}
97 elog "${p} has been eselected to ${ESELECT_PROF}"
98 else
99 - elog "Current eselected ${p} is ${current_p}"
100 + elog "Current eselected ${p} is ${current_lib}"
101 elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
102 elog "\t eselect ${p} set ${ESELECT_PROF}"
103 fi
104
105
106
107 1.2 sci-libs/acml/acml-4.0.0.ebuild
108
109 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-4.0.0.ebuild?rev=1.2&view=markup
110 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-4.0.0.ebuild?rev=1.2&content-type=text/plain
111 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-4.0.0.ebuild?r1=1.1&r2=1.2
112
113 Index: acml-4.0.0.ebuild
114 ===================================================================
115 RCS file: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-4.0.0.ebuild,v
116 retrieving revision 1.1
117 retrieving revision 1.2
118 diff -u -r1.1 -r1.2
119 --- acml-4.0.0.ebuild 8 Oct 2007 20:47:04 -0000 1.1
120 +++ acml-4.0.0.ebuild 9 Oct 2007 22:06:21 -0000 1.2
121 @@ -1,6 +1,6 @@
122 # Copyright 1999-2007 Gentoo Foundation
123 # Distributed under the terms of the GNU General Public License v2
124 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-4.0.0.ebuild,v 1.1 2007/10/08 20:47:04 bicatali Exp $
125 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-4.0.0.ebuild,v 1.2 2007/10/09 22:06:21 bicatali Exp $
126
127 inherit eutils toolchain-funcs fortran
128
129 @@ -9,8 +9,8 @@
130 DESCRIPTION="AMD Core Math Library (ACML) for x86_64 CPUs"
131 HOMEPAGE="http://developer.amd.com/acml.jsp"
132 SRC_URI="ifc? ( acml-${MY_PV}-ifort-64bit.tgz )
133 - !ifc? ( int64? ( acml-${MY_PV}-gfortran-64bit-int64.tgz )
134 - !int64? ( acml-${MY_PV}-gfortran-64bit.tgz ) )"
135 + !ifc? ( int64? ( acml-${MY_PV}-gfortran-64bit-int64.tgz )
136 + !int64? ( acml-${MY_PV}-gfortran-64bit.tgz ) )"
137
138 IUSE="openmp ifc int64 doc examples"
139 KEYWORDS="~amd64"
140 @@ -153,14 +153,15 @@
141
142 pkg_postinst() {
143 for p in blas lapack; do
144 - local current_p=$(eselect ${p} show | cut -d' ' -f2)
145 - # uncomment when eselect bug #189942 is fixed, together with DEPEND
146 - #if [[ -z ${current_p} || ${current_p} == ${ESELECT_PROF} ]]; then
147 - if [[ -z ${current_p} ]]; then
148 + local current_lib=$(eselect ${p} show | cut -d' ' -f2)
149 + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
150 + # work around eselect bug #189942
151 + local configfile="${ROOT}"/etc/env.d/${p}/lib/config
152 + [[ -e ${configfile} ]] && rm -f ${configfile}
153 eselect ${p} set ${ESELECT_PROF}
154 elog "${p} has been eselected to ${ESELECT_PROF}"
155 else
156 - elog "Current eselected ${p} is ${current_p}"
157 + elog "Current eselected ${p} is ${current_lib}"
158 elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
159 elog "\t eselect ${p} set ${ESELECT_PROF}"
160 fi
161
162
163
164 1.2 sci-libs/acml/acml-3.6.1-r1.ebuild
165
166 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild?rev=1.2&view=markup
167 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild?rev=1.2&content-type=text/plain
168 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild?r1=1.1&r2=1.2
169
170 Index: acml-3.6.1-r1.ebuild
171 ===================================================================
172 RCS file: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild,v
173 retrieving revision 1.1
174 retrieving revision 1.2
175 diff -u -r1.1 -r1.2
176 --- acml-3.6.1-r1.ebuild 8 Oct 2007 20:47:04 -0000 1.1
177 +++ acml-3.6.1-r1.ebuild 9 Oct 2007 22:06:21 -0000 1.2
178 @@ -1,6 +1,6 @@
179 # Copyright 1999-2007 Gentoo Foundation
180 # Distributed under the terms of the GNU General Public License v2
181 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild,v 1.1 2007/10/08 20:47:04 bicatali Exp $
182 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild,v 1.2 2007/10/09 22:06:21 bicatali Exp $
183
184 inherit eutils toolchain-funcs fortran
185
186 @@ -9,10 +9,9 @@
187
188 MY_PV=${PV//\./\-}
189 S=${WORKDIR}
190 -SRC_URI="x86? ( acml-${MY_PV}-gfortran-32bit.tgz )
191 - amd64? ( ( acml-${MY_PV}-gfortran-64bit.tgz )
192 - int64? ( acml-${MY_PV}-gfortran-64bit-int64.tgz ) )"
193 -
194 +SRC_URI="x86? ( acml-${MY_PV}-gfortran-32bit.tgz )
195 + amd64? ( acml-${MY_PV}-gfortran-64bit.tgz
196 + int64? ( acml-${MY_PV}-gfortran-64bit-int64.tgz ) )"
197
198 RESTRICT="strip fetch"
199 IUSE="openmp int64 doc examples"
200 @@ -40,8 +39,8 @@
201 pkg_setup() {
202 elog "From version 3.5.0 on, ACML no longer supports"
203 elog "hardware without SSE/SSE2 instructions. "
204 - elog "For older 32-bit hardware that does not support SSE/SSE2,"
205 - elog "you must continue to use an older version (ACML 3.1.0 and ealier)."
206 + elog "For older 32-bit without SSE/SSE2, use other blas/lapack libraries,"
207 + elog "or file a bug if you wish to have earlier ACML versions supported."
208 FORTRAN="gfortran"
209 fortran_pkg_setup
210 if [[ ${FORTRANC} == gfortran ]]; then
211 @@ -153,14 +152,15 @@
212
213 pkg_postinst() {
214 for p in blas lapack; do
215 - local current_p=$(eselect ${p} show | cut -d' ' -f2)
216 - # uncomment when eselect bug #189942 is fixed, together with DEPEND
217 - #if [[ -z ${current_p} || ${current_p} == ${ESELECT_PROF} ]]; then
218 - if [[ -z ${current_p} ]]; then
219 + local current_lib=$(eselect ${p} show | cut -d' ' -f2)
220 + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
221 + # work around eselect bug #189942
222 + local configfile="${ROOT}"/etc/env.d/${p}/lib/config
223 + [[ -e ${configfile} ]] && rm -f ${configfile}
224 eselect ${p} set ${ESELECT_PROF}
225 elog "${p} has been eselected to ${ESELECT_PROF}"
226 else
227 - elog "Current eselected ${p} is ${current_p}"
228 + elog "Current eselected ${p} is ${current_lib}"
229 elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
230 elog "\t eselect ${p} set ${ESELECT_PROF}"
231 fi
232
233
234
235 --
236 gentoo-commits@g.o mailing list