1 |
commit: c0fad24c7bbf32c0a11e431e3fccfee484260f69 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Sat Sep 26 21:38:05 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Sat Sep 26 21:38:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c0fad24c |
7 |
|
8 |
sci-libs/gotoblas2: drop dead package |
9 |
|
10 |
suggested replacement - openblas (direct successor) |
11 |
|
12 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
13 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
14 |
|
15 |
.../gotoblas2/files/gotoblas2-1.13-aliasing.patch | 11 -- |
16 |
.../gotoblas2/files/gotoblas2-1.13-dynamic.patch | 17 --- |
17 |
.../gotoblas2/files/gotoblas2-1.13-fcheck.patch | 10 -- |
18 |
.../files/gotoblas2-1.13-sharedlibs.patch | 54 --------- |
19 |
sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild | 130 --------------------- |
20 |
sci-libs/gotoblas2/metadata.xml | 21 ---- |
21 |
6 files changed, 243 deletions(-) |
22 |
|
23 |
diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-aliasing.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-aliasing.patch |
24 |
deleted file mode 100644 |
25 |
index 874de7080..000000000 |
26 |
--- a/sci-libs/gotoblas2/files/gotoblas2-1.13-aliasing.patch |
27 |
+++ /dev/null |
28 |
@@ -1,11 +0,0 @@ |
29 |
---- driver/others/init.c.orig 2011-05-31 23:23:24.000000000 +0100 |
30 |
-+++ driver/others/init.c 2011-05-31 23:23:49.000000000 +0100 |
31 |
-@@ -215,7 +215,7 @@ |
32 |
- for (node = 0; node < MAX_NODES; node ++) common -> node_info[node] = 0; |
33 |
- |
34 |
- while ((dir = readdir(dp)) != NULL) { |
35 |
-- if (*(unsigned int *) dir -> d_name == 0x065646f6eU) { |
36 |
-+ if (*(char *) dir -> d_name == 0x065646f6eU) { |
37 |
- |
38 |
- node = atoi(&dir -> d_name[4]); |
39 |
- |
40 |
|
41 |
diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch |
42 |
deleted file mode 100644 |
43 |
index 71021e435..000000000 |
44 |
--- a/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch |
45 |
+++ /dev/null |
46 |
@@ -1,17 +0,0 @@ |
47 |
-Authors: Elias Pipping <pipping@×××××××.org> |
48 |
-Upstream: no |
49 |
-Synopsis: Fix compilation under KATMAI and PRESCOTT architecture. |
50 |
---- old/driver/others/dynamic.c 2010-01-20 17:28:45.000000000 +0100 |
51 |
-+++ new/driver/others/dynamic.c 2010-05-28 16:04:10.190975461 +0200 |
52 |
-@@ -181,9 +181,9 @@ |
53 |
- gotoblas = get_coretype(); |
54 |
- |
55 |
- #ifdef ARCH_X86 |
56 |
-- if (gotoblas == NULL) gotoblas = gotoblas_KATMAI; |
57 |
-+ if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI; |
58 |
- #else |
59 |
-- if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT; |
60 |
-+ if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT; |
61 |
- #endif |
62 |
- |
63 |
- if (gotoblas && gotoblas -> init) { |
64 |
|
65 |
diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-fcheck.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-fcheck.patch |
66 |
deleted file mode 100644 |
67 |
index 809a1edc1..000000000 |
68 |
--- a/sci-libs/gotoblas2/files/gotoblas2-1.13-fcheck.patch |
69 |
+++ /dev/null |
70 |
@@ -1,10 +0,0 @@ |
71 |
---- f_check.orig 2011-05-31 23:12:41.508268623 +0100 |
72 |
-+++ f_check 2011-05-31 23:12:50.208268398 +0100 |
73 |
-@@ -274,6 +274,7 @@ |
74 |
- && ($flags !~ /kernel32/) |
75 |
- && ($flags !~ /advapi32/) |
76 |
- && ($flags !~ /shell32/) |
77 |
-+ && ($flags !~ /^\-l$/) |
78 |
- ) { |
79 |
- $linker_l .= $flags . " "; |
80 |
- } |
81 |
|
82 |
diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-sharedlibs.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-sharedlibs.patch |
83 |
deleted file mode 100644 |
84 |
index 862a00c24..000000000 |
85 |
--- a/sci-libs/gotoblas2/files/gotoblas2-1.13-sharedlibs.patch |
86 |
+++ /dev/null |
87 |
@@ -1,54 +0,0 @@ |
88 |
---- exports/Makefile.orig 2010-02-06 05:01:00.000000000 +1300 |
89 |
-+++ exports/Makefile 2012-03-16 11:43:30.028487068 +1300 |
90 |
-@@ -84,7 +84,7 @@ |
91 |
- perl ./gensymbol win2khpl $(ARCH) dummy $(EXPRECISION) $(NO_CBLAS) > $(@F) |
92 |
- |
93 |
- $(LIBDYNNAME) : ../$(LIBNAME) osx.def |
94 |
-- $(PREFIX)gcc $(CFLAGS) -all_load -dynamiclib -o $(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB) |
95 |
-+ $(PREFIX)gcc $(CFLAGS) -all_load -dynamiclib -o ../$(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB) |
96 |
- |
97 |
- symbol.$(SUFFIX) : symbol.S |
98 |
- $(CC) $(CFLAGS) -c -o $(@F) $^ |
99 |
-@@ -97,10 +97,10 @@ |
100 |
- so : ../$(LIBSONAME) |
101 |
- |
102 |
- ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c |
103 |
-- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ |
104 |
-- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ |
105 |
-- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) |
106 |
-- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. |
107 |
-+ $(CC) $(LDFLAGS) -shared \ |
108 |
-+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \ |
109 |
-+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME) |
110 |
-+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. |
111 |
- rm -f linktest |
112 |
- |
113 |
- endif |
114 |
-@@ -110,10 +110,10 @@ |
115 |
- so : ../$(LIBSONAME) |
116 |
- |
117 |
- ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c |
118 |
-- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ |
119 |
-- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ |
120 |
-- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) |
121 |
-- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. |
122 |
-+ $(CC) $(LDFLAGS) -shared \ |
123 |
-+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \ |
124 |
-+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME) |
125 |
-+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. |
126 |
- rm -f linktest |
127 |
- |
128 |
- endif |
129 |
-@@ -129,9 +129,9 @@ |
130 |
- ifeq ($(OSNAME), SunOS) |
131 |
- |
132 |
- so : ../$(LIBSONAME) |
133 |
-- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ |
134 |
-- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) |
135 |
-- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. |
136 |
-+ $(CC) $(LDFLAGS) -shared -Wl,--soname=$(LIBSONAME) \ |
137 |
-+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) -o ../$(LIBSONAME) |
138 |
-+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. |
139 |
- rm -f linktest |
140 |
- |
141 |
- endif |
142 |
|
143 |
diff --git a/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild |
144 |
deleted file mode 100644 |
145 |
index 9e3ab9d3f..000000000 |
146 |
--- a/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild |
147 |
+++ /dev/null |
148 |
@@ -1,130 +0,0 @@ |
149 |
-# Copyright 1999-2015 Gentoo Foundation |
150 |
-# Distributed under the terms of the GNU General Public License v2 |
151 |
- |
152 |
-EAPI=5 |
153 |
- |
154 |
-NUMERIC_MODULE_NAME=goto2 |
155 |
- |
156 |
-inherit eutils numeric-int64-multibuild fortran-2 multilib toolchain-funcs |
157 |
- |
158 |
-MYPN="GotoBLAS2" |
159 |
-MYP="${MYPN}-${PV}_bsd" |
160 |
- |
161 |
-DESCRIPTION="Fast implementations of the Basic Linear Algebra Subroutines" |
162 |
-HOMEPAGE="http://www.tacc.utexas.edu/tacc-projects/gotoblas2/" |
163 |
-# change to gentoo mirror when in |
164 |
-SRC_URI="http://dev.gentoo.org/~bicatali/${MYP}.tar.gz" |
165 |
- |
166 |
-LICENSE="BSD" |
167 |
-SLOT="0" |
168 |
-KEYWORDS="~amd64 ~x86" |
169 |
-IUSE="+incblas +openmp static-libs threads" |
170 |
- |
171 |
-REQUIRED_USE="|| ( openmp threads )" |
172 |
- |
173 |
-S="${WORKDIR}/${MYPN}" |
174 |
- |
175 |
-src_prepare() { |
176 |
- epatch "${FILESDIR}"/${P}-{dynamic,sharedlibs,fcheck,aliasing}.patch |
177 |
- # respect LDFLAGS |
178 |
- sed -i -e '/^LDFLAGS\s*=/d' Makefile.* || die |
179 |
- sed -i \ |
180 |
- -e "/^COMMON_OPT/s/-O2/${CFLAGS}/" \ |
181 |
- Makefile.rule || die |
182 |
- # fix executable stacks |
183 |
- local i |
184 |
- for i in $(find . -name \*.S); do |
185 |
- cat >> ${i} <<-EOF |
186 |
- #if defined(__ELF__) |
187 |
- .section .note.GNU-stack,"",%progbits |
188 |
- #endif |
189 |
- EOF |
190 |
- done |
191 |
- numeric-int64-multibuild_copy_sources |
192 |
-} |
193 |
- |
194 |
-src_configure() { |
195 |
- myconfigure() { |
196 |
- sed \ |
197 |
- -e "s:^#\s*\(NO_LAPACK\)\s*=.*:\1=1:" \ |
198 |
- -e "s:^#\s*\(CC\)\s*=.*:\1=$(tc-getCC):" \ |
199 |
- -e "s:^#\s*\(FC\)\s*=.*:\1=$(tc-getFC):" \ |
200 |
- -e "s:^#\s*\(USE_THREAD\)\s*=.*:\1=$(usex threads 1 0):" \ |
201 |
- -e "s:^#\s*\(USE_OPENMP\)\s*=.*:\1=$(usex openmp 1 ""):" \ |
202 |
- -e "s:^#\s*\(DYNAMIC_ARCH\)\s*=.*:\1=1:" \ |
203 |
- -e "s:^#\s*\(INTERFACE64\)\s*=.*:\1=$(numeric-int64_is_int64_build && echo 1 || echo ""):" \ |
204 |
- -e "s:^#\s*\(NO_CBLAS\)\s*=.*:\1=$(usex incblas 1 ""):" \ |
205 |
- -i Makefile.rule || die |
206 |
- if numeric-int64_is_int64_build; then |
207 |
- sed \ |
208 |
- -e 's:libgoto2:libgoto2_int64:g' \ |
209 |
- -i Makefile* || die |
210 |
- fi |
211 |
- } |
212 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir myconfigure |
213 |
-} |
214 |
- |
215 |
-src_compile() { |
216 |
- mycompile() { |
217 |
- if numeric-int64_is_static_build; then |
218 |
- use static-libs && emake clean && emake libs NEED_PIC= |
219 |
- else |
220 |
- mkdir solibs || die |
221 |
- emake libs shared && mv *$(get_libname) solibs/ || die |
222 |
- fi |
223 |
- } |
224 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir mycompile |
225 |
-} |
226 |
- |
227 |
-src_test() { |
228 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir emake tests |
229 |
-} |
230 |
- |
231 |
-src_install() { |
232 |
- myinstall() { |
233 |
- local profname=$(numeric-int64_get_module_name) |
234 |
- local libname=libgoto2 |
235 |
- local libs="-L\${libdir} -lm" |
236 |
- if numeric-int64_is_int64_build; then |
237 |
- libs+=" -lgoto2_int64" |
238 |
- else |
239 |
- libs+=" -lgoto2" |
240 |
- fi |
241 |
- use threads && libs+=" -pthread" |
242 |
- |
243 |
- numeric-int64_is_static_build && libname=libgoto2_int64 |
244 |
- |
245 |
- if numeric-int64_is_static_build; then |
246 |
- dolib.a lib*.a |
247 |
- else |
248 |
- dolib.so solibs/lib*$(get_libname) |
249 |
- |
250 |
- create_pkgconfig \ |
251 |
- --name "${MYPN}" \ |
252 |
- --libs "${libs}" \ |
253 |
- --cflags "-I\${includedir}/${PN}" \ |
254 |
- ${profname} |
255 |
- fi |
256 |
- |
257 |
- if use incblas; then |
258 |
- insinto /usr/include/${PN} |
259 |
- doins cblas.h |
260 |
- fi |
261 |
- } |
262 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir myinstall |
263 |
- |
264 |
- numeric-int64-multibuild_install_alternative blas ${NUMERIC_MODULE_NAME} |
265 |
- numeric-int64-multibuild_install_alternative cblas ${NUMERIC_MODULE_NAME} /usr/include/cblas.h ${PN}/cblas.h |
266 |
- |
267 |
- dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance |
268 |
- |
269 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
270 |
- cd "${ED}"/usr/$(get_libdir) || die |
271 |
- local d |
272 |
- for d in *.dylib ; do |
273 |
- ebegin "correcting install_name of ${d}" |
274 |
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${d}" "${d}" || die |
275 |
- eend $? |
276 |
- done |
277 |
- fi |
278 |
-} |
279 |
|
280 |
diff --git a/sci-libs/gotoblas2/metadata.xml b/sci-libs/gotoblas2/metadata.xml |
281 |
deleted file mode 100644 |
282 |
index ea48649a1..000000000 |
283 |
--- a/sci-libs/gotoblas2/metadata.xml |
284 |
+++ /dev/null |
285 |
@@ -1,21 +0,0 @@ |
286 |
-<?xml version="1.0" encoding="UTF-8"?> |
287 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
288 |
-<pkgmetadata> |
289 |
- <maintainer type="project"> |
290 |
- <email>sci@g.o</email> |
291 |
- <name>Gentoo Science Project</name> |
292 |
- </maintainer> |
293 |
- <longdescription lang="en"> |
294 |
-The GotoBLAS codes are one of the fastest implementations |
295 |
-of the Basic Linear Algebra Subroutines(BLAS). |
296 |
-To achieve performance it starts by observing that for current |
297 |
-generation architectures, much of the overhead comes from Translation |
298 |
-Look-aside Buffer (TLB) table misses. While the importance of caches |
299 |
-is also taken into consideration, it is the minimization of such TLB |
300 |
-misses that drives the approach. |
301 |
-</longdescription> |
302 |
- <use> |
303 |
- <flag name="int64">Build the 64 bits integer library</flag> |
304 |
- <flag name="incblas">Build the CBLAS interface</flag> |
305 |
- </use> |
306 |
-</pkgmetadata> |