freebsd-ports/math/gotoblas/files/patch-patch.for_lapack-3.1.1
Maho Nakata 4eaeda46f9 Update to 2.1.11p1.
Partially based on: infofarmer@'s patch.
2010-02-02 07:57:50 +00:00

171 lines
6.6 KiB
Groff

--- patch.for_lapack-3.1.1.org 2010-02-02 11:11:11.000000000 +0900
+++ patch.for_lapack-3.1.1 2010-02-02 11:13:40.000000000 +0900
@@ -30,7 +30,7 @@
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 @@
+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 @@
+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)
+