1 |
commit: c45b4080dc3d671fbaa6d6691a1e32ab6f7301fc |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Mon Sep 28 09:00:42 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 28 09:00:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c45b4080 |
7 |
|
8 |
sci-libs/plasma: removed unmaintained package |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-libs/plasma/metadata.xml | 15 ---- |
14 |
sci-libs/plasma/plasma-2.5.2.ebuild | 140 ----------------------------------- |
15 |
sci-libs/plasma/plasma-2.6.0.ebuild | 141 ------------------------------------ |
16 |
3 files changed, 296 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/plasma/metadata.xml b/sci-libs/plasma/metadata.xml |
19 |
deleted file mode 100644 |
20 |
index b21b3df93..000000000 |
21 |
--- a/sci-libs/plasma/metadata.xml |
22 |
+++ /dev/null |
23 |
@@ -1,15 +0,0 @@ |
24 |
-<?xml version="1.0" encoding="UTF-8"?> |
25 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
-<pkgmetadata> |
27 |
- <maintainer type="project"> |
28 |
- <email>sci@g.o</email> |
29 |
- <name>Gentoo Science Project</name> |
30 |
- </maintainer> |
31 |
- <longdescription lang="en"> |
32 |
-The Parallel Linear Algebra for Scalable Multi-core Architectures |
33 |
-(PLASMA) project aims to address the critical and highly disruptive |
34 |
-situation that is facing the Linear Algebra and High Performance |
35 |
-Computing community due to the introduction of multi-core |
36 |
-architectures. |
37 |
-</longdescription> |
38 |
-</pkgmetadata> |
39 |
|
40 |
diff --git a/sci-libs/plasma/plasma-2.5.2.ebuild b/sci-libs/plasma/plasma-2.5.2.ebuild |
41 |
deleted file mode 100644 |
42 |
index 1a33d3630..000000000 |
43 |
--- a/sci-libs/plasma/plasma-2.5.2.ebuild |
44 |
+++ /dev/null |
45 |
@@ -1,140 +0,0 @@ |
46 |
-# Copyright 1999-2014 Gentoo Foundation |
47 |
-# Distributed under the terms of the GNU General Public License v2 |
48 |
- |
49 |
-EAPI=5 |
50 |
-inherit eutils fortran-2 toolchain-funcs versionator multilib flag-o-matic |
51 |
- |
52 |
-MYP=${PN}_${PV} |
53 |
- |
54 |
-DESCRIPTION="Parallel Linear Algebra for Scalable Multi-core Architecture" |
55 |
-HOMEPAGE="http://icl.cs.utk.edu/plasma/" |
56 |
-SRC_URI="http://icl.cs.utk.edu/projectsfiles/plasma/pubs/${MYP}.tar.gz" |
57 |
- |
58 |
-LICENSE="BSD" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
61 |
-IUSE="doc examples fortran static-libs test" |
62 |
- |
63 |
-RDEPEND=" |
64 |
- sys-apps/hwloc |
65 |
- virtual/blas |
66 |
- virtual/cblas |
67 |
- virtual/lapack |
68 |
- virtual/lapacke" |
69 |
-DEPEND="${RDEPEND} |
70 |
- virtual/pkgconfig |
71 |
- test? ( sci-libs/lapacke-reference[tmg] )" |
72 |
- |
73 |
-S="${WORKDIR}/${MYP}" |
74 |
- |
75 |
-# TODO: virtual/{blas,cblas,lapack} serial and threaded. plasma works properly |
76 |
-# with serial blas/lapack (see README). not doable dynamically with atlas |
77 |
- |
78 |
-static_to_shared() { |
79 |
- local libstatic=${1}; shift |
80 |
- local libname=$(basename ${libstatic%.a}) |
81 |
- local soname=${libname}$(get_libname $(get_version_component_range 1-2)) |
82 |
- local libdir=$(dirname ${libstatic}) |
83 |
- |
84 |
- einfo "Making ${soname} from ${libstatic}" |
85 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
86 |
- ${LINK:-$(tc-getCC)} ${LDFLAGS} \ |
87 |
- -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ |
88 |
- -Wl,-all_load -Wl,${libstatic} \ |
89 |
- "$@" -o ${libdir}/${soname} || die "${soname} failed" |
90 |
- else |
91 |
- ${LINK:-$(tc-getCC)} ${LDFLAGS} \ |
92 |
- -shared -Wl,-soname=${soname} \ |
93 |
- -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ |
94 |
- "$@" -o ${libdir}/${soname} || die "${soname} failed" |
95 |
- [[ $(get_version_component_count) -gt 1 ]] && \ |
96 |
- ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) |
97 |
- ln -s ${soname} ${libdir}/${libname}$(get_libname) |
98 |
- fi |
99 |
-} |
100 |
- |
101 |
-src_prepare() { |
102 |
- # rename plasma to avoid collision (https://github.com/gentoo-science/sci/issues/34) |
103 |
- # lib name conflict with kde plasma, rename |
104 |
- PLASMA_LIBNAME=plasmca |
105 |
- sed -i \ |
106 |
- -e "s/-lplasma/-l${PLASMA_LIBNAME}/g" \ |
107 |
- -e "s/libplasma.a/lib${PLASMA_LIBNAME}.a/" \ |
108 |
- Makefile.internal || die |
109 |
- |
110 |
- # distributed pc file not so useful, so redo it |
111 |
- cat <<-EOF > ${PN}.pc |
112 |
- prefix=${EPREFIX}/usr |
113 |
- libdir=\${prefix}/$(get_libdir) |
114 |
- includedir=\${prefix}/include/${PN} |
115 |
- Name: ${PN} |
116 |
- Description: ${DESCRIPTION} |
117 |
- Version: ${PV} |
118 |
- URL: ${HOMEPAGE} |
119 |
- Libs: -L\${libdir} -l${PLASMA_LIBNAME} -lcoreblas -lquark |
120 |
- Libs.private: -lm |
121 |
- Cflags: -I\${includedir} |
122 |
- Requires: blas cblas lapack lapacke hwloc |
123 |
- EOF |
124 |
-} |
125 |
- |
126 |
-src_configure() { |
127 |
- cat <<-EOF > make.inc |
128 |
- ARCH = $(tc-getAR) |
129 |
- ARCHFLAGS = cr |
130 |
- RANLIB = $(tc-getRANLIB) |
131 |
- CC = $(tc-getCC) |
132 |
- FC = $(tc-getFC) |
133 |
- CFLAGS = ${CFLAGS} -DADD_ -fPIC $(has_version ">=virtual/lapacke-3.5" && echo "-DDOXYGEN_SHOULD_SKIP_THIS=1") |
134 |
- FFLAGS = ${FFLAGS} -fPIC |
135 |
- LOADER = $(tc-getFC) |
136 |
- LIBBLAS = $($(tc-getPKG_CONFIG) --libs blas) |
137 |
- LIBCBLAS = $($(tc-getPKG_CONFIG) --libs cblas) |
138 |
- LIBLAPACK = $($(tc-getPKG_CONFIG) --libs lapack) -ltmglib |
139 |
- LIBCLAPACK = $($(tc-getPKG_CONFIG) --libs lapacke) |
140 |
- $(use fortran && echo "PLASMA_F90 = 1") |
141 |
- EOF |
142 |
-} |
143 |
- |
144 |
-src_compile() { |
145 |
- emake lib |
146 |
- #mv lib/libplasma.a lib/lib${PLASMA_LIBNAME}.a || die |
147 |
- static_to_shared quark/libquark.a $($(tc-getPKG_CONFIG --libs hwloc)) -pthread |
148 |
- static_to_shared lib/libcoreblas.a quark/libquark.so $($(tc-getPKG_CONFIG --libs cblas lapacke)) |
149 |
- static_to_shared lib/lib${PLASMA_LIBNAME}.a quark/libquark.so lib/libcoreblas.so |
150 |
- if use static-libs; then |
151 |
- emake cleanall |
152 |
- sed 's/-fPIC//g' make.inc |
153 |
- emake lib |
154 |
- fi |
155 |
-} |
156 |
- |
157 |
-src_test() { |
158 |
- emake test |
159 |
- cd testing |
160 |
- LD_LIBRARY_PATH="../lib:../quark:${LD_LIBRARY_PATH}" ./plasma_testing.py || die |
161 |
-} |
162 |
- |
163 |
-src_install() { |
164 |
- dolib.so lib/lib*$(get_libname)* quark/libquark$(get_libname)* |
165 |
- use static-libs && dolib.a lib/lib*.a quark/libquark.a |
166 |
- insinto /usr/include/${PN} |
167 |
- doins quark/quark{,_unpack_args}.h quark/icl_{hash,list}.h include/*.h |
168 |
- use fortran && doins include/*.mod |
169 |
- insinto /usr/$(get_libdir)/pkgconfig |
170 |
- doins ${PN}.pc |
171 |
- dodoc README ToDo ReleaseNotes |
172 |
- use doc && dodoc docs/pdf/*.pdf && dohtml docs/doxygen/out/html/* |
173 |
- if use examples; then |
174 |
- emake -C examples cleanall |
175 |
- insinto /usr/share/doc/${PF} |
176 |
- doins -r examples |
177 |
- fi |
178 |
-} |
179 |
- |
180 |
-pkg_postinst() { |
181 |
- elog "The plasma linear algebra library file has been renamed ${PLASMA_LIBNAME}" |
182 |
- elog "to avoid collision with KDE plasma." |
183 |
- elog "Compile and link your programs using the following command:" |
184 |
- elog " pkg-config --cflags --libs plasma" |
185 |
-} |
186 |
|
187 |
diff --git a/sci-libs/plasma/plasma-2.6.0.ebuild b/sci-libs/plasma/plasma-2.6.0.ebuild |
188 |
deleted file mode 100644 |
189 |
index 851a4d00e..000000000 |
190 |
--- a/sci-libs/plasma/plasma-2.6.0.ebuild |
191 |
+++ /dev/null |
192 |
@@ -1,141 +0,0 @@ |
193 |
-# Copyright 1999-2014 Gentoo Foundation |
194 |
-# Distributed under the terms of the GNU General Public License v2 |
195 |
- |
196 |
-EAPI=5 |
197 |
-inherit eutils fortran-2 toolchain-funcs versionator multilib flag-o-matic |
198 |
- |
199 |
-MYP=${PN}_${PV} |
200 |
-SOVER=$(get_version_component_range 1) |
201 |
- |
202 |
-DESCRIPTION="Parallel Linear Algebra for Scalable Multi-core Architecture" |
203 |
-HOMEPAGE="http://icl.cs.utk.edu/plasma/" |
204 |
-SRC_URI="http://icl.cs.utk.edu/projectsfiles/plasma/pubs/${MYP}.tar.gz" |
205 |
- |
206 |
-LICENSE="BSD" |
207 |
-SLOT="0/${SOVER}" |
208 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
209 |
-IUSE="doc examples fortran static-libs test" |
210 |
- |
211 |
-RDEPEND=" |
212 |
- sys-apps/hwloc |
213 |
- virtual/blas |
214 |
- virtual/cblas |
215 |
- virtual/lapack |
216 |
- virtual/lapacke" |
217 |
-DEPEND="${RDEPEND} |
218 |
- virtual/pkgconfig |
219 |
- test? ( sci-libs/lapacke-reference[tmg] )" |
220 |
- |
221 |
-S="${WORKDIR}/${MYP}" |
222 |
- |
223 |
-# TODO: virtual/{blas,cblas,lapack} serial and threaded. plasma works properly |
224 |
-# with serial blas/lapack (see README). not doable dynamically with atlas |
225 |
- |
226 |
-static_to_shared() { |
227 |
- local libstatic=${1}; shift |
228 |
- local libname=$(basename ${libstatic%.a}) |
229 |
- local soname=${libname}$(get_libname ${SOVER}) |
230 |
- local libdir=$(dirname ${libstatic}) |
231 |
- |
232 |
- einfo "Making ${soname} from ${libstatic}" |
233 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
234 |
- ${LINK:-$(tc-getCC)} ${LDFLAGS} \ |
235 |
- -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ |
236 |
- -Wl,-all_load -Wl,${libstatic} \ |
237 |
- "$@" -o ${libdir}/${soname} || die "${soname} failed" |
238 |
- else |
239 |
- ${LINK:-$(tc-getCC)} ${LDFLAGS} \ |
240 |
- -shared -Wl,-soname=${soname} \ |
241 |
- -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ |
242 |
- "$@" -o ${libdir}/${soname} || die "${soname} failed" |
243 |
- [[ $(get_version_component_count) -gt 1 ]] && \ |
244 |
- ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) |
245 |
- ln -s ${soname} ${libdir}/${libname}$(get_libname) |
246 |
- fi |
247 |
-} |
248 |
- |
249 |
-src_prepare() { |
250 |
- # rename plasma to avoid collision (https://github.com/gentoo-science/sci/issues/34) |
251 |
- # lib name conflict with kde plasma, rename |
252 |
- PLASMA_LIBNAME=plasmca |
253 |
- sed -i \ |
254 |
- -e "s/-lplasma/-l${PLASMA_LIBNAME}/g" \ |
255 |
- -e "s/libplasma.a/lib${PLASMA_LIBNAME}.a/" \ |
256 |
- Makefile.internal || die |
257 |
- |
258 |
- # distributed pc file not so useful, so redo it |
259 |
- cat <<-EOF > ${PN}.pc |
260 |
- prefix=${EPREFIX}/usr |
261 |
- libdir=\${prefix}/$(get_libdir) |
262 |
- includedir=\${prefix}/include/${PN} |
263 |
- Name: ${PN} |
264 |
- Description: ${DESCRIPTION} |
265 |
- Version: ${PV} |
266 |
- URL: ${HOMEPAGE} |
267 |
- Libs: -L\${libdir} -l${PLASMA_LIBNAME} -lcoreblas -lquark |
268 |
- Libs.private: -lm |
269 |
- Cflags: -I\${includedir} |
270 |
- Requires: blas cblas lapack lapacke hwloc |
271 |
- EOF |
272 |
-} |
273 |
- |
274 |
-src_configure() { |
275 |
- cat <<-EOF > make.inc |
276 |
- ARCH = $(tc-getAR) |
277 |
- ARCHFLAGS = cr |
278 |
- RANLIB = $(tc-getRANLIB) |
279 |
- CC = $(tc-getCC) |
280 |
- FC = $(tc-getFC) |
281 |
- CFLAGS = ${CFLAGS} -DADD_ -fPIC $(has_version ">=virtual/lapacke-3.5" && echo "-DDOXYGEN_SHOULD_SKIP_THIS=1") |
282 |
- FFLAGS = ${FFLAGS} -fPIC |
283 |
- LOADER = $(tc-getFC) |
284 |
- LIBBLAS = $($(tc-getPKG_CONFIG) --libs blas) |
285 |
- LIBCBLAS = $($(tc-getPKG_CONFIG) --libs cblas) |
286 |
- LIBLAPACK = $($(tc-getPKG_CONFIG) --libs lapack) -ltmglib |
287 |
- LIBCLAPACK = $($(tc-getPKG_CONFIG) --libs lapacke) |
288 |
- $(use fortran && echo "PLASMA_F90 = 1") |
289 |
- EOF |
290 |
-} |
291 |
- |
292 |
-src_compile() { |
293 |
- emake lib |
294 |
- #mv lib/libplasma.a lib/lib${PLASMA_LIBNAME}.a || die |
295 |
- static_to_shared quark/libquark.a $($(tc-getPKG_CONFIG --libs hwloc)) -pthread |
296 |
- static_to_shared lib/libcoreblas.a quark/libquark.so $($(tc-getPKG_CONFIG --libs cblas lapacke)) |
297 |
- static_to_shared lib/lib${PLASMA_LIBNAME}.a quark/libquark.so lib/libcoreblas.so |
298 |
- if use static-libs; then |
299 |
- emake cleanall |
300 |
- sed 's/-fPIC//g' make.inc |
301 |
- emake lib |
302 |
- fi |
303 |
-} |
304 |
- |
305 |
-src_test() { |
306 |
- emake test |
307 |
- cd testing |
308 |
- LD_LIBRARY_PATH="../lib:../quark:${LD_LIBRARY_PATH}" ./plasma_testing.py || die |
309 |
-} |
310 |
- |
311 |
-src_install() { |
312 |
- dolib.so lib/lib*$(get_libname)* quark/libquark$(get_libname)* |
313 |
- use static-libs && dolib.a lib/lib*.a quark/libquark.a |
314 |
- insinto /usr/include/${PN} |
315 |
- doins quark/quark{,_unpack_args}.h quark/icl_{hash,list}.h include/*.h |
316 |
- use fortran && doins include/*.mod |
317 |
- insinto /usr/$(get_libdir)/pkgconfig |
318 |
- doins ${PN}.pc |
319 |
- dodoc README ToDo ReleaseNotes |
320 |
- use doc && dodoc docs/pdf/*.pdf && dohtml docs/doxygen/out/html/* |
321 |
- if use examples; then |
322 |
- emake -C examples cleanall |
323 |
- insinto /usr/share/doc/${PF} |
324 |
- doins -r examples |
325 |
- fi |
326 |
-} |
327 |
- |
328 |
-pkg_postinst() { |
329 |
- elog "The plasma linear algebra library file has been renamed ${PLASMA_LIBNAME}" |
330 |
- elog "to avoid collision with KDE plasma." |
331 |
- elog "Compile and link your programs using the following command:" |
332 |
- elog " pkg-config --cflags --libs plasma" |
333 |
-} |