commit: c0fad24c7bbf32c0a11e431e3fccfee484260f69 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Sat Sep 26 21:38:05 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Sat Sep 26 21:38:05 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c0fad24c
sci-libs/gotoblas2: drop dead package suggested replacement - openblas (direct successor) Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> .../gotoblas2/files/gotoblas2-1.13-aliasing.patch | 11 -- .../gotoblas2/files/gotoblas2-1.13-dynamic.patch | 17 --- .../gotoblas2/files/gotoblas2-1.13-fcheck.patch | 10 -- .../files/gotoblas2-1.13-sharedlibs.patch | 54 --------- sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild | 130 --------------------- sci-libs/gotoblas2/metadata.xml | 21 ---- 6 files changed, 243 deletions(-) diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-aliasing.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-aliasing.patch deleted file mode 100644 index 874de7080..000000000 --- a/sci-libs/gotoblas2/files/gotoblas2-1.13-aliasing.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- driver/others/init.c.orig 2011-05-31 23:23:24.000000000 +0100 -+++ driver/others/init.c 2011-05-31 23:23:49.000000000 +0100 -@@ -215,7 +215,7 @@ - for (node = 0; node < MAX_NODES; node ++) common -> node_info[node] = 0; - - while ((dir = readdir(dp)) != NULL) { -- if (*(unsigned int *) dir -> d_name == 0x065646f6eU) { -+ if (*(char *) dir -> d_name == 0x065646f6eU) { - - node = atoi(&dir -> d_name[4]); - diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch deleted file mode 100644 index 71021e435..000000000 --- a/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch +++ /dev/null @@ -1,17 +0,0 @@ -Authors: Elias Pipping <pipp...@exherbo.org> -Upstream: no -Synopsis: Fix compilation under KATMAI and PRESCOTT architecture. ---- old/driver/others/dynamic.c 2010-01-20 17:28:45.000000000 +0100 -+++ new/driver/others/dynamic.c 2010-05-28 16:04:10.190975461 +0200 -@@ -181,9 +181,9 @@ - gotoblas = get_coretype(); - - #ifdef ARCH_X86 -- if (gotoblas == NULL) gotoblas = gotoblas_KATMAI; -+ if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI; - #else -- if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT; -+ if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT; - #endif - - if (gotoblas && gotoblas -> init) { diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-fcheck.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-fcheck.patch deleted file mode 100644 index 809a1edc1..000000000 --- a/sci-libs/gotoblas2/files/gotoblas2-1.13-fcheck.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- f_check.orig 2011-05-31 23:12:41.508268623 +0100 -+++ f_check 2011-05-31 23:12:50.208268398 +0100 -@@ -274,6 +274,7 @@ - && ($flags !~ /kernel32/) - && ($flags !~ /advapi32/) - && ($flags !~ /shell32/) -+ && ($flags !~ /^\-l$/) - ) { - $linker_l .= $flags . " "; - } diff --git a/sci-libs/gotoblas2/files/gotoblas2-1.13-sharedlibs.patch b/sci-libs/gotoblas2/files/gotoblas2-1.13-sharedlibs.patch deleted file mode 100644 index 862a00c24..000000000 --- a/sci-libs/gotoblas2/files/gotoblas2-1.13-sharedlibs.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- exports/Makefile.orig 2010-02-06 05:01:00.000000000 +1300 -+++ exports/Makefile 2012-03-16 11:43:30.028487068 +1300 -@@ -84,7 +84,7 @@ - perl ./gensymbol win2khpl $(ARCH) dummy $(EXPRECISION) $(NO_CBLAS) > $(@F) - - $(LIBDYNNAME) : ../$(LIBNAME) osx.def -- $(PREFIX)gcc $(CFLAGS) -all_load -dynamiclib -o $(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB) -+ $(PREFIX)gcc $(CFLAGS) -all_load -dynamiclib -o ../$(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB) - - symbol.$(SUFFIX) : symbol.S - $(CC) $(CFLAGS) -c -o $(@F) $^ -@@ -97,10 +97,10 @@ - so : ../$(LIBSONAME) - - ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c -- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ -- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -+ $(CC) $(LDFLAGS) -shared \ -+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \ -+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME) -+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. - rm -f linktest - - endif -@@ -110,10 +110,10 @@ - so : ../$(LIBSONAME) - - ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c -- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ -- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -+ $(CC) $(LDFLAGS) -shared \ -+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \ -+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME) -+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. - rm -f linktest - - endif -@@ -129,9 +129,9 @@ - ifeq ($(OSNAME), SunOS) - - so : ../$(LIBSONAME) -- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) -- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -+ $(CC) $(LDFLAGS) -shared -Wl,--soname=$(LIBSONAME) \ -+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) -o ../$(LIBSONAME) -+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. - rm -f linktest - - endif diff --git a/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild deleted file mode 100644 index 9e3ab9d3f..000000000 --- a/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -NUMERIC_MODULE_NAME=goto2 - -inherit eutils numeric-int64-multibuild fortran-2 multilib toolchain-funcs - -MYPN="GotoBLAS2" -MYP="${MYPN}-${PV}_bsd" - -DESCRIPTION="Fast implementations of the Basic Linear Algebra Subroutines" -HOMEPAGE="http://www.tacc.utexas.edu/tacc-projects/gotoblas2/" -# change to gentoo mirror when in -SRC_URI="http://dev.gentoo.org/~bicatali/${MYP}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+incblas +openmp static-libs threads" - -REQUIRED_USE="|| ( openmp threads )" - -S="${WORKDIR}/${MYPN}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-{dynamic,sharedlibs,fcheck,aliasing}.patch - # respect LDFLAGS - sed -i -e '/^LDFLAGS\s*=/d' Makefile.* || die - sed -i \ - -e "/^COMMON_OPT/s/-O2/${CFLAGS}/" \ - Makefile.rule || die - # fix executable stacks - local i - for i in $(find . -name \*.S); do - cat >> ${i} <<-EOF - #if defined(__ELF__) - .section .note.GNU-stack,"",%progbits - #endif - EOF - done - numeric-int64-multibuild_copy_sources -} - -src_configure() { - myconfigure() { - sed \ - -e "s:^#\s*\(NO_LAPACK\)\s*=.*:\1=1:" \ - -e "s:^#\s*\(CC\)\s*=.*:\1=$(tc-getCC):" \ - -e "s:^#\s*\(FC\)\s*=.*:\1=$(tc-getFC):" \ - -e "s:^#\s*\(USE_THREAD\)\s*=.*:\1=$(usex threads 1 0):" \ - -e "s:^#\s*\(USE_OPENMP\)\s*=.*:\1=$(usex openmp 1 ""):" \ - -e "s:^#\s*\(DYNAMIC_ARCH\)\s*=.*:\1=1:" \ - -e "s:^#\s*\(INTERFACE64\)\s*=.*:\1=$(numeric-int64_is_int64_build && echo 1 || echo ""):" \ - -e "s:^#\s*\(NO_CBLAS\)\s*=.*:\1=$(usex incblas 1 ""):" \ - -i Makefile.rule || die - if numeric-int64_is_int64_build; then - sed \ - -e 's:libgoto2:libgoto2_int64:g' \ - -i Makefile* || die - fi - } - numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir myconfigure -} - -src_compile() { - mycompile() { - if numeric-int64_is_static_build; then - use static-libs && emake clean && emake libs NEED_PIC= - else - mkdir solibs || die - emake libs shared && mv *$(get_libname) solibs/ || die - fi - } - numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir mycompile -} - -src_test() { - numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir emake tests -} - -src_install() { - myinstall() { - local profname=$(numeric-int64_get_module_name) - local libname=libgoto2 - local libs="-L\${libdir} -lm" - if numeric-int64_is_int64_build; then - libs+=" -lgoto2_int64" - else - libs+=" -lgoto2" - fi - use threads && libs+=" -pthread" - - numeric-int64_is_static_build && libname=libgoto2_int64 - - if numeric-int64_is_static_build; then - dolib.a lib*.a - else - dolib.so solibs/lib*$(get_libname) - - create_pkgconfig \ - --name "${MYPN}" \ - --libs "${libs}" \ - --cflags "-I\${includedir}/${PN}" \ - ${profname} - fi - - if use incblas; then - insinto /usr/include/${PN} - doins cblas.h - fi - } - numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir myinstall - - numeric-int64-multibuild_install_alternative blas ${NUMERIC_MODULE_NAME} - numeric-int64-multibuild_install_alternative cblas ${NUMERIC_MODULE_NAME} /usr/include/cblas.h ${PN}/cblas.h - - dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance - - if [[ ${CHOST} == *-darwin* ]] ; then - cd "${ED}"/usr/$(get_libdir) || die - local d - for d in *.dylib ; do - ebegin "correcting install_name of ${d}" - install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${d}" "${d}" || die - eend $? - done - fi -} diff --git a/sci-libs/gotoblas2/metadata.xml b/sci-libs/gotoblas2/metadata.xml deleted file mode 100644 index ea48649a1..000000000 --- a/sci-libs/gotoblas2/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -The GotoBLAS codes are one of the fastest implementations -of the Basic Linear Algebra Subroutines(BLAS). -To achieve performance it starts by observing that for current -generation architectures, much of the overhead comes from Translation -Look-aside Buffer (TLB) table misses. While the importance of caches -is also taken into consideration, it is the minimization of such TLB -misses that drives the approach. -</longdescription> - <use> - <flag name="int64">Build the 64 bits integer library</flag> - <flag name="incblas">Build the CBLAS interface</flag> - </use> -</pkgmetadata>