1 |
commit: 556db31675a9add2e29363af9fa903eaaa94c5d5 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 4 08:28:07 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 09:03:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556db316 |
7 |
|
8 |
sci-libs/pastix: Remove old 5.2.2.22 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
sci-libs/pastix/Manifest | 1 - |
13 |
sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 127 ------------------------------ |
14 |
2 files changed, 128 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest |
17 |
index 54351d75797..67a373f2321 100644 |
18 |
--- a/sci-libs/pastix/Manifest |
19 |
+++ b/sci-libs/pastix/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST pastix-6.0.3.tar.gz 1793579 BLAKE2B 9e0ee71c80b2c93c6762c1a824b2e1262fd1a9f406194fb99eeecbfc172cf82f497d23a541b56c44e5487c3c228cab781f47f683ee04c6cdf426da6126750a69 SHA512 5bf8dfa6ed02ee7e236c63e21c80bd45af807b465b21a8c0520b1328e179095f1416f925be9f8b5ec0e8078ca9bc4398bf0d091fdc8e9ea51b9af12a06d9a544 |
22 |
-DIST pastix_5.2.2.22.tar.bz2 2664470 BLAKE2B b1fbd12bf2c882aa8fd2c4891a6890df4bdc4488cedca2a7861e676ec5678063927f2e4a4edc47aa7ca0422b283f8f012aa1032af7212fe39f4c55e7f0f7adc4 SHA512 15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70 |
23 |
DIST pastix_5.2.3.tar.bz2 2246903 BLAKE2B b13cb31bbc2aeb122e932b2a934598ec975a55f327483bf1383280976584858426c56982f6980b52f32f04e05c6e6c8de1cf35e378e61a7be9dddb705b1c033a SHA512 69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95 |
24 |
|
25 |
diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index dbb6464862a..00000000000 |
28 |
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,127 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit fortran-2 toolchain-funcs |
37 |
- |
38 |
-# TODO: |
39 |
-# testing: emake examples? |
40 |
-# better doc instalation and building |
41 |
-# pypastix (separate package?) |
42 |
-# multilib with eselect? |
43 |
-# static libs building without pic |
44 |
-# metis? |
45 |
- |
46 |
-# package id: change every version, see the link on inriaforge |
47 |
-PID=35070 |
48 |
-# commit id: change every version |
49 |
-#CID=351ef60 |
50 |
-# leave empty if this is not a post release bug fix |
51 |
-#PPV=bugfix9_ |
52 |
-#MYPN=pastix_release |
53 |
-#SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2" |
54 |
- |
55 |
-DESCRIPTION="Parallel solver for very large sparse linear systems" |
56 |
-HOMEPAGE="https://pastix.gforge.inria.fr" |
57 |
-SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2" |
58 |
- |
59 |
-LICENSE="CeCILL-C" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
62 |
-IUSE="doc int64 mpi +smp starpu static-libs" |
63 |
- |
64 |
-RDEPEND=" |
65 |
- sci-libs/scotch:0=[int64?,mpi?] |
66 |
- sys-apps/hwloc:0= |
67 |
- virtual/blas |
68 |
- mpi? ( virtual/mpi ) |
69 |
- starpu? ( dev-libs/starpu:0= )" |
70 |
-DEPEND="${RDEPEND} |
71 |
- virtual/pkgconfig" |
72 |
- |
73 |
-PATCHES=( |
74 |
- "${FILESDIR}/${P}-nosmp-undefined-variable.patch" |
75 |
- "${FILESDIR}/${P}-isnan-floating-point-cast.patch" |
76 |
-) |
77 |
-S="${WORKDIR}/${PN}_${PV}/src" |
78 |
- |
79 |
-src_prepare() { |
80 |
- default |
81 |
- sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \ |
82 |
- -e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \ |
83 |
- -e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \ |
84 |
- -e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \ |
85 |
- -e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \ |
86 |
- -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \ |
87 |
- -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \ |
88 |
- -e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \ |
89 |
- -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX}/usr:" \ |
90 |
- -e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \ |
91 |
- -e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \ |
92 |
- -e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \ |
93 |
- -e 's:^#\s*\(SHARED\s*=\).*:\1 1:' \ |
94 |
- -e 's:^#\s*\(SOEXT\s*=\).*:\1 .so:' \ |
95 |
- -e '/fPIC/s/^#//g' \ |
96 |
- -e "s:^#\s*\(SHARED_FLAGS\s*=.*\):\1 ${LDFLAGS}:" \ |
97 |
- -e "s:pkg-config:$(tc-getPKG_CONFIG):g" \ |
98 |
- -e "s:^\(BLASLIB\s*=\).*:\1 $($(tc-getPKG_CONFIG) --libs blas):" \ |
99 |
- -e "s:^\s*\(HWLOC_HOME\s*?=\).*:\1 ${EPREFIX}/usr:" \ |
100 |
- -e "s:-I\$(HWLOC_INC):$($(tc-getPKG_CONFIG) --cflags hwloc):" \ |
101 |
- -e "s:-L\$(HWLOC_LIB) -lhwloc:$($(tc-getPKG_CONFIG) --libs hwloc):" \ |
102 |
- -e "s:^\s*\(SCOTCH_HOME\s*?=\).*:\1 ${EPREFIX}/usr:" \ |
103 |
- -e "s:^\s*\(SCOTCH_INC\s*?=.*\):\1/scotch:" \ |
104 |
- -e "s:^\s*\(SCOTCH_LIB\s*?=.*\)lib:\1$(get_libdir):" \ |
105 |
- config/LINUX-GNU.in > config.in || die |
106 |
- sed -e 's/__SO_NAME__,$@/__SO_NAME__,$(notdir $@)/g' -i Makefile || die |
107 |
-} |
108 |
- |
109 |
-src_configure() { |
110 |
- if use amd64; then |
111 |
- sed -e 's/^\(VERSIONBIT\s*=\).*/\1 _64bit/' \ |
112 |
- -i config.in || die |
113 |
- fi |
114 |
- |
115 |
- if use int64; then |
116 |
- sed -e '/VERSIONINT.*_int64/s/#//' \ |
117 |
- -e '/CCTYPES.*INTSSIZE64/s/#//' \ |
118 |
- -i config.in || die |
119 |
- fi |
120 |
- |
121 |
- if ! use mpi; then |
122 |
- sed -e '/VERSIONMPI.*_nompi/s/#//' \ |
123 |
- -e '/CCTYPES.*NOMPI/s/#//' \ |
124 |
- -e '/MPCCPROG\s*= $(CCPROG)/s/#//' \ |
125 |
- -e '/MCFPROG\s*= $(CFPROG)/s/#//' \ |
126 |
- -e 's/-DDISTRIBUTED//' \ |
127 |
- -e 's/-lptscotch/-lscotch/g' \ |
128 |
- -i config.in || die |
129 |
- fi |
130 |
- |
131 |
- if ! use smp; then |
132 |
- sed -e '/VERSIONSMP.*_nosmp/s/#//' \ |
133 |
- -e '/CCTYPES.*NOSMP/s/#//' \ |
134 |
- -i config.in || die |
135 |
- fi |
136 |
- |
137 |
- if use starpu; then |
138 |
- sed -e '/libstarpu/s/#//g' -i config.in || die |
139 |
- fi |
140 |
-} |
141 |
- |
142 |
-src_compile() { |
143 |
- emake all drivers |
144 |
-} |
145 |
- |
146 |
-src_test() { |
147 |
- # both test and tests targets are defined and do not work |
148 |
- echo |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- default |
153 |
- sed -e "s:${D}::g" -i "${ED}"/usr/bin/pastix-conf || die |
154 |
- # quick and dirty (static libs should really be built without pic) |
155 |
- cd .. || die |
156 |
- dodoc README.txt doc/refcard/refcard.pdf |
157 |
-} |