view src/mingw-blas-1-xerbla.patch @ 7186:19a46de50b18 default tip @

* src/jasper.mk: update to v4.2.4
author John Donoghue <john.donoghue@ieee.org>
date Thu, 02 May 2024 09:22:30 -0400
parents e617e117f94d
children
line wrap: on
line source

diff -uNr a/Makefile b/Makefile
--- a/Makefile	2021-11-25 18:50:29.908859992 +0100
+++ b/Makefile	2021-11-25 18:54:00.741901186 +0100
@@ -64,7 +64,7 @@
 	$(FC) $(FFLAGS) -c -o $@ $<
 
 .PHONY: all
-all: $(BLASLIB)
+all: $(BLASLIB) $(XERBLALIB)
 
 .PHONY: blas
 blas: $(BLASLIB)
@@ -104,9 +104,11 @@
 #  Level 2 and Level 3 BLAS.  Comment it out only if you already have
 #  both the Level 2 and 3 BLAS.
 #---------------------------------------------------------------------
-ALLBLAS = lsame.o xerbla.o xerbla_array.o
+ALLBLAS = lsame.o xerbla_array.o
 $(ALLBLAS): $(FRC)
 
+XERBLA = xerbla.o
+
 #---------------------------------------------------------
 #  Comment out the next 4 definitions if you already have
 #  the Level 2 BLAS.
@@ -153,10 +155,16 @@
 	$(CBLAS1) $(CBLAS2) $(CBLAS3) $(ZBLAS1) \
 	$(ZBLAS2) $(ZBLAS3) $(ALLBLAS)
 
+XERBLAOBJ=$(XERBLA)
+
 $(BLASLIB): $(ALLOBJ)
 	$(AR) $(ARFLAGS) $@ $^
 	$(RANLIB) $@
 
+$(XERBLALIB): $(XERBLAOBJ)
+	$(AR) $(ARFLAGS) $@ $^
+	$(RANLIB) $@
+
 .PHONY: single double complex complex16
 single: $(SBLAS1) $(ALLBLAS) $(SBLAS2) $(SBLAS3)
 	$(AR) $(ARFLAGS) $(BLASLIB) $^

diff -uNr a/make.inc b/make.inc
--- a/make.inc	2011-04-19 15:08:00.000000000 -0400
+++ b/make.inc	2018-06-20 09:55:18.185059266 -0400
@@ -32,3 +32,4 @@
 #  The location and name of the Reference BLAS library.
 #
 BLASLIB      = blas$(PLAT).a
+XERBLALIB    = xerbla$(PLAT).a