git: a26c675cd084 - main - math/gotoblas: Remove obsoleted port

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Sat, 15 Jan 2022 09:05:56 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a26c675cd0843cba2923ab9c6902ab244238ab38

commit a26c675cd0843cba2923ab9c6902ab244238ab38
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-01-15 09:03:12 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-01-15 09:03:12 +0000

    math/gotoblas: Remove obsoleted port
    
    math/gotoblas is broken on multiple platforms and is very outdated. By
    Wikipedia, "GotoBLAS remains available, but development ceased with a
    final version touting optimal performance on Intel's Nehalem
    architecture (contemporary in 2008). OpenBLAS is an actively maintained
    fork of GotoBLAS".
    
    PR:             261194
    Reported by:    Daniel Tameling <tamelingdaniel@gmail.com>
---
 MOVED                                            |   1 +
 math/Makefile                                    |   1 -
 math/gotoblas/Makefile                           | 158 ----------
 math/gotoblas/distinfo                           |   8 -
 math/gotoblas/files/patch-Makefile               | 127 --------
 math/gotoblas/files/patch-Makefile.rule          |  15 -
 math/gotoblas/files/patch-Makefile.system        |  56 ----
 math/gotoblas/files/patch-c_check                |  20 --
 math/gotoblas/files/patch-cpuid_ia64.c           |  12 -
 math/gotoblas/files/patch-cpuid_sparc.c          |  10 -
 math/gotoblas/files/patch-dynamic.c              |  14 -
 math/gotoblas/files/patch-exports+Makefile       |  10 -
 math/gotoblas/files/patch-f_check                |  20 --
 math/gotoblas/files/patch-patch.for_lapack-3.1.1 | 171 ----------
 math/gotoblas/files/patch-patch.for_lapack-3.4.0 | 381 -----------------------
 math/gotoblas/files/pkg-message.in               |  12 -
 math/gotoblas/pkg-descr                          |   6 -
 17 files changed, 1 insertion(+), 1021 deletions(-)

diff --git a/MOVED b/MOVED
index b9f0cd6e9c8e..484b6a157c50 100644
--- a/MOVED
+++ b/MOVED
@@ -16767,3 +16767,4 @@ devel/py-future-annotations||2022-01-11|Remove obsoleted port. It is included in
 devel/rubygem-aws-sdk-v1|devel/rubygem-aws-sdk|2022-01-11|Remove obsoleted port. Use devel/rubygem-aws-sdk instead
 devel/rubygem-sidekiq62|devel/rubygem-sidekiq|2022-01-11|Remove obsoleted port. Use devel/rubygem-sidekiq instead
 security/rubygem-bcrypt_pbkdf10|security/rubygem-bcrypt_pbkdf|2022-01-11|Remove obsoleted port. Use security/rubygem-bcrypt_pbkdf instead
+math/gotoblas|math/openblas|2022-01-15|Remove obsoleted port. Use math/openblas instead
diff --git a/math/Makefile b/math/Makefile
index 30f680a9d259..2e2ab715879d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -580,7 +580,6 @@
     SUBDIR += oink
     SUBDIR += oleo
     SUBDIR += onednn
-    SUBDIR += openblas
     SUBDIR += openfst
     SUBDIR += openlibm
     SUBDIR += openmesh
