[gentoo-commits] proj/sci:master commit in: sci-libs/gotoblas2/files/, sci-libs/gotoblas2/

2020-09-26 Thread Aisha Tammy
commit: c0fad24c7bbf32c0a11e431e3fccfee484260f69
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sat Sep 26 21:38:05 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Sat Sep 26 21:38:05 2020 +
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  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..0
--- 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.0 +0100
-+++ driver/others/init.c   2011-05-31 23:23:49.0 +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( -> 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..0
--- a/sci-libs/gotoblas2/files/gotoblas2-1.13-dynamic.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Authors:  Elias Pipping 
-Upstream: no
-Synopsis: Fix compilation under KATMAI and PRESCOTT architecture.
 old/driver/others/dynamic.c 2010-01-20 17:28:45.0 +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 = _KATMAI;
- #else
--  if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT;
-+  if (gotoblas == NULL) 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..0
--- 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_check2011-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..0
--- 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.0 +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) 
&& 

[gentoo-commits] proj/sci:master commit in: sci-libs/gotoblas2/

2015-12-01 Thread Justin Lecher
commit: 38c2a2caa2a012a7062a6c5711a88f153aca28cc
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Dec  1 07:53:56 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Dec  1 07:53:56 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=38c2a2ca

sci-libs/gotoblas2: Fix cblas provider installation

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gotoblas2/{gotoblas2-1.13.ebuild => gotoblas2-1.13-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild 
b/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild
similarity index 96%
rename from sci-libs/gotoblas2/gotoblas2-1.13.ebuild
rename to sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild
index 997a220..2d6e0ac 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13-r1.ebuild
@@ -114,7 +114,8 @@ src_install() {
}
numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir 
myinstall
 
-   numeric-int64-multibuild_install_alternative blas 
${NUMERIC_MODULE_NAME} /usr/include/cblas.h ${PN}/cblas.h
+   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
 



[gentoo-commits] proj/sci:master commit in: sci-libs/gotoblas2/

2015-11-30 Thread Justin Lecher
commit: 5656a288e7d10470adf5ed1c309ac6f829515bf2
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Nov 30 10:03:57 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Nov 30 10:03:57 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=5656a288

sci-libs/gotoblas2: drop unused local USE description

Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gotoblas2/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-libs/gotoblas2/metadata.xml b/sci-libs/gotoblas2/metadata.xml
index 300266b..2adda66 100644
--- a/sci-libs/gotoblas2/metadata.xml
+++ b/sci-libs/gotoblas2/metadata.xml
@@ -14,6 +14,5 @@
   
 Build the 64 bits integer library
 Build the CBLAS interface
-Build dynamic architecture detection at run time (for 
multi targets)
   
 



[gentoo-commits] proj/sci:master commit in: sci-libs/gotoblas2/, sci-libs/blas-reference/, virtual/cblas/, virtual/blas/, ...

2015-11-28 Thread Justin Lecher
commit: bc36b5406f2bb289a3920ef13d50853a567bc83d
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Sep 19 07:14:19 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Nov 28 17:25:09 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=bc36b540

Large fix of numeric code

fortran-int64.eclass code has been splitted into
numeric-int64-multibuild.eclass, fortran-2.eclass and
numeric.eclass.

Gentoo:
https://bugs.gentoo.org/show_bug.cgi?id=563292
https://bugs.gentoo.org/show_bug.cgi?id=551764
https://bugs.gentoo.org/show_bug.cgi?id=555302

Github:
resolves gentoo-science/sci#438
resolves gentoo-science/sci#443
resolves gentoo-science/sci#447
resolves gentoo-science/sci#450
resolves gentoo-science/sci#467
resolves gentoo-science/sci#492
resolves gentoo-science/sci#507
resolves gentoo-science/sci#508
resolves gentoo-science/sci#522

Signed-off-by: Justin Lecher  gentoo.org>

 eclass/alternatives-2.eclass   |  10 +-
 eclass/fortran-2.eclass| 276 ++
 eclass/fortran-int64.eclass| 300 
 eclass/numeric-int64-multibuild.eclass | 397 +
 eclass/numeric.eclass  |  35 +-
 .../blas-reference-20131116-r1.ebuild  | 118 --
 .../blas-reference-20131116-r2.ebuild  | 107 ++
 .../blas-reference/blas-reference-20131116.ebuild  |  78 
 .../blas-reference/blas-reference-.ebuild  |  76 ++--
 sci-libs/blas-reference/metadata.xml   |   4 +-
 .../cblas-reference-20110218-r1.ebuild |  98 +++--
 .../cblas-reference-20110218.ebuild| 116 --
 sci-libs/gotoblas2/gotoblas2-1.13.ebuild   | 139 
 .../lapack-reference/lapack-reference-3.4.2.ebuild | 139 
 .../lapack-reference/lapack-reference-3.5.0.ebuild |  81 ++---
 .../lapack-reference/lapack-reference-.ebuild  |  86 ++---
 sci-libs/openblas/openblas-0.2.11.ebuild   | 227 
 sci-libs/openblas/openblas-0.2.12.ebuild   | 227 
 sci-libs/openblas/openblas-0.2.14.ebuild   | 190 --
 sci-libs/openblas/openblas-0.2.8.ebuild| 126 ---
 sci-libs/openblas/openblas-.ebuild | 190 --
 sci-libs/xblas/xblas-1.0.248-r1.ebuild |  78 ++--
 sci-libs/xblas/xblas-1.0.248.ebuild|  93 -
 virtual/blas/blas-2.1-r1.ebuild|  38 --
 virtual/blas/blas-2.1-r2.ebuild|  41 ---
 virtual/blas/blas-2.1-r3.ebuild|  11 +-
 virtual/blas/metadata.xml  |   6 +-
 virtual/cblas/cblas-2.0-r1.ebuild  |  28 --
 virtual/cblas/cblas-2.0-r2.ebuild  |  31 --
 virtual/cblas/cblas-2.0-r3.ebuild  |  14 +-
 virtual/cblas/cblas-2.0.ebuild |  24 --
 virtual/lapack/lapack-3.4-r1.ebuild|  35 --
 virtual/lapack/lapack-3.5-r1.ebuild|  33 --
 virtual/lapack/lapack-3.5-r2.ebuild|   6 +-
 34 files changed, 1239 insertions(+), 2219 deletions(-)

diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
index 749cda8..19e8306 100644
--- a/eclass/alternatives-2.eclass
+++ b/eclass/alternatives-2.eclass
@@ -102,7 +102,7 @@ alternatives-2_pkg_postinst() {
fi
 
# Set alternative provider if there is no valid provider 
selected
-   eselect "${alt}" update "${provider}"
+   eselect alternatives update "${alt}"
 
cleanup_old_alternatives_module ${alt}
done
@@ -122,9 +122,10 @@ alternatives-2_pkg_prerm() {
 
# If we are uninstalling, update alternatives to valid provider
[[ -n ${REPLACED_BY_VERSION} ]] || ignore="--ignore"
-
+set -x
for alt in ${ALTERNATIVES_CREATED[@]}; do
-   eselect "${alt}" update ${ignore} "${provider}"
+   eselect alternatives update "${alt}"
+   ret=$?
 
case ${ret} in
0) : ;;
@@ -134,10 +135,11 @@ alternatives-2_pkg_prerm() {
eselect alternatives delete "${alt}" || eerror 
"Failed to remove ${alt}"
;;
*)
-   eerror "eselect ${alt} update ${provider} 
returned ${ret}"
+   eerror "eselect alternatives update returned 
\"${ret}\""
;;
esac
done
+set +x
 }
 
 EXPORT_FUNCTIONS pkg_postinst pkg_prerm

diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
new file mode 100644
index 000..5cb6d7d
--- /dev/null
+++ b/eclass/fortran-2.eclass
@@ -0,0 +1,276 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# @ECLASS: fortran-2.eclass
+# 

[gentoo-commits] proj/sci:master commit in: sci-libs/gotoblas2/

2015-06-04 Thread Justin Lecher
commit: 33be2678b660063409189f28d4455d06d99d8ffd
Author: Justin Lecher jlec AT gentoo DOT org
AuthorDate: Thu Jun  4 12:57:53 2015 +
Commit: Justin Lecher jlec AT gentoo DOT org
CommitDate: Thu Jun  4 12:57:53 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=33be2678

sci-libs/gotoblas2: Bump EAPI

Package-Manager: portage-2.2.20
RepoMan-Options: --force

 sci-libs/gotoblas2/ChangeLog |  7 +--
 sci-libs/gotoblas2/gotoblas2-1.13.ebuild |  4 ++--
 sci-libs/gotoblas2/metadata.xml  | 14 +++---
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/sci-libs/gotoblas2/ChangeLog b/sci-libs/gotoblas2/ChangeLog
index 77c5817..77caeaa 100644
--- a/sci-libs/gotoblas2/ChangeLog
+++ b/sci-libs/gotoblas2/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-libs/gotoblas2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Jun 2015; Justin Lecher j...@gentoo.org gotoblas2-1.13.ebuild,
+  metadata.xml:
+  sci-libs/gotoblas2: Bump EAPI
+
   15 Mar 2012; François Bissey francois.bis...@canterbury.ac.nz
   gotoblas2-1.13.ebuild, files/gotoblas2-1.13-sharedlibs.patch:
   More OS X fixes
@@ -40,4 +44,3 @@
   +gotoblas2-1.13.ebuild, +files/gotoblas2-1.13-dynamic.patch,
   +files/gotoblas2-1.13-sharedlibs.patch, +metadata.xml:
   Initial import
-

diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild 
b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
index 49022f8..b96298b 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 inherit eutils toolchain-funcs alternatives-2 multilib
 

diff --git a/sci-libs/gotoblas2/metadata.xml b/sci-libs/gotoblas2/metadata.xml
index 7ec44c0..300266b 100644
--- a/sci-libs/gotoblas2/metadata.xml
+++ b/sci-libs/gotoblas2/metadata.xml
@@ -1,8 +1,8 @@
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE pkgmetadata SYSTEM http://www.gentoo.org/dtd/metadata.dtd;
 pkgmetadata
-herdsci/herd
-longdescription lang=en
+  herdsci/herd
+  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
@@ -11,9 +11,9 @@
   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
-  flag name='dynamic'Build dynamic architecture detection at run time (for 
multi targets)/flag
-/use
+  use
+flag name=int64Build the 64 bits integer library/flag
+flag name=incblasBuild the CBLAS interface/flag
+flag name=dynamicBuild dynamic architecture detection at run time (for 
multi targets)/flag
+  /use
 /pkgmetadata