1 |
commit: 67d5b721e228dc4f42274cc4326897717a96f887 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 2 11:38:36 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 2 11:38:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=67d5b721 |
7 |
|
8 |
sci-libs/acml: Already removed from main tree |
9 |
|
10 |
sci-libs/acml/acml-5.3.1.ebuild | 112 ---------------------------------- |
11 |
sci-libs/acml/acml-6.1.0.31-r1.ebuild | 98 ----------------------------- |
12 |
sci-libs/acml/acml-6.1.0.31.ebuild | 98 ----------------------------- |
13 |
sci-libs/acml/metadata.xml | 27 -------- |
14 |
4 files changed, 335 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/acml/acml-5.3.1.ebuild b/sci-libs/acml/acml-5.3.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 62f103ff4..000000000 |
19 |
--- a/sci-libs/acml/acml-5.3.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,112 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils multilib toolchain-funcs versionator alternatives-2 fortran-2 |
28 |
- |
29 |
-ACML_INST_DIR=opt/${PN}${PV} |
30 |
-QA_PREBUILT="${ACML_INST_DIR}/*/lib/*" |
31 |
- |
32 |
-MYP=${PN}-$(replace_all_version_separators -) |
33 |
- |
34 |
-DESCRIPTION="AMD Core Math Library for amd64 CPUs" |
35 |
-HOMEPAGE="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/" |
36 |
- |
37 |
-# here we go for the url mess |
38 |
-FCOMP64="" |
39 |
-URI="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/" |
40 |
-for fcomp in gfortran ifort open64 pgi; do |
41 |
- FCOMP64="${FCOMP64} ${fcomp}? ( ${URI}/${MYP}-${fcomp}-64bit.tgz |
42 |
- int64? ( ${URI}/${MYP}-${fcomp}-64bit-int64.tgz ) )" |
43 |
-done |
44 |
-SRC_URI=" |
45 |
- amd64? ( ${FCOMP64} |
46 |
- !gfortran? ( !ifort? ( !open64? ( !pgi? ( |
47 |
- ${URI}/${MYP}-gfortran-64bit.tgz |
48 |
- int64? ( ${URI}/${MYP}-gfortran-64bit-int64.tgz ) ) ) ) ) )" |
49 |
- |
50 |
-LICENSE="ACML-EULA" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="-* ~amd64 ~amd64-linux" |
53 |
-IUSE="doc examples cpu_flags_x86_fma4 gfortran ifort int64 open64 openmp pgi static-libs test" |
54 |
-RESTRICT="fetch strip mirror" |
55 |
- |
56 |
-DEPEND="" |
57 |
-RDEPEND="" |
58 |
- |
59 |
-S="${WORKDIR}" |
60 |
- |
61 |
-src_unpack() { |
62 |
- unpack ${A} |
63 |
- unpack ./contents-acml-*.tgz |
64 |
- use openmp || rm -rf *_mp* |
65 |
- use cpu_flags_x86_fma4 || rm -rf *_fma* |
66 |
-} |
67 |
- |
68 |
-src_test() { |
69 |
- local fdir d |
70 |
- for fdir in */examples; do |
71 |
- einfo "Testing acml in ${fdir}" |
72 |
- pushd ${fdir} > /dev/null |
73 |
- emake ACMLDIR="${S}/${fdir%/examples}" |
74 |
- emake clean |
75 |
- popd > /dev/null |
76 |
- done |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- # install libraries, pkgconfig file and eselect files for each profile |
81 |
- local prof libs fdir libdir=$(get_libdir) x |
82 |
- for fdir in */lib; do |
83 |
- fdir=$(dirname ${fdir}) |
84 |
- prof=acml-$(echo ${fdir} | sed \ |
85 |
- -e 's:mp:openmp:' \ |
86 |
- -e 's:_:-:g') |
87 |
- use examples || rm -r ${fdir}/examples |
88 |
- use static-libs || rm ${fdir}/lib/*.a |
89 |
- dodir /${ACML_INST_DIR} |
90 |
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} || die |
91 |
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')" |
92 |
- cat <<-EOF > ${prof}.pc |
93 |
- prefix=${EROOT}/${ACML_INST_DIR}/${fdir} |
94 |
- libdir=\${prefix}/lib |
95 |
- includedir=\${prefix}/include |
96 |
- Name: ${prof} |
97 |
- Description: ${DESCRIPTION} |
98 |
- Version: ${PV} |
99 |
- URL: ${HOMEPAGE} |
100 |
- Libs: -L\${libdir} ${libs} |
101 |
- Libs.private: -lm -lrt ${threads} |
102 |
- Cflags: -I\${includedir} |
103 |
- EOF |
104 |
- insinto /usr/${libdir}/pkgconfig |
105 |
- doins ${prof}.pc |
106 |
- for x in blas lapack; do |
107 |
- alternatives_for ${x} ${prof} 0 \ |
108 |
- /usr/${libdir}/pkgconfig/${x}.pc ${prof}.pc \ |
109 |
- /${ACML_INST_DIR}/${libdir} ${fdir}/lib |
110 |
- done |
111 |
- done |
112 |
- |
113 |
- echo > 35acml "LDPATH=${EROOT}/${ACML_INST_DIR}/${libdir}" |
114 |
- doenvd 35acml |
115 |
- |
116 |
- # default profile: first one matching use flags |
117 |
- local opts=gfortran |
118 |
- for fdir in ifort open64 pgi; do |
119 |
- use ${fdir} && opts=${fdir} |
120 |
- done |
121 |
- opts+="64" |
122 |
- use cpu_flags_x86_fma4 && opts+="_fma4" |
123 |
- use openmp && opts+="_mp" |
124 |
- use int64 && opts+="_int64" |
125 |
- dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir} |
126 |
- |
127 |
- insinto /${ACML_INST_DIR} |
128 |
- # info files go to standard /usr/share/info to avoid more env variables |
129 |
- doinfo Doc/*info* |
130 |
- rm Doc/*EULA* Doc/*info* || die |
131 |
- use doc || rm -r Doc/*.pdf Doc/acml.html Doc/html |
132 |
- doins -r Doc ReleaseNotes* |
133 |
-} |
134 |
|
135 |
diff --git a/sci-libs/acml/acml-6.1.0.31-r1.ebuild b/sci-libs/acml/acml-6.1.0.31-r1.ebuild |
136 |
deleted file mode 100644 |
137 |
index e68935e1a..000000000 |
138 |
--- a/sci-libs/acml/acml-6.1.0.31-r1.ebuild |
139 |
+++ /dev/null |
140 |
@@ -1,98 +0,0 @@ |
141 |
-# Copyright 1999-2017 Gentoo Foundation |
142 |
-# Distributed under the terms of the GNU General Public License v2 |
143 |
- |
144 |
-EAPI=6 |
145 |
- |
146 |
-inherit multilib toolchain-funcs versionator alternatives-2 fortran-2 |
147 |
- |
148 |
-ACML_INST_DIR=opt/${PN}${PV} |
149 |
-QA_PREBUILT="${ACML_INST_DIR}/*/lib/*" |
150 |
- |
151 |
-MYP=${PN}-$(replace_all_version_separators -) |
152 |
- |
153 |
-DESCRIPTION="AMD Core Math Library for amd64 CPUs" |
154 |
-HOMEPAGE="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/" |
155 |
-CURI="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/#download" |
156 |
-SRC_URI="${P}-gfortran64.tgz" |
157 |
- |
158 |
-LICENSE="ACML-EULA" |
159 |
-SLOT="0" |
160 |
-KEYWORDS="-* ~amd64 ~amd64-linux" |
161 |
-IUSE="doc examples test" |
162 |
-RESTRICT="strip mirror fetch" |
163 |
- |
164 |
-DEPEND="" |
165 |
-RDEPEND="virtual/opencl" |
166 |
- |
167 |
-S="${WORKDIR}" |
168 |
- |
169 |
-pkg_nofetch() { |
170 |
- einfo "Please download" |
171 |
- einfo "$SRC_URI" |
172 |
- einfo " ${CURI} and place it in ${DISTDIR}" |
173 |
-} |
174 |
- |
175 |
-src_unpack() { |
176 |
- unpack ${A} |
177 |
- use openmp || rm -rf *_mp* |
178 |
-} |
179 |
- |
180 |
-src_test() { |
181 |
- local fdir d |
182 |
- for fdir in */examples; do |
183 |
- einfo "Testing acml in ${fdir}" |
184 |
- pushd ${fdir} > /dev/null |
185 |
- emake ACMLDIR="${S}/${fdir%/examples}" |
186 |
- emake clean |
187 |
- popd > /dev/null |
188 |
- done |
189 |
-} |
190 |
- |
191 |
-src_install() { |
192 |
- # install libraries, pkgconfig file and eselect files for each profile |
193 |
- local prof libs fdir libdir=$(get_libdir) x |
194 |
- for fdir in */lib; do |
195 |
- fdir=$(dirname ${fdir}) |
196 |
- prof=acml-$(echo ${fdir} | sed \ |
197 |
- -e 's:mp:openmp:' \ |
198 |
- -e 's:_:-:g') |
199 |
- use examples || rm -r ${fdir}/examples |
200 |
- dodir /${ACML_INST_DIR} |
201 |
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} || die |
202 |
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')" |
203 |
- cat <<-EOF > ${prof}.pc |
204 |
- prefix=${EROOT}/${ACML_INST_DIR}/${fdir} |
205 |
- libdir=\${prefix}/lib |
206 |
- includedir=\${prefix}/include |
207 |
- Name: ${prof} |
208 |
- Description: ${DESCRIPTION} |
209 |
- Version: ${PV} |
210 |
- URL: ${HOMEPAGE} |
211 |
- Libs: -L\${libdir} ${libs} |
212 |
- Libs.private: -lm -lrt ${threads} |
213 |
- Cflags: -I\${includedir} |
214 |
- EOF |
215 |
- insinto /usr/${libdir}/pkgconfig |
216 |
- doins ${prof}.pc |
217 |
- for x in blas lapack; do |
218 |
- alternatives_for ${x} ${prof} 0 \ |
219 |
- /usr/${libdir}/pkgconfig/${x}.pc ${prof}.pc \ |
220 |
- /${ACML_INST_DIR}/${libdir} ${fdir}/lib |
221 |
- done |
222 |
- done |
223 |
- |
224 |
- echo > 35acml "LDPATH=${EROOT}/${ACML_INST_DIR}/${libdir}" |
225 |
- doenvd 35acml |
226 |
- |
227 |
- # default profile: first one matching use flags |
228 |
- local opts=gfortran64 |
229 |
- use openmp && opts+="_mp" |
230 |
- dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir} |
231 |
- |
232 |
- insinto /${ACML_INST_DIR} |
233 |
- # info files go to standard /usr/share/info to avoid more env variables |
234 |
- doinfo Doc/*info* |
235 |
- rm Doc/*EULA* Doc/*info* || die |
236 |
- use doc || rm -r Doc/*.pdf Doc/acml.html Doc/html |
237 |
- doins -r Doc ReleaseNotes* |
238 |
-} |
239 |
|
240 |
diff --git a/sci-libs/acml/acml-6.1.0.31.ebuild b/sci-libs/acml/acml-6.1.0.31.ebuild |
241 |
deleted file mode 100644 |
242 |
index 35af17196..000000000 |
243 |
--- a/sci-libs/acml/acml-6.1.0.31.ebuild |
244 |
+++ /dev/null |
245 |
@@ -1,98 +0,0 @@ |
246 |
-# Copyright 1999-2016 Gentoo Foundation |
247 |
-# Distributed under the terms of the GNU General Public License v2 |
248 |
- |
249 |
-EAPI=5 |
250 |
- |
251 |
-inherit eutils multilib toolchain-funcs versionator alternatives-2 fortran-2 |
252 |
- |
253 |
-ACML_INST_DIR=opt/${PN}${PV} |
254 |
-QA_PREBUILT="${ACML_INST_DIR}/*/lib/*" |
255 |
- |
256 |
-MYP=${PN}-$(replace_all_version_separators -) |
257 |
- |
258 |
-DESCRIPTION="AMD Core Math Library for amd64 CPUs" |
259 |
-HOMEPAGE="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/" |
260 |
-CURI="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/#download" |
261 |
-SRC_URI="${P}-gfortran64.tgz" |
262 |
- |
263 |
-LICENSE="ACML-EULA" |
264 |
-SLOT="0" |
265 |
-KEYWORDS="-* ~amd64 ~amd64-linux" |
266 |
-IUSE="doc examples test" |
267 |
-RESTRICT="strip mirror fetch" |
268 |
- |
269 |
-DEPEND="" |
270 |
-RDEPEND="" |
271 |
- |
272 |
-S="${WORKDIR}" |
273 |
- |
274 |
-pkg_nofetch() { |
275 |
- einfo "Please download" |
276 |
- einfo "$SRC_URI" |
277 |
- einfo " ${CURI} and place it in ${DISTDIR}" |
278 |
-} |
279 |
- |
280 |
-src_unpack() { |
281 |
- unpack ${A} |
282 |
- use openmp || rm -rf *_mp* |
283 |
-} |
284 |
- |
285 |
-src_test() { |
286 |
- local fdir d |
287 |
- for fdir in */examples; do |
288 |
- einfo "Testing acml in ${fdir}" |
289 |
- pushd ${fdir} > /dev/null |
290 |
- emake ACMLDIR="${S}/${fdir%/examples}" |
291 |
- emake clean |
292 |
- popd > /dev/null |
293 |
- done |
294 |
-} |
295 |
- |
296 |
-src_install() { |
297 |
- # install libraries, pkgconfig file and eselect files for each profile |
298 |
- local prof libs fdir libdir=$(get_libdir) x |
299 |
- for fdir in */lib; do |
300 |
- fdir=$(dirname ${fdir}) |
301 |
- prof=acml-$(echo ${fdir} | sed \ |
302 |
- -e 's:mp:openmp:' \ |
303 |
- -e 's:_:-:g') |
304 |
- use examples || rm -r ${fdir}/examples |
305 |
- dodir /${ACML_INST_DIR} |
306 |
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} || die |
307 |
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')" |
308 |
- cat <<-EOF > ${prof}.pc |
309 |
- prefix=${EROOT}/${ACML_INST_DIR}/${fdir} |
310 |
- libdir=\${prefix}/lib |
311 |
- includedir=\${prefix}/include |
312 |
- Name: ${prof} |
313 |
- Description: ${DESCRIPTION} |
314 |
- Version: ${PV} |
315 |
- URL: ${HOMEPAGE} |
316 |
- Libs: -L\${libdir} ${libs} |
317 |
- Libs.private: -lm -lrt ${threads} |
318 |
- Cflags: -I\${includedir} |
319 |
- EOF |
320 |
- insinto /usr/${libdir}/pkgconfig |
321 |
- doins ${prof}.pc |
322 |
- for x in blas lapack; do |
323 |
- alternatives_for ${x} ${prof} 0 \ |
324 |
- /usr/${libdir}/pkgconfig/${x}.pc ${prof}.pc \ |
325 |
- /${ACML_INST_DIR}/${libdir} ${fdir}/lib |
326 |
- done |
327 |
- done |
328 |
- |
329 |
- echo > 35acml "LDPATH=${EROOT}/${ACML_INST_DIR}/${libdir}" |
330 |
- doenvd 35acml |
331 |
- |
332 |
- # default profile: first one matching use flags |
333 |
- local opts=gfortran64 |
334 |
- use openmp && opts+="_mp" |
335 |
- dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir} |
336 |
- |
337 |
- insinto /${ACML_INST_DIR} |
338 |
- # info files go to standard /usr/share/info to avoid more env variables |
339 |
- doinfo Doc/*info* |
340 |
- rm Doc/*EULA* Doc/*info* || die |
341 |
- use doc || rm -r Doc/*.pdf Doc/acml.html Doc/html |
342 |
- doins -r Doc ReleaseNotes* |
343 |
-} |
344 |
|
345 |
diff --git a/sci-libs/acml/metadata.xml b/sci-libs/acml/metadata.xml |
346 |
deleted file mode 100644 |
347 |
index 90ed0116b..000000000 |
348 |
--- a/sci-libs/acml/metadata.xml |
349 |
+++ /dev/null |
350 |
@@ -1,27 +0,0 @@ |
351 |
-<?xml version="1.0" encoding="UTF-8"?> |
352 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
353 |
-<pkgmetadata> |
354 |
-<maintainer type="project"> |
355 |
- <email>sci@g.o</email> |
356 |
- <name>Gentoo Science Project</name> |
357 |
-</maintainer> |
358 |
-<longdescription lang="en"> |
359 |
- The AMD(R) Core Math Library provides an implementation of the "Basic |
360 |
- Linear Algebra Subprograms" (BLAS) and the "Linear Algebra PACKage" |
361 |
- (LAPACK) as well as a set of "Fast Fourier Transformation" (FFT) |
362 |
- routines, all highly optimized for AMD(R) x86 and amd64 CPUs. |
363 |
-</longdescription> |
364 |
-<longdescription lang="de"> |
365 |
- Die AMD(R) Core Math Library ist ein Ersatz für die "Basic Linear |
366 |
- Algebra Subprograms" (BLAS) und das "Linear Algebra PACKage" (LAPACK). |
367 |
- Außerdem enthält sie Routinen zur "Fast Fourier Tranformation" (FFT). |
368 |
- Alle Routinen sind hoch optimiert für AMD(R) x86 und amd64 CPUs. |
369 |
-</longdescription> |
370 |
-<use> |
371 |
- <flag name="gfortran">Fetch and install acml compiled with GNU FORTRAN compiler</flag> |
372 |
- <flag name="ifort">Fetch and install acml compiled with the Intel FORTRAN compiler</flag> |
373 |
- <flag name="int64">Install the 64 bits integer library</flag> |
374 |
- <flag name="pgi">Fetch and install acml compiled with the Portland Group FORTRAN compiler</flag> |
375 |
- <flag name="open64">Fetch and install acml compiled with the Open64 FORTRAN Compiler</flag> |
376 |
-</use> |
377 |
-</pkgmetadata> |