diff --git a/math/gotoblas/Makefile b/math/gotoblas/Makefile
deleted file mode 100644
index 97fcd43be7c3..000000000000
--- a/math/gotoblas/Makefile
+++ /dev/null
@@ -1,158 +0,0 @@
-# Created by: Sato Hiroki <hrs@FreeBSD.org>
-
-PORTNAME=	gotoblas
-PORTVERSION=	2.${GOTOBLAS2VER}.${LAPACKVER}
-PORTREVISION=	16
-CATEGORIES=	math
-MASTER_SITES=	LOCAL/maho/gotoblas \
-		NL/lapack:lapack NL/lapack/timing:lapack_tmg
-DISTFILES=	GotoBLAS2-${GOTOBLAS2VER}_bsd.tar.gz \
-		lapack-${LAPACKVER}.tgz:lapack \
-		large.tgz:lapack_tmg timing.tgz:lapack_tmg
-DIST_SUBDIR=	gotoblas
-EXTRACT_ONLY=	${GOTOBLAS2_SRCFILE}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Fast implementation of Basic Linear Algebra Subprograms
-
-LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/00License.txt
-
-BROKEN_aarch64=		does not build: undefined reference to get_libname
-BROKEN_armv6=		does not build: undefined reference to get_libname
-BROKEN_armv7=		does not build: undefined reference to get_libname
-BROKEN_powerpc64=	does not build: error: macro names must be identifiers
-BROKEN_i386=		does not build (terminates with SIGBUS)
-
-GOTOBLAS2VER=	1.13
-GOTOBLAS2_SRCFILE=	GotoBLAS2-${GOTOBLAS2VER}_bsd.tar.gz
-LAPACKVER=	3.4.0
-LAPACK_SRCFILE=	lapack-${LAPACKVER}.tgz
-LARGE_FILE=	large.tgz
-TIMING_FILE=	timing.tgz
-USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/GotoBLAS2
-
-USES=		fortran gmake perl5
-USE_GCC=	yes
-USE_PERL5=	build
-GOTOLIBS=	libgoto2 libgoto2p
-GOTOFILES=	${GOTOLIBS:S|$|.so|} ${GOTOLIBS:S|$|.so.1|} ${GOTOLIBS:S|$|.a|}
-PLIST_FILES=	${GOTOFILES:S|^|lib/|}
-SUB_FILES=	pkg-message
-SUB_LIST=	MAXTHREADS=${MAXTHREADS}
-MAKE_JOBS_UNSAFE=	yes
-
-OPTIONS_DEFINE_i386=	DYNAMIC_ARCH
-OPTIONS_DEFINE_amd64=	DYNAMIC_ARCH
-OPTIONS_DEFINE=	INTERFACE64 OPENMP
-
-OPTIONS_DEFAULT_i386=	DYNAMIC_ARCH
-OPTIONS_DEFAULT_amd64=	DYNAMIC_ARCH
-
-DYNAMIC_ARCH_DESC=	Support multiple CPU types on i386 and amd64
-INTERFACE64_DESC=	Use 8 byte integers on 64-bit architectures
-OPENMP_DESC=		Use OpenMP for threading
-#QUAD_PRECISION=	Support IEEE quad precision (experimental)
-
-.include <bsd.port.options.mk>
-
-MAXTHREADS?=	8
-
-.if ${ARCH:M*64} == ""
-GOTOFLAGS+=	BINARY32=1
-.else
-GOTOFLAGS+=	BINARY64=1
-.endif
-
-.if ${PORT_OPTIONS:MDYNAMIC_ARCH}
-GOTOFLAGS+=	DYNAMIC_ARCH=1
-.endif
-
-.if ${PORT_OPTIONS:MINTERFACE64}
-GOTOFLAGS+=	INTERFACE64=1
-.endif
-
-.if ${PORT_OPTIONS:MOPENMP}
-GOTOFLAGS+=	USE_OPENMP=1
-.endif
-
-.if ${GCC_DEFAULT} >= 10
-BROKEN=		fails to build with GCC 10: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
-.endif
-
-#.if ${PORT_OPTIONS:MQUAD_PRECISION}
-#BROKEN=	WITH_QUAD_PRECISION is broken; please disable this option
-#GOTOFLAGS+=	QUAD_PRECISION=1
-#.endif
-
-post-extract:
-	${FIND} ${WRKSRC} -type f -name '.*' -delete
-	cd ${DISTDIR}/${DIST_SUBDIR} ; \
-	${CP} ${LAPACK_SRCFILE} ${LARGE_FILE} ${TIMING_FILE} ${WRKSRC}
-	${MKDIR} ${STAGEDIR}${PREFIX}/lib
-
-post-patch:
-	${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" -e "s+%%CC%%+${CC}+" \
-		${WRKSRC}/Makefile.rule
-	${REINPLACE_CMD} -e "s+%%LAPACKVER%%+${LAPACKVER}+g" \
-		${WRKSRC}/Makefile
-	${REINPLACE_CMD} -e "s+%%LAPACKVER%%+${LAPACKVER}+g" \
-		${WRKSRC}/exports/gensymbol
-	${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \
-		${WRKSRC}/Makefile.rule \
-		${WRKSRC}/Makefile.tail \
-		${WRKSRC}/driver/level3/Makefile \
-		${WRKSRC}/driver/others/Makefile \
-		${WRKSRC}/exports/Makefile \
-		${WRKSRC}/interface/Makefile \
-		${WRKSRC}/kernel/Makefile \
-		${WRKSRC}/kernel/Makefile.L3 \
-		${WRKSRC}/lapack/laswp/Makefile \
-		${WRKSRC}/reference/Makefile
-	${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \
-	-e 's+%%_GCC_RUNTIME%%+${_GCC_RUNTIME}+' \
-	-e 's+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
-		${WRKSRC}/Makefile.system
-
-.if ${PORT_OPTIONS:MOPENMP}
-	${REINPLACE_CMD} -e "s+GOTO_NUM_THREADS+OMP_NUM_THREADS+g" \
-		${WRKSRC}/test/Makefile \
-		${WRKSRC}/ctest/Makefile
-.endif
-
-do-build:
-	cd ${WRKSRC} ; ${SETENV} ${GOTOFLAGS} NUM_THREADS=1 USE_THREAD=0 \
-	${MAKE_CMD} ${MAKE_ARGS}
-	${CP} ${WRKSRC}/libgoto2.a ${STAGEDIR}${PREFIX}/lib/libgoto2.a
-	${CP} ${WRKSRC}/libgoto2.so ${STAGEDIR}${PREFIX}/lib/libgoto2.so.1
-	cd ${WRKSRC} ; ${MAKE_CMD} ${MAKE_ARGS} clean
-	cd ${WRKSRC} ; ${SETENV} ${GOTOFLAGS} NUM_THREADS=${MAXTHREADS} \
-	USE_THREAD=1 ${MAKE_CMD} ${MAKE_ARGS}
-	${CP} ${WRKSRC}/libgoto2.a ${STAGEDIR}${PREFIX}/lib/libgoto2p.a
-	${CP} ${WRKSRC}/libgoto2.so ${STAGEDIR}${PREFIX}/lib/libgoto2p.so.1
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.1
-
-BENCHMARK_MAXTHREADS?=	${MAXTHREADS}
-.if ${PORT_OPTIONS:MOPENMP}
-BENCHMARK_THREADS_FLAG=		OMP_NUM_THREADS=${BENCHMARK_MAXTHREADS}
-.else
-BENCHMARK_THREADS_FLAG=		GOTO_NUM_THREADS=${BENCHMARK_MAXTHREADS}
-.endif
-
-benchmark: build
-	cd ${WRKSRC} ; ${SETENV} ${GOTOFLAGS} NUM_THREADS=${MAXTHREADS} \
-	USE_THREAD=1 ${MAKE_CMD} ${MAKE_ARGS} hpl
-	cd ${WRKSRC}/benchmark ; ${SETENV} ${GOTOFLAGS} NUM_THREADS=${MAXTHREADS} \
-	USE_THREAD=1 ${BENCHMARK_THREADS_FLAG} ${MAKE_CMD} ${MAKE_ARGS}
-
-do-install:
-	cd ${STAGEDIR}${PREFIX}/lib ; \
-	${INSTALL_DATA} ${GOTOLIBS:S|$|.a|} ${GOTOLIBS:S|$|.so.1|} \
-	${STAGEDIR}${PREFIX}/lib/
-	cd ${STAGEDIR}${PREFIX}/lib ; \
-	for i in ${GOTOLIBS:S|$|.so|}; do \
-		${LN} -sf $$i.1 $$i ; \
-	done
-
-.include <bsd.port.mk>
diff --git a/math/gotoblas/distinfo b/math/gotoblas/distinfo
deleted file mode 100644
index 4ca1b227236a..000000000000
--- a/math/gotoblas/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-SHA256 (gotoblas/GotoBLAS2-1.13_bsd.tar.gz) = 7c3eab57ef5ad5c42f73adade833a531591e78967bbe9fc6db31310d73fa2d86
-SIZE (gotoblas/GotoBLAS2-1.13_bsd.tar.gz) = 3165294
-SHA256 (gotoblas/lapack-3.4.0.tgz) = a7139ef97004d0e3c4c30f1c52d508fd7ae84b5fbaf0dd8e792c167dc306c3e9
-SIZE (gotoblas/lapack-3.4.0.tgz) = 6127787
-SHA256 (gotoblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
-SIZE (gotoblas/large.tgz) = 2595
-SHA256 (gotoblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
-SIZE (gotoblas/timing.tgz) = 1059485
diff --git a/math/gotoblas/files/patch-Makefile b/math/gotoblas/files/patch-Makefile
deleted file mode 100644
index c58e5b73d3ed..000000000000
--- a/math/gotoblas/files/patch-Makefile
+++ /dev/null
@@ -1,127 +0,0 @@
---- Makefile.orig	2010-01-20 20:54:38 UTC
-+++ Makefile
-@@ -23,7 +23,7 @@ all :: libs netlib tests shared
- 	@echo " GotoBLAS build complete."
- 	@echo
- 	@echo "  OS               ... $(OSNAME)             "
--	@echo "  Architecture     ... $(ARCH)               "
-+	@echo "  Architecture     ... $(ARCH_)              "
- ifndef BINARY64
- 	@echo "  BINARY           ... 32bit                 "
- else
-@@ -142,46 +142,41 @@ hpl_p :
- 	fi; \
- 	done
- 
--netlib : lapack-3.1.1 patch.for_lapack-3.1.1 lapack-3.1.1/make.inc
-+netlib : lapack-%%LAPACKVER%% lapack-%%LAPACKVER%%/make.inc #patch.for_lapack-%%LAPACKVER%% 
- ifndef NOFORTRAN
--	-@$(MAKE) -C lapack-3.1.1 lapacklib
-+	-@$(MAKE) -C lapack-%%LAPACKVER%% lapacklib
- endif
- 
--prof_lapack : lapack-3.1.1 lapack-3.1.1/make.inc
--	-@$(MAKE) -C lapack-3.1.1 lapack_prof
-+prof_lapack : lapack-%%LAPACKVER%% lapack-%%LAPACKVER%%/make.inc
-+	-@$(MAKE) -C lapack-%%LAPACKVER%% lapack_prof
- 
--lapack-3.1.1/make.inc :
-+lapack-%%LAPACKVER%%/make.inc :
- ifndef NOFORTRAN
--	-@echo "FORTRAN   = $(FC)" > lapack-3.1.1/make.inc
--	-@echo "OPTS      = $(FFLAGS)" >> lapack-3.1.1/make.inc
--	-@echo "POPTS     = $(FPFLAGS)" >> lapack-3.1.1/make.inc
--	-@echo "NOOPT     = $(FFLAGS) -O0" >> lapack-3.1.1/make.inc
--	-@echo "PNOOPT     = $(FPFLAGS) -O0" >> lapack-3.1.1/make.inc
--	-@echo "LOADOPTS  = $(FFLAGS) $(EXTRALIB)" >> lapack-3.1.1/make.inc
--	-@echo "ARCH      = $(AR)" >> lapack-3.1.1/make.inc
--	-@echo "RANLIB    = $(RANLIB)" >> lapack-3.1.1/make.inc
--	-@echo "LAPACKLIB = ../$(LIBNAME)" >> lapack-3.1.1/make.inc
--	-@echo "LAPACKLIB_P = ../$(LIBNAME_P)" >> lapack-3.1.1/make.inc
--	-@echo "SUFFIX     = $(SUFFIX)" >> lapack-3.1.1/make.inc
--	-@echo "PSUFFIX    = $(PSUFFIX)" >> lapack-3.1.1/make.inc
--#	-@echo "CEXTRALIB  = $(CEXTRALIB)" >> lapack-3.1.1/make.inc
--	-@cat  make.inc >> lapack-3.1.1/make.inc
-+	-@echo "FORTRAN   = $(FC)" > lapack-%%LAPACKVER%%/make.inc
-+	-@echo "OPTS      = $(FFLAGS)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "POPTS     = $(FPFLAGS)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "NOOPT     = $(FFLAGS) -O0" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "PNOOPT     = $(FPFLAGS) -O0" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "LOADOPTS  = $(FFLAGS) $(EXTRALIB)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "ARCH_      = $(AR)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "RANLIB    = $(RANLIB)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "LAPACKLIB = ../$(LIBNAME)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "LAPACKLIB_P = ../$(LIBNAME_P)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "SUFFIX     = $(SUFFIX)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@echo "PSUFFIX    = $(PSUFFIX)" >> lapack-%%LAPACKVER%%/make.inc
-+#	-@echo "CEXTRALIB  = $(CEXTRALIB)" >> lapack-%%LAPACKVER%%/make.inc
-+	-@cat  make.inc >> lapack-%%LAPACKVER%%/make.inc
- endif
- 
--lapack-3.1.1 : lapack-3.1.1.tgz
-+lapack-%%LAPACKVER%% : lapack-%%LAPACKVER%%.tgz
- ifndef NOFORTRAN
--	@if test `$(MD5SUM) lapack-3.1.1.tgz | $(AWK) '{print $$1}'` = 00b21551a899bcfbaa7b8443e1faeef9; then \
- 		echo $(TAR) zxf $< ;\
--		$(TAR) zxf $< && (cd lapack-3.1.1; $(PATCH) -p1 < ../patch.for_lapack-3.1.1) ;\
--	else \
--		echo "	lapack-3.1.1.tgz check sum is wrong (Please use orignal)." ;\
--		rm -rf lapack-3.1.1 ;\
--	fi
-+		$(TAR) zxf $< && (cd lapack-%%LAPACKVER%%; $(PATCH) -p1 < ../patch.for_lapack-%%LAPACKVER%%)
- endif
- 
--lapack-3.1.1.tgz :
-+lapack-%%LAPACKVER%%.tgz :
- ifndef NOFORTRAN
--	-wget http://www.netlib.org/lapack/lapack-3.1.1.tgz
-+	-wget http://www.netlib.org/lapack/lapack-%%LAPACKVER%%.tgz
- endif
- 
- large.tgz : 
-@@ -194,21 +189,21 @@ ifndef NOFORTRAN
- 	-wget http://www.netlib.org/lapack/timing/timing.tgz
- endif
- 
--lapack-timing : lapack-3.1.1 large.tgz timing.tgz
-+lapack-timing : lapack-%%LAPACKVER%% large.tgz timing.tgz
- ifndef NOFORTRAN
--	(cd lapack-3.1.1; $(TAR) zxf ../timing.tgz TIMING)
--	(cd lapack-3.1.1/TIMING; $(TAR) zxf ../../large.tgz )
--	make -C lapack-3.1.1 tmglib
--	make -C lapack-3.1.1/TIMING
-+	(cd lapack-%%LAPACKVER%%; $(TAR) zxf ../timing.tgz TIMING)
-+	(cd lapack-%%LAPACKVER%%/TIMING; $(TAR) zxf ../../large.tgz )
-+	make -C lapack-%%LAPACKVER%% tmglib
-+	make -C lapack-%%LAPACKVER%%/TIMING
- endif
- 
- 
- lapack-test :
--	$(MAKE) -C lapack-3.1.1 tmglib
--	$(MAKE) -C lapack-3.1.1/TESTING xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintstds xlintsts xlintstz xlintstzc
--	@rm	-f lapack-3.1.1/TESTING/*.out
--	$(MAKE) -j 1 -C lapack-3.1.1/TESTING
--	$(GREP) failed lapack-3.1.1/TESTING/*.out
-+	$(MAKE) -C lapack-%%LAPACKVER%% tmglib
-+	$(MAKE) -C lapack-%%LAPACKVER%%/TESTING xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintstds xlintsts xlintstz xlintstzc
-+	@rm	-f lapack-%%LAPACKVER%%/TESTING/*.out
-+	$(MAKE) -j 1 -C lapack-%%LAPACKVER%%/TESTING
-+	$(GREP) failed lapack-%%LAPACKVER%%/TESTING/*.out
- 
- dummy :
- 
-@@ -223,8 +218,8 @@ ifdef DYNAMIC_ARCH
- endif
- 	@rm -f *.$(LIBSUFFIX) *.so *~ *.exe getarch getarch_2nd *.dll *.lib *.$(SUFFIX) *.dwf libgoto2.$(LIBSUFFIX) libgoto2_p.$(LIBSUFFIX) *.lnk myconfig.h
- 	@rm -f Makefile.conf config.h Makefile_kernel.conf config_kernel.h st* *.dylib
--	@if test -d lapack-3.1.1; then \
--	echo deleting lapack-3.1.1; \
--	rm -rf lapack-3.1.1 ;\
-+	@if test -d lapack-%%LAPACKVER%%; then \
-+	echo deleting lapack-%%LAPACKVER%%; \
-+	rm -rf lapack-%%LAPACKVER%% ;\
- 	fi
--	@echo Done.
-\ No newline at end of file
-+	@echo Done.
diff --git a/math/gotoblas/files/patch-Makefile.rule b/math/gotoblas/files/patch-Makefile.rule
deleted file mode 100644
index 68b556e7326a..000000000000
--- a/math/gotoblas/files/patch-Makefile.rule
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.rule.orig	2010-02-05 16:02:04 UTC
-+++ Makefile.rule
-@@ -14,10 +14,10 @@ VERSION = 1.13
- 
- # C compiler including binary type(32bit / 64bit). Default is gcc.
- # Don't use Intel Compiler or PGI, it won't generate right codes as I expect.
--# CC = gcc
-+CC = %%CC%%
- 
- # Fortran compiler. Default is g77.
--# FC = gfortran
-+FC = %%FC%%
- 
- # Even you can specify cross compiler
- # CC = x86_64-w64-mingw32-gcc
diff --git a/math/gotoblas/files/patch-Makefile.system b/math/gotoblas/files/patch-Makefile.system
deleted file mode 100644
index 5f8d56a36c57..000000000000
--- a/math/gotoblas/files/patch-Makefile.system
+++ /dev/null
@@ -1,56 +0,0 @@
---- Makefile.system.orig	2010-01-28 20:11:08 UTC
-+++ Makefile.system
-@@ -93,6 +93,11 @@ ifeq ($(OSNAME), Linux)
- EXTRALIB	+= -lm
- endif
- 
-+ifeq ($(OSNAME), FreeBSD)
-+EXTRALIB	+= -lm
-+FCOMMON_OPT	+= -Wl,-rpath=%%_GCC_RUNTIME%%
-+endif
-+
- ifeq ($(OSNAME), AIX)
- EXTRALIB	+= -lm
- endif
-@@ -608,7 +613,7 @@ PATCH	= patch
- GREP	= grep
- endif
- 
--MD5SUM	= md5sum
-+MD5SUM	= md5
- AWK	= awk
- 
- REVISION = -r$(VERSION)
-@@ -631,15 +636,6 @@ ifndef LIBSUFFIX
- LIBSUFFIX = a
- endif
- 
--ifndef DYNAMIC_ARCH
--ifndef SMP
--LIBNAME		= $(LIBPREFIX)_$(LIBCORE)$(REVISION).$(LIBSUFFIX)
--LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)$(REVISION)_p.$(LIBSUFFIX)
--else
--LIBNAME		= $(LIBPREFIX)_$(LIBCORE)p$(REVISION).$(LIBSUFFIX)
--LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)p$(REVISION)_p.$(LIBSUFFIX)
--endif
--else
- ifndef SMP
- LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
- LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
-@@ -647,7 +643,6 @@ else
- LIBNAME		= $(LIBPREFIX)p$(REVISION).$(LIBSUFFIX)
- LIBNAME_P	= $(LIBPREFIX)p$(REVISION)_p.$(LIBSUFFIX)
- endif
--endif
- 
- 
- LIBSONAME    = $(LIBNAME:.$(LIBSUFFIX)=.so)
-@@ -661,7 +656,7 @@ LIBS		= $(TOPDIR)/$(LIBNAME)
- LIBS_P		= $(TOPDIR)/$(LIBNAME_P)
- 
- export OSNAME
--export ARCH
-+export ARCH_
- export CORE
- export LIBCORE
- export PGCPATH
diff --git a/math/gotoblas/files/patch-c_check b/math/gotoblas/files/patch-c_check
deleted file mode 100644
index bac33c89f532..000000000000
--- a/math/gotoblas/files/patch-c_check
+++ /dev/null
@@ -1,20 +0,0 @@
---- c_check.orig	2010-01-28 19:26:25 UTC
-+++ c_check
-@@ -2,7 +2,7 @@
- 
- # Checking cross compile
- $hostos   = `uname -s | sed -e s/\-.*//`;    chop($hostos);
--$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
-+$hostarch = `uname -m | sed -e s/i.86/x86/ | sed -e s/amd64/x86_64/` ;chop($hostarch);
- 
- $binary = $ENV{"BINARY"};
- 
-@@ -215,7 +215,7 @@ open(CONFFILE, "> $config"  ) || die "Ca
- # print $data, "\n";
- 
- print MAKEFILE "OSNAME=$os\n";
--print MAKEFILE "ARCH=$architecture\n";
-+print MAKEFILE "ARCH_=$architecture\n";
- print MAKEFILE "C_COMPILER=$compiler\n";
- print MAKEFILE "BINARY32=\n" if $binformat ne bin32;
- print MAKEFILE "BINARY64=\n" if $binformat ne bin64;
diff --git a/math/gotoblas/files/patch-cpuid_ia64.c b/math/gotoblas/files/patch-cpuid_ia64.c
deleted file mode 100644
index c9322c3b232d..000000000000
--- a/math/gotoblas/files/patch-cpuid_ia64.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- cpuid_ia64.c.orig	2010-11-05 13:57:49 UTC
-+++ cpuid_ia64.c
-@@ -38,7 +38,9 @@
- 
- #include <stdio.h>
- #include <string.h>
-+#ifdef linux
- #include <sys/sysinfo.h>
-+#endif
- #include "cpuid.h"
- 
- #ifdef __ECC
diff --git a/math/gotoblas/files/patch-cpuid_sparc.c b/math/gotoblas/files/patch-cpuid_sparc.c
deleted file mode 100644
index b6d2ca600432..000000000000
--- a/math/gotoblas/files/patch-cpuid_sparc.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- cpuid_sparc.c.orig	2010-11-05 13:57:49 UTC
-+++ cpuid_sparc.c
-@@ -49,6 +49,7 @@ void get_subdirname(void){
- }
- 
- void get_cpuconfig(void){
-+  printf("#define SPARC\n");
-   printf("#define V9\n");
-   printf("#define DTB_ENTRIES 32\n");
- }
diff --git a/math/gotoblas/files/patch-dynamic.c b/math/gotoblas/files/patch-dynamic.c
deleted file mode 100644
index 84b4a44478a7..000000000000
--- a/math/gotoblas/files/patch-dynamic.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- driver/others/dynamic.c~	2010-01-21 01:28:45.000000000 +0900
-+++ driver/others/dynamic.c	2010-02-16 13:43:09.000000000 +0900
-@@ -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/math/gotoblas/files/patch-exports+Makefile b/math/gotoblas/files/patch-exports+Makefile
deleted file mode 100644
index c01806223cf8..000000000000
--- a/math/gotoblas/files/patch-exports+Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
---- exports/Makefile.orig	2010-02-05 16:01:00 UTC
-+++ exports/Makefile
-@@ -106,6 +106,7 @@ so : ../$(LIBSONAME)
- endif
- 
- ifeq ($(OSNAME), FreeBSD)
-+EXTRALIB += -lgfortran
- 
- so : ../$(LIBSONAME)
- 
diff --git a/math/gotoblas/files/patch-f_check b/math/gotoblas/files/patch-f_check
deleted file mode 100644
index e887f5ca0576..000000000000
--- a/math/gotoblas/files/patch-f_check
+++ /dev/null
@@ -1,20 +0,0 @@
---- f_check.orig	2009-11-11 18:05:49 UTC
-+++ f_check
-@@ -240,7 +240,7 @@ if ($link ne "") {
- 
-     foreach $flags (@flags) {
- 	if (
--	    ($flags =~ /^\-L/)
-+	    ($flags =~ /^\-L\S/)
- 	    && ($flags !~ /^-LIST:/)
- 	    && ($flags !~ /^-LANG:/)
- 	    ) {
-@@ -263,7 +263,7 @@ if ($link ne "") {
- 	}
- 	
- 	if (
--	    ($flags =~ /^\-l/) 
-+	    ($flags =~ /^\-l\S/) 
- 	    && ($flags !~ /gfortranbegin/)
- 	    && ($flags !~ /frtbegin/)
- 	    && ($flags !~ /pathfstart/)
diff --git a/math/gotoblas/files/patch-patch.for_lapack-3.1.1 b/math/gotoblas/files/patch-patch.for_lapack-3.1.1
deleted file mode 100644
index 23a771c492d0..000000000000
--- a/math/gotoblas/files/patch-patch.for_lapack-3.1.1
+++ /dev/null
@@ -1,171 +0,0 @@
---- patch.for_lapack-3.1.1.orig	2009-12-16 20:41:30 UTC
-+++ patch.for_lapack-3.1.1
-@@ -30,7 +30,7 @@ diff -ruN lapack-3.1.1.old/Makefile lapa
- diff -ruN lapack-3.1.1.old/SRC/Makefile lapack-3.1.1/SRC/Makefile
- --- lapack-3.1.1.old/SRC/Makefile	2007-02-23 15:33:05.000000000 -0600
- +++ lapack-3.1.1/SRC/Makefile	2009-12-16 14:41:09.000000000 -0600
--@@ -38,265 +38,273 @@
-+@@ -38,285 +38,294 @@
-  #
-  #######################################################################
-   
-@@ -531,17 +531,35 @@ diff -ruN lapack-3.1.1.old/SRC/Makefile 
- +ALLOBJ_P = $(ALLOBJ:.$(SUFFIX)=.$(PSUFFIX))
- +
-  ../$(LAPACKLIB): $(ALLOBJ)
-- 	$(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ)
-- 	$(RANLIB) $@
-- 
--+../$(LAPACKLIB_P): $(ALLOBJ_P)
--+	$(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ_P)
-+-	$(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ)
-++	$(ARCH_) $(ARCHFLAGS) $@ $(ALLOBJ)
- +	$(RANLIB) $@
- +
-++../$(LAPACKLIB_P): $(ALLOBJ_P)
-++	$(ARCH_) $(ARCHFLAGS) $@ $(ALLOBJ_P)
-+ 	$(RANLIB) $@
-+ 
-  single: $(SLASRC) $(ALLAUX) $(SCLAUX) 
-- 	$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(ALLAUX) \
-+-	$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(ALLAUX) \
-++	$(ARCH_) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(ALLAUX) \
-  	$(SCLAUX)
--@@ -317,6 +325,7 @@
-+ 	$(RANLIB) ../$(LAPACKLIB)
-+ 
-+ complex: $(CLASRC) $(ALLAUX) $(SCLAUX)
-+-	$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ALLAUX) \
-++	$(ARCH_) $(ARCHFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ALLAUX) \
-+ 	$(SCLAUX)
-+ 	$(RANLIB) ../$(LAPACKLIB)
-+ 
-+ double: $(DLASRC) $(ALLAUX) $(DZLAUX)
-+-	$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(DLASRC) $(ALLAUX) \
-++	$(ARCH_) $(ARCHFLAGS) ../$(LAPACKLIB) $(DLASRC) $(ALLAUX) \
-+ 	$(DZLAUX)
-+ 	$(RANLIB) ../$(LAPACKLIB)
-+ 
-+ complex16: $(ZLASRC) $(ALLAUX) $(DZLAUX)
-+-	$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ALLAUX) \
-++	$(ARCH_) $(ARCHFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ALLAUX) \
-  	$(DZLAUX)
-  	$(RANLIB) ../$(LAPACKLIB)
-  
-@@ -570,115 +588,4 @@ diff -ruN lapack-3.1.1.old/SRC/Makefile 
-  
- +slaruv.$(PSUFFIX): slaruv.f ; $(FORTRAN) $(PNOOPT) -O0 -c $< -o $@
- +dlaruv.$(PSUFFIX): dlaruv.f ; $(FORTRAN) $(PNOOPT) -O0 -c $< -o $@
--diff -ruN lapack-3.1.1.old/TESTING/EIG/Makefile lapack-3.1.1/TESTING/EIG/Makefile
----- lapack-3.1.1.old/TESTING/EIG/Makefile	2007-02-20 15:33:03.000000000 -0600
--+++ lapack-3.1.1/TESTING/EIG/Makefile	2009-12-16 14:40:35.000000000 -0600
--@@ -78,7 +78,7 @@
--    cget35.o cget36.o cget37.o cget38.o cget51.o cget52.o \
--    cget54.o cglmts.o cgqrts.o cgrqts.o cgsvts.o \
--    chbt21.o chet21.o chet22.o chpt21.o chst01.o \
---   clarfy.o clarhs.o clatm4.o clctes.o clctsx.o clsets.o csbmv.o \
--+   clarfy.o clarhs.o clatm4.o clctes.o clctsx.o clsets.o \
--    csgt01.o cslect.o \
--    cstt21.o cstt22.o cunt01.o cunt03.o
-- 
--@@ -115,7 +115,7 @@
--    zget35.o zget36.o zget37.o zget38.o zget51.o zget52.o \
--    zget54.o zglmts.o zgqrts.o zgrqts.o zgsvts.o \
--    zhbt21.o zhet21.o zhet22.o zhpt21.o zhst01.o \
---   zlarfy.o zlarhs.o zlatm4.o zlctes.o zlctsx.o zlsets.o zsbmv.o \
--+   zlarfy.o zlarhs.o zlatm4.o zlctes.o zlctsx.o zlsets.o \
--    zsgt01.o zslect.o \
--    zstt21.o zstt22.o zunt01.o zunt03.o
-- 
--@@ -129,22 +129,22 @@
-- ../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ; \
--           $(LOADER) $(LOADOPTS) -o $@ \
--           $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \
---	  ../../$(LAPACKLIB) $(BLASLIB)
--+	  ../../$(LAPACKLIB) $(BLASLIB) $(CEXTRALIB)
-- 
-- ../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ; \
--           $(LOADER) $(LOADOPTS) -o $@ \
--           $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \
---	  ../../$(LAPACKLIB) $(BLASLIB)
--+	  ../../$(LAPACKLIB) $(BLASLIB) $(CEXTRALIB)
-- 
-- ../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) ; \
--           $(LOADER) $(LOADOPTS) -o $@ \
--           $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \
---	  ../../$(LAPACKLIB) $(BLASLIB)
--+	  ../../$(LAPACKLIB) $(BLASLIB) $(CEXTRALIB)
-- 
-- ../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) ; \
--           $(LOADER) $(LOADOPTS) -o $@ \
--           $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \
---	  ../../$(LAPACKLIB) $(BLASLIB)
--+	  ../../$(LAPACKLIB) $(BLASLIB) $(CEXTRALIB)
-- 
-- $(AEIGTST): $(FRC)
-- $(SCIGTST): $(FRC)
--diff -ruN lapack-3.1.1.old/TESTING/LIN/Makefile lapack-3.1.1/TESTING/LIN/Makefile
----- lapack-3.1.1.old/TESTING/LIN/Makefile	2007-02-20 15:33:03.000000000 -0600
--+++ lapack-3.1.1/TESTING/LIN/Makefile	2009-12-16 14:40:35.000000000 -0600
--@@ -97,7 +97,7 @@
--    cqpt01.o cqrt01.o cqrt02.o cqrt03.o cqrt11.o \
--    cqrt12.o cqrt13.o cqrt14.o cqrt15.o cqrt16.o \
--    cqrt17.o crqt01.o crqt02.o crqt03.o crzt01.o crzt02.o \
---   csbmv.o  cspt01.o \
--+   cspt01.o \
--    cspt02.o cspt03.o csyt01.o csyt02.o csyt03.o \
--    ctbt02.o ctbt03.o ctbt05.o ctbt06.o ctpt01.o \
--    ctpt02.o ctpt03.o ctpt05.o ctpt06.o ctrt01.o \
--@@ -159,7 +159,7 @@
--    zqpt01.o zqrt01.o zqrt02.o zqrt03.o zqrt11.o \
--    zqrt12.o zqrt13.o zqrt14.o zqrt15.o zqrt16.o \
--    zqrt17.o zrqt01.o zrqt02.o zrqt03.o zrzt01.o zrzt02.o \
---   zsbmv.o  zspt01.o \
--+   zspt01.o \
--    zspt02.o zspt03.o zsyt01.o zsyt02.o zsyt03.o \
--    ztbt02.o ztbt03.o ztbt05.o ztbt06.o ztpt01.o \
--    ztpt02.o ztpt03.o ztpt05.o ztpt06.o ztrt01.o \
--@@ -176,7 +176,7 @@
-- 	zdrvab.o zerrab.o zget08.o          \
-- 	alaerh.o alahd.o  aladhd.o alareq.o \
-- 	chkxer.o zget02.o zlarhs.o zlatb4.o \
---	zsbmv.o  xerbla.o
--+	xerbla.o
-- 
-- all:  single double complex complex16 proto-double proto-complex16
-- 
--@@ -190,27 +190,27 @@
-- 
-- ../xlintsts : $(ALINTST) $(SLINTST) $(SCLNTST)
-- 	$(LOADER) $(LOADOPTS)  $(ALINTST) $(SCLNTST) $(SLINTST) \
---        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@
--+        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@ $(CEXTRALIB)
-- 
-- ../xlintstc : $(ALINTST) $(CLINTST) $(SCLNTST)
-- 	$(LOADER) $(LOADOPTS)  $(ALINTST) $(SCLNTST) $(CLINTST) \
---        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@
--+        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@ $(CEXTRALIB)
--  
-- ../xlintstd : $(ALINTST) $(DLINTST) $(DZLNTST)
-- 	$(LOADER) $(LOADOPTS)  $(ALINTST) $(DZLNTST) $(DLINTST) \
---        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@
--+        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@ $(CEXTRALIB)
--  
-- ../xlintstz : $(ALINTST) $(ZLINTST) $(DZLNTST)
-- 	$(LOADER) $(LOADOPTS)  $(ALINTST) $(DZLNTST) $(ZLINTST) \
---        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@
--+        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@ $(CEXTRALIB)
--  
-- ../xlintstds : $(DSLINTST)
-- 	$(LOADER) $(LOADOPTS)  $(DSLINTST) \
---        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@
--+        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@ $(CEXTRALIB)
--  
-- ../xlintstzc : $(ZCLINTST)
-- 	$(LOADER) $(LOADOPTS)  $(ZCLINTST) \
---        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@
--+        ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB)  -o $@ $(CEXTRALIB)
--  
-- $(ALINTST): $(FRC)
-- $(SCLNTST): $(FRC)
-+
diff --git a/math/gotoblas/files/patch-patch.for_lapack-3.4.0 b/math/gotoblas/files/patch-patch.for_lapack-3.4.0
deleted file mode 100644
index 8c9ab4fc44e6..000000000000
--- a/math/gotoblas/files/patch-patch.for_lapack-3.4.0
+++ /dev/null
@@ -1,381 +0,0 @@
---- patch.for_lapack-3.4.0.orig	2015-12-11 10:27:29 UTC
-+++ patch.for_lapack-3.4.0
-@@ -0,0 +1,378 @@
-+
-+--- a/lapack-3.4.0/INSTALL/Makefile	2011-10-01 11:37:03.000000000 +0900
-++++ lapack-3.4.0/INSTALL/Makefile
-+@@ -27,7 +27,7 @@
-+ 	$(LOADER) $(LOADOPTS) -o testversion ilaver.o LAPACK_version.o
-+ 
-+ clean:
-+-	rm -f *.o
-++	rm -f *.o test*
-+ .f.o: 
-+ 	$(FORTRAN) $(OPTS) -c $< -o $@
-+ 
-+diff -ur /work/ports/va/lapack-3.4.0/Makefile lapack-3.4.0/Makefile
-+--- a/lapack-3.4.0/Makefile	2011-11-12 06:08:04.000000000 +0900
-++++ lapack-3.4.0/Makefile
-+@@ -20,9 +20,12 @@
-+ blaslib:
-+ 	( cd BLAS/SRC; $(MAKE) )
-+ 
-+-lapacklib:	lapack_install
-++lapacklib:
-+ 	( cd SRC; $(MAKE) )
-+ 
-++lapack_prof:
-++	( cd SRC; $(MAKE) lapack_prof)
-++
-+ variants:
-+ 	( cd SRC/VARIANTS ; $(MAKE))
-+ 	
-+
-+--- a/lapack-3.4.0/SRC/Makefile	2011-10-04 11:58:05.000000000 +0900
-++++ lapack-3.4.0/SRC/Makefile
-+@@ -54,9 +54,9 @@
-+ #
-+ #######################################################################
-+ 
-+-ALLAUX = ilaenv.o ieeeck.o lsamen.o xerbla.o xerbla_array.o iparmq.o	\
-++ALLAUX = ilaenv.o ieeeck.o lsamen.o xerbla_array.o iparmq.o	\
-+     ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \
-+-    ../INSTALL/ilaver.o ../INSTALL/lsame.o ../INSTALL/slamch.o
-++    ../INSTALL/ilaver.o
-+ 
-+ SCLAUX = \
-+    sbdsdc.o \
-+@@ -92,7 +92,7 @@
-+    dlasr.o  dlasrt.o dlassq.o dlasv2.o dpttrf.o dstebz.o dstedc.o \
-+    dsteqr.o dsterf.o dlaisnan.o disnan.o \
-+    dlartgp.o dlartgs.o \
-+-   ../INSTALL/dlamch.o ../INSTALL/dsecnd_$(TIMER).o
-++   ../INSTALL/dsecnd_$(TIMER).o
-+ 
-+ SLASRC = \
-+    sgbbrd.o sgbcon.o sgbequ.o sgbrfs.o sgbsv.o  \
-+@@ -101,8 +101,8 @@
-+    sgegs.o  sgegv.o  sgehd2.o sgehrd.o sgelq2.o sgelqf.o \
-+    sgels.o  sgelsd.o sgelss.o sgelsx.o sgelsy.o sgeql2.o sgeqlf.o \
-+    sgeqp3.o sgeqpf.o sgeqr2.o sgeqr2p.o sgeqrf.o sgeqrfp.o sgerfs.o \
-+-   sgerq2.o sgerqf.o sgesc2.o sgesdd.o sgesv.o  sgesvd.o sgesvx.o \
-+-   sgetc2.o sgetf2.o sgetri.o \
-++   sgerq2.o sgerqf.o sgesc2.o sgesdd.o sgesvd.o sgesvx.o \
-++   sgetc2.o sgetri.o \
-+    sggbak.o sggbal.o sgges.o  sggesx.o sggev.o  sggevx.o \
-+    sggglm.o sgghrd.o sgglse.o sggqrf.o \
-+    sggrqf.o sggsvd.o sggsvp.o sgtcon.o sgtrfs.o sgtsv.o  \
-+@@ -118,16 +118,16 @@
-+    slaqtr.o slar1v.o slar2v.o ilaslr.o ilaslc.o \
-+    slarf.o  slarfb.o slarfg.o slarfgp.o slarft.o slarfx.o slargv.o \
-+    slarrv.o slartv.o  \
-+-   slarz.o  slarzb.o slarzt.o slaswp.o slasy2.o slasyf.o \
-++   slarz.o  slarzb.o slarzt.o slasy2.o slasyf.o \
-+    slatbs.o slatdf.o slatps.o slatrd.o slatrs.o slatrz.o slatzm.o \
-+-   slauu2.o slauum.o sopgtr.o sopmtr.o sorg2l.o sorg2r.o \
-++   sopgtr.o sopmtr.o sorg2l.o sorg2r.o \
-+    sorgbr.o sorghr.o sorgl2.o sorglq.o sorgql.o sorgqr.o sorgr2.o \
-+    sorgrq.o sorgtr.o sorm2l.o sorm2r.o \
-+    sormbr.o sormhr.o sorml2.o sormlq.o sormql.o sormqr.o sormr2.o \
-+    sormr3.o sormrq.o sormrz.o sormtr.o spbcon.o spbequ.o spbrfs.o \
-+    spbstf.o spbsv.o  spbsvx.o \
-+    spbtf2.o spbtrf.o spbtrs.o spocon.o spoequ.o sporfs.o sposv.o  \
-+-   sposvx.o spotf2.o  spotri.o  spstrf.o spstf2.o \
-++   sposvx.o spstrf.o spstf2.o \
-+    sppcon.o sppequ.o \
-+    spprfs.o sppsv.o  sppsvx.o spptrf.o spptri.o spptrs.o sptcon.o \
-+    spteqr.o sptrfs.o sptsv.o  sptsvx.o spttrs.o sptts2.o srscl.o  \
-+@@ -143,7 +143,7 @@
-+    stgsja.o stgsna.o stgsy2.o stgsyl.o stpcon.o stprfs.o stptri.o \
-+    stptrs.o \
-+    strcon.o strevc.o strexc.o strrfs.o strsen.o strsna.o strsyl.o \
-+-   strti2.o strtri.o strtrs.o stzrqf.o stzrzf.o sstemr.o \
-++   strtrs.o stzrqf.o stzrzf.o sstemr.o \
-+    slansf.o spftrf.o spftri.o spftrs.o ssfrk.o stfsm.o stftri.o stfttp.o \
-+    stfttr.o stpttf.o stpttr.o strttf.o strttp.o \
-+    sgejsv.o  sgesvj.o  sgsvj0.o  sgsvj1.o \
-+@@ -152,7 +152,7 @@
-+    sgeqrt.o sgeqrt2.o sgeqrt3.o sgemqrt.o \
-+    stpqrt.o stpqrt2.o stpmqrt.o stprfb.o
-+ 
-+-DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o 
-++DSLASRC = spotrs.o
-+ 
-+ ifdef USEXBLAS
-+ SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o		\
-+@@ -171,8 +171,8 @@
-+    cgegs.o  cgegv.o  cgehd2.o cgehrd.o cgelq2.o cgelqf.o \
-+    cgels.o  cgelsd.o cgelss.o cgelsx.o cgelsy.o cgeql2.o cgeqlf.o cgeqp3.o \
-+    cgeqpf.o cgeqr2.o cgeqr2p.o cgeqrf.o cgeqrfp.o cgerfs.o \
-+-   cgerq2.o cgerqf.o cgesc2.o cgesdd.o cgesv.o  cgesvd.o  \
-+-   cgesvx.o cgetc2.o cgetf2.o cgetri.o \
-++   cgerq2.o cgerqf.o cgesc2.o cgesdd.o cgesvd.o  \
-++   cgesvx.o cgetc2.o cgetri.o \
-+    cggbak.o cggbal.o cgges.o  cggesx.o cggev.o  cggevx.o cggglm.o \
-+    cgghrd.o cgglse.o cggqrf.o cggrqf.o \
-+    cggsvd.o cggsvp.o \
-+@@ -200,21 +200,21 @@
-+    clarf.o  clarfb.o clarfg.o clarft.o clarfgp.o \
-+    clarfx.o clargv.o clarnv.o clarrv.o clartg.o clartv.o \
-+    clarz.o  clarzb.o clarzt.o clascl.o claset.o clasr.o  classq.o \
-+-   claswp.o clasyf.o clatbs.o clatdf.o clatps.o clatrd.o clatrs.o clatrz.o \
-+-   clatzm.o clauu2.o clauum.o cpbcon.o cpbequ.o cpbrfs.o cpbstf.o cpbsv.o  \
-++   clasyf.o clatbs.o clatdf.o clatps.o clatrd.o clatrs.o clatrz.o \
-++   clatzm.o cpbcon.o cpbequ.o cpbrfs.o cpbstf.o cpbsv.o  \
-+    cpbsvx.o cpbtf2.o cpbtrf.o cpbtrs.o cpocon.o cpoequ.o cporfs.o \
-+-   cposv.o  cposvx.o cpotf2.o cpotri.o cpstrf.o cpstf2.o \
-++   cposv.o  cposvx.o cpstrf.o cpstf2.o \
-+    cppcon.o cppequ.o cpprfs.o cppsv.o  cppsvx.o cpptrf.o cpptri.o cpptrs.o \
-+    cptcon.o cpteqr.o cptrfs.o cptsv.o  cptsvx.o cpttrf.o cpttrs.o cptts2.o \
-+-   crot.o   cspcon.o cspmv.o  cspr.o   csprfs.o cspsv.o  \
-++   crot.o   cspcon.o csprfs.o cspsv.o  \
-+    cspsvx.o csptrf.o csptri.o csptrs.o csrscl.o cstedc.o \
-+-   cstegr.o cstein.o csteqr.o csycon.o csymv.o \
-+-   csyr.o   csyrfs.o csysv.o  csysvx.o csytf2.o csytrf.o csytri.o csytri2.o csytri2x.o \
-++   cstegr.o cstein.o csteqr.o csycon.o \
-++   csyrfs.o csysv.o  csysvx.o csytf2.o csytrf.o csytri.o csytri2.o csytri2x.o \
-+    csyswapr.o csytrs.o csytrs2.o csyconv.o ctbcon.o ctbrfs.o ctbtrs.o ctgevc.o ctgex2.o \
-+    ctgexc.o ctgsen.o ctgsja.o ctgsna.o ctgsy2.o ctgsyl.o ctpcon.o \
-+    ctprfs.o ctptri.o \
-+    ctptrs.o ctrcon.o ctrevc.o ctrexc.o ctrrfs.o ctrsen.o ctrsna.o \
-+-   ctrsyl.o ctrti2.o ctrtri.o ctrtrs.o ctzrqf.o ctzrzf.o cung2l.o cung2r.o \
-++   ctrsyl.o ctrtrs.o ctzrqf.o ctzrzf.o cung2l.o cung2r.o \
-+    cungbr.o cunghr.o cungl2.o cunglq.o cungql.o cungqr.o cungr2.o \
-+    cungrq.o cungtr.o cunm2l.o cunm2r.o cunmbr.o cunmhr.o cunml2.o \
-+    cunmlq.o cunmql.o cunmqr.o cunmr2.o cunmr3.o cunmrq.o cunmrz.o \
-+@@ -240,7 +240,7 @@
-+    cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o
-+ endif
-+ 
-+-ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o 
-++ZCLASRC = cpotrs.o
-+ 
-+ DLASRC = \
-+    dgbbrd.o dgbcon.o dgbequ.o dgbrfs.o dgbsv.o  \
-+@@ -249,9 +249,9 @@
-+    dgegs.o  dgegv.o  dgehd2.o dgehrd.o dgelq2.o dgelqf.o \
-+    dgels.o  dgelsd.o dgelss.o dgelsx.o dgelsy.o dgeql2.o dgeqlf.o \
-+    dgeqp3.o dgeqpf.o dgeqr2.o dgeqr2p.o dgeqrf.o dgeqrfp.o dgerfs.o \
-+-   dgerq2.o dgerqf.o dgesc2.o dgesdd.o dgesv.o  dgesvd.o dgesvx.o  \
-+-   dgetc2.o dgetf2.o dgetrf.o dgetri.o \
-+-   dgetrs.o dggbak.o dggbal.o dgges.o  dggesx.o dggev.o  dggevx.o \
-++   dgerq2.o dgerqf.o dgesc2.o dgesdd.o dgesvd.o dgesvx.o  \
-++   dgetc2.o dgetri.o \
-++   dggbak.o dggbal.o dgges.o  dggesx.o dggev.o  dggevx.o \
-+    dggglm.o dgghrd.o dgglse.o dggqrf.o \
-+    dggrqf.o dggsvd.o dggsvp.o dgtcon.o dgtrfs.o dgtsv.o  \
-+    dgtsvx.o dgttrf.o dgttrs.o dgtts2.o dhgeqz.o \
-+@@ -266,16 +266,16 @@
-+    dlaqtr.o dlar1v.o dlar2v.o iladlr.o iladlc.o \
-+    dlarf.o  dlarfb.o dlarfg.o dlarfgp.o dlarft.o dlarfx.o \
-+    dlargv.o dlarrv.o dlartv.o  \
-+-   dlarz.o  dlarzb.o dlarzt.o dlaswp.o dlasy2.o dlasyf.o \
-+-   dlatbs.o dlatdf.o dlatps.o dlatrd.o dlatrs.o dlatrz.o dlatzm.o dlauu2.o \
-+-   dlauum.o dopgtr.o dopmtr.o dorg2l.o dorg2r.o \
-++   dlarz.o  dlarzb.o dlarzt.o dlasy2.o dlasyf.o \
-++   dlatbs.o dlatdf.o dlatps.o dlatrd.o dlatrs.o dlatrz.o dlatzm.o \
-++   dopgtr.o dopmtr.o dorg2l.o dorg2r.o \
-+    dorgbr.o dorghr.o dorgl2.o dorglq.o dorgql.o dorgqr.o dorgr2.o \
-+    dorgrq.o dorgtr.o dorm2l.o dorm2r.o \
-+    dormbr.o dormhr.o dorml2.o dormlq.o dormql.o dormqr.o dormr2.o \
-+    dormr3.o dormrq.o dormrz.o dormtr.o dpbcon.o dpbequ.o dpbrfs.o \
-+    dpbstf.o dpbsv.o  dpbsvx.o \
-+    dpbtf2.o dpbtrf.o dpbtrs.o dpocon.o dpoequ.o dporfs.o dposv.o  \
-+-   dposvx.o dpotf2.o dpotrf.o dpotri.o dpotrs.o dpstrf.o dpstf2.o \
-++   dposvx.o dpotrs.o dpstrf.o dpstf2.o \
-+    dppcon.o dppequ.o \
-+    dpprfs.o dppsv.o  dppsvx.o dpptrf.o dpptri.o dpptrs.o dptcon.o \
-+    dpteqr.o dptrfs.o dptsv.o  dptsvx.o dpttrs.o dptts2.o drscl.o  \
-+@@ -292,7 +292,7 @@
-+    dtgsja.o dtgsna.o dtgsy2.o dtgsyl.o dtpcon.o dtprfs.o dtptri.o \
-+    dtptrs.o \
-+    dtrcon.o dtrevc.o dtrexc.o dtrrfs.o dtrsen.o dtrsna.o dtrsyl.o \
-+-   dtrti2.o dtrtri.o dtrtrs.o dtzrqf.o dtzrzf.o dstemr.o \
-++   dtrtrs.o dtzrqf.o dtzrzf.o dstemr.o \
-+    dsgesv.o dsposv.o dlag2s.o slag2d.o dlat2s.o \
-+    dlansf.o dpftrf.o dpftri.o dpftrs.o dsfrk.o dtfsm.o dtftri.o dtfttp.o \
-+    dtfttr.o dtpttf.o dtpttr.o dtrttf.o dtrttp.o \
-+@@ -319,8 +319,8 @@
-+    zgegs.o  zgegv.o  zgehd2.o zgehrd.o zgelq2.o zgelqf.o \
-+    zgels.o  zgelsd.o zgelss.o zgelsx.o zgelsy.o zgeql2.o zgeqlf.o zgeqp3.o \
-+    zgeqpf.o zgeqr2.o zgeqr2p.o zgeqrf.o zgeqrfp.o zgerfs.o zgerq2.o zgerqf.o \
-+-   zgesc2.o zgesdd.o zgesv.o  zgesvd.o zgesvx.o zgetc2.o zgetf2.o zgetrf.o \
-+-   zgetri.o zgetrs.o \
-++   zgesc2.o zgesdd.o zgesvd.o zgesvx.o zgetc2.o \
-++   zgetri.o \
-+    zggbak.o zggbal.o zgges.o  zggesx.o zggev.o  zggevx.o zggglm.o \
-+    zgghrd.o zgglse.o zggqrf.o zggrqf.o \
-+    zggsvd.o zggsvp.o \
-+@@ -350,22 +350,22 @@
-+    zlarfg.o zlarft.o zlarfgp.o \
-+    zlarfx.o zlargv.o zlarnv.o zlarrv.o zlartg.o zlartv.o \
-+    zlarz.o  zlarzb.o zlarzt.o zlascl.o zlaset.o zlasr.o  \
-+-   zlassq.o zlaswp.o zlasyf.o \
-+-   zlatbs.o zlatdf.o zlatps.o zlatrd.o zlatrs.o zlatrz.o zlatzm.o zlauu2.o \
-+-   zlauum.o zpbcon.o zpbequ.o zpbrfs.o zpbstf.o zpbsv.o  \
-++   zlassq.o zlasyf.o \
-++   zlatbs.o zlatdf.o zlatps.o zlatrd.o zlatrs.o zlatrz.o zlatzm.o \
-++   zpbcon.o zpbequ.o zpbrfs.o zpbstf.o zpbsv.o  \
-+    zpbsvx.o zpbtf2.o zpbtrf.o zpbtrs.o zpocon.o zpoequ.o zporfs.o \
-+-   zposv.o  zposvx.o zpotf2.o zpotrf.o zpotri.o zpotrs.o zpstrf.o zpstf2.o \
-++   zposv.o  zposvx.o zpotrs.o zpstrf.o zpstf2.o \
-+    zppcon.o zppequ.o zpprfs.o zppsv.o  zppsvx.o zpptrf.o zpptri.o zpptrs.o \
-+    zptcon.o zpteqr.o zptrfs.o zptsv.o  zptsvx.o zpttrf.o zpttrs.o zptts2.o \
-+-   zrot.o   zspcon.o zspmv.o  zspr.o   zsprfs.o zspsv.o  \
-++   zrot.o   zspcon.o zsprfs.o zspsv.o  \
-+    zspsvx.o zsptrf.o zsptri.o zsptrs.o zdrscl.o zstedc.o \
-+-   zstegr.o zstein.o zsteqr.o zsycon.o zsymv.o \
*** 184 LINES SKIPPED ***