| @@ -237,8 +237,8 @@ ifndef NOFORTRAN | |||||
| -@echo "LOADOPTS = $(FFLAGS) $(EXTRALIB)" >> $(NETLIB_LAPACK_DIR)/make.inc | -@echo "LOADOPTS = $(FFLAGS) $(EXTRALIB)" >> $(NETLIB_LAPACK_DIR)/make.inc | ||||
| -@echo "CC = $(CC)" >> $(NETLIB_LAPACK_DIR)/make.inc | -@echo "CC = $(CC)" >> $(NETLIB_LAPACK_DIR)/make.inc | ||||
| -@echo "override CFLAGS = $(LAPACK_CFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc | -@echo "override CFLAGS = $(LAPACK_CFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc | ||||
| -@echo "ARCH = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc | |||||
| -@echo "ARCHFLAGS = $(ARFLAGS) -ru" >> $(NETLIB_LAPACK_DIR)/make.inc | |||||
| -@echo "AR = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc | |||||
| -@echo "ARFLAGS = $(ARFLAGS) -ru" >> $(NETLIB_LAPACK_DIR)/make.inc | |||||
| -@echo "RANLIB = $(RANLIB)" >> $(NETLIB_LAPACK_DIR)/make.inc | -@echo "RANLIB = $(RANLIB)" >> $(NETLIB_LAPACK_DIR)/make.inc | ||||
| -@echo "LAPACKLIB = ../$(LIBNAME)" >> $(NETLIB_LAPACK_DIR)/make.inc | -@echo "LAPACKLIB = ../$(LIBNAME)" >> $(NETLIB_LAPACK_DIR)/make.inc | ||||
| -@echo "TMGLIB = ../$(LIBNAME)" >> $(NETLIB_LAPACK_DIR)/make.inc | -@echo "TMGLIB = ../$(LIBNAME)" >> $(NETLIB_LAPACK_DIR)/make.inc | ||||
| @@ -121,6 +121,10 @@ if (($architecture eq "x86") && ($os ne Darwin) && ($os ne SunOS)) { | |||||
| $binary =32; | $binary =32; | ||||
| } | } | ||||
| if ($architecture eq "riscv64") { | |||||
| $defined = 1; | |||||
| } | |||||
| if ($compiler eq "PGI") { | if ($compiler eq "PGI") { | ||||
| $compiler_name .= " -tp p7" if ($binary eq "32"); | $compiler_name .= " -tp p7" if ($binary eq "32"); | ||||
| $compiler_name .= " -tp p7-64" if ($binary eq "64"); | $compiler_name .= " -tp p7-64" if ($binary eq "64"); | ||||
| @@ -138,23 +138,23 @@ ALLOBJ = $(SBLAS1) $(SBLAS2) $(SBLAS3) $(DBLAS1) $(DBLAS2) $(DBLAS3) \ | |||||
| $(ZBLAS2) $(ZBLAS3) $(ALLBLAS) | $(ZBLAS2) $(ZBLAS3) $(ALLBLAS) | ||||
| $(BLASLIB): $(ALLOBJ) | $(BLASLIB): $(ALLOBJ) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| single: $(SBLAS1) $(ALLBLAS) $(SBLAS2) $(SBLAS3) | single: $(SBLAS1) $(ALLBLAS) $(SBLAS2) $(SBLAS3) | ||||
| $(ARCH) $(ARCHFLAGS) $(BLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(BLASLIB) $^ | |||||
| $(RANLIB) $(BLASLIB) | $(RANLIB) $(BLASLIB) | ||||
| double: $(DBLAS1) $(ALLBLAS) $(DBLAS2) $(DBLAS3) | double: $(DBLAS1) $(ALLBLAS) $(DBLAS2) $(DBLAS3) | ||||
| $(ARCH) $(ARCHFLAGS) $(BLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(BLASLIB) $^ | |||||
| $(RANLIB) $(BLASLIB) | $(RANLIB) $(BLASLIB) | ||||
| complex: $(CBLAS1) $(CB1AUX) $(ALLBLAS) $(CBLAS2) $(CBLAS3) | complex: $(CBLAS1) $(CB1AUX) $(ALLBLAS) $(CBLAS2) $(CBLAS3) | ||||
| $(ARCH) $(ARCHFLAGS) $(BLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(BLASLIB) $^ | |||||
| $(RANLIB) $(BLASLIB) | $(RANLIB) $(BLASLIB) | ||||
| complex16: $(ZBLAS1) $(ZB1AUX) $(ALLBLAS) $(ZBLAS2) $(ZBLAS3) | complex16: $(ZBLAS1) $(ZB1AUX) $(ALLBLAS) $(ZBLAS2) $(ZBLAS3) | ||||
| $(ARCH) $(ARCHFLAGS) $(BLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(BLASLIB) $^ | |||||
| $(RANLIB) $(BLASLIB) | $(RANLIB) $(BLASLIB) | ||||
| FRC: | FRC: | ||||
| @@ -45,22 +45,22 @@ sclev1 = cblas_scasum.o scasumsub.o cblas_scnrm2.o scnrm2sub.o | |||||
| # Single precision real | # Single precision real | ||||
| slib1: $(slev1) $(sclev1) | slib1: $(slev1) $(sclev1) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Double precision real | # Double precision real | ||||
| dlib1: $(dlev1) | dlib1: $(dlev1) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Single precision complex | # Single precision complex | ||||
| clib1: $(clev1) $(sclev1) | clib1: $(clev1) $(sclev1) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Double precision complex | # Double precision complex | ||||
| zlib1: $(zlev1) | zlib1: $(zlev1) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # | # | ||||
| @@ -97,22 +97,22 @@ zlev2 = cblas_zgemv.o cblas_zgbmv.o cblas_zhemv.o cblas_zhbmv.o cblas_zhpmv.o \ | |||||
| # Single precision real | # Single precision real | ||||
| slib2: $(slev2) $(errhand) | slib2: $(slev2) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Double precision real | # Double precision real | ||||
| dlib2: $(dlev2) $(errhand) | dlib2: $(dlev2) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Single precision complex | # Single precision complex | ||||
| clib2: $(clev2) $(errhand) | clib2: $(clev2) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Double precision complex | # Double precision complex | ||||
| zlib2: $(zlev2) $(errhand) | zlib2: $(zlev2) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # | # | ||||
| @@ -143,22 +143,22 @@ zlev3 = cblas_zgemm.o cblas_zsymm.o cblas_zhemm.o cblas_zherk.o \ | |||||
| # Single precision real | # Single precision real | ||||
| slib3: $(slev3) $(errhand) | slib3: $(slev3) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Double precision real | # Double precision real | ||||
| dlib3: $(dlev3) $(errhand) | dlib3: $(dlev3) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Single precision complex | # Single precision complex | ||||
| clib3: $(clev3) $(errhand) | clib3: $(clev3) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # Double precision complex | # Double precision complex | ||||
| zlib3: $(zlev3) $(errhand) | zlib3: $(zlev3) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| @@ -168,22 +168,22 @@ alev3 = $(slev3) $(dlev3) $(clev3) $(zlev3) | |||||
| # All level 1 | # All level 1 | ||||
| all1: $(alev1) | all1: $(alev1) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # All level 2 | # All level 2 | ||||
| all2: $(alev2) $(errhand) | all2: $(alev2) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # All level 3 | # All level 3 | ||||
| all3: $(alev3) $(errhand) | all3: $(alev3) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^ | |||||
| $(AR) $(ARFLAGS) $(CBLASLIB) $^ | |||||
| $(RANLIB) $(CBLASLIB) | $(RANLIB) $(CBLASLIB) | ||||
| # All levels and precisions | # All levels and precisions | ||||
| $(CBLASLIB): $(alev1) $(alev2) $(alev3) $(errhand) | $(CBLASLIB): $(alev1) $(alev2) $(alev3) $(errhand) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| FRC: | FRC: | ||||
| @@ -466,7 +466,7 @@ TIMER = EXT_ETIME | |||||
| Refer to the section~\ref{second} to get more information. | Refer to the section~\ref{second} to get more information. | ||||
| Next, you will need to modify \texttt{ARCH}, \texttt{ARCHFLAGS}, and \texttt{RANLIB} to specify archiver, | |||||
| Next, you will need to modify \texttt{AR}, \texttt{ARFLAGS}, and \texttt{RANLIB} to specify archiver, | |||||
| archiver options, and ranlib for your machine. If your architecture | archiver options, and ranlib for your machine. If your architecture | ||||
| does not require \texttt{ranlib} to be run after each archive command (as | does not require \texttt{ranlib} to be run after each archive command (as | ||||
| is the case with CRAY computers running UNICOS, Hewlett Packard | is the case with CRAY computers running UNICOS, Hewlett Packard | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = -Aa +U77 | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -32,8 +32,8 @@ LOADOPTS = -O3 -64 -mips4 -r10000 -OPT:IEEE_NaN_inf=ON | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -32,8 +32,8 @@ LOADOPTS = -O3 -64 -mips4 -r10000 | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = -dalign -O4 -fast | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -33,8 +33,8 @@ LOADOPTS = -f -dalign -native -xO2 -xarch=v8plusa | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -30,8 +30,8 @@ LOADOPTS = -qnosave | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -33,8 +33,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -33,8 +33,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -29,8 +29,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = echo | RANLIB = echo | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -2455,16 +2455,16 @@ endif | |||||
| all: ../../$(LAPACKELIB) | all: ../../$(LAPACKELIB) | ||||
| ../../$(LAPACKELIB): $(OBJ_A) $(OBJ_B) $(DEPRECATED) $(EXTENDED) $(MATGEN) | ../../$(LAPACKELIB): $(OBJ_A) $(OBJ_B) $(DEPRECATED) $(EXTENDED) $(MATGEN) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $(OBJ_A) | |||||
| $(ARCH) $(ARCHFLAGS) $@ $(OBJ_B) | |||||
| $(AR) $(ARFLAGS) $@ $(OBJ_A) | |||||
| $(AR) $(ARFLAGS) $@ $(OBJ_B) | |||||
| ifdef BUILD_DEPRECATED | ifdef BUILD_DEPRECATED | ||||
| $(ARCH) $(ARCHFLAGS) $@ $(DEPRECATED) | |||||
| $(AR) $(ARFLAGS) $@ $(DEPRECATED) | |||||
| endif | endif | ||||
| ifdef (USEXBLAS) | ifdef (USEXBLAS) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $(EXTENDED) | |||||
| $(AR) $(ARFLAGS) $@ $(EXTENDED) | |||||
| endif | endif | ||||
| ifdef LAPACKE_WITH_TMG | ifdef LAPACKE_WITH_TMG | ||||
| $(ARCH) $(ARCHFLAGS) $@ $(MATGEN) | |||||
| $(AR) $(ARFLAGS) $@ $(MATGEN) | |||||
| endif | endif | ||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| @@ -186,7 +186,7 @@ OBJ = lapacke_cgb_nancheck.o \ | |||||
| all: lib | all: lib | ||||
| lib: $(OBJ) | lib: $(OBJ) | ||||
| $(ARCH) $(ARCHFLAGS) ../../$(LAPACKELIB) $^ | |||||
| $(AR) $(ARFLAGS) ../../$(LAPACKELIB) $^ | |||||
| $(RANLIB) ../../$(LAPACKELIB) | $(RANLIB) ../../$(LAPACKELIB) | ||||
| clean: cleanobj | clean: cleanobj | ||||
| @@ -553,26 +553,26 @@ endif | |||||
| all: ../$(LAPACKLIB) | all: ../$(LAPACKLIB) | ||||
| ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED) | ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED) | |||||
| $(AR) $(ARFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED) | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| single: $(SLASRC) $(DSLASRC) $(SXLASRC) $(SCLAUX) $(ALLAUX) | single: $(SLASRC) $(DSLASRC) $(SXLASRC) $(SCLAUX) $(ALLAUX) | ||||
| $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(DSLASRC) \ | |||||
| $(AR) $(ARFLAGS) ../$(LAPACKLIB) $(SLASRC) $(DSLASRC) \ | |||||
| $(SXLASRC) $(SCLAUX) $(ALLAUX) | $(SXLASRC) $(SCLAUX) $(ALLAUX) | ||||
| $(RANLIB) ../$(LAPACKLIB) | $(RANLIB) ../$(LAPACKLIB) | ||||
| complex: $(CLASRC) $(ZCLASRC) $(CXLASRC) $(SCLAUX) $(ALLAUX) | complex: $(CLASRC) $(ZCLASRC) $(CXLASRC) $(SCLAUX) $(ALLAUX) | ||||
| $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ZCLASRC) \ | |||||
| $(AR) $(ARFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ZCLASRC) \ | |||||
| $(CXLASRC) $(SCLAUX) $(ALLAUX) | $(CXLASRC) $(SCLAUX) $(ALLAUX) | ||||
| $(RANLIB) ../$(LAPACKLIB) | $(RANLIB) ../$(LAPACKLIB) | ||||
| double: $(DLASRC) $(DSLASRC) $(DXLASRC) $(DZLAUX) $(ALLAUX) | double: $(DLASRC) $(DSLASRC) $(DXLASRC) $(DZLAUX) $(ALLAUX) | ||||
| $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(DLASRC) $(DSLASRC) \ | |||||
| $(AR) $(ARFLAGS) ../$(LAPACKLIB) $(DLASRC) $(DSLASRC) \ | |||||
| $(DXLASRC) $(DZLAUX) $(ALLAUX) | $(DXLASRC) $(DZLAUX) $(ALLAUX) | ||||
| $(RANLIB) ../$(LAPACKLIB) | $(RANLIB) ../$(LAPACKLIB) | ||||
| complex16: $(ZLASRC) $(ZCLASRC) $(ZXLASRC) $(DZLAUX) $(ALLAUX) | complex16: $(ZLASRC) $(ZCLASRC) $(ZXLASRC) $(DZLAUX) $(ALLAUX) | ||||
| $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ZCLASRC) \ | |||||
| $(AR) $(ARFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ZCLASRC) \ | |||||
| $(ZXLASRC) $(DZLAUX) $(ALLAUX) | $(ZXLASRC) $(DZLAUX) $(ALLAUX) | ||||
| $(RANLIB) ../$(LAPACKLIB) | $(RANLIB) ../$(LAPACKLIB) | ||||
| @@ -33,27 +33,27 @@ QRLL = qr/LL/cgeqrf.o qr/LL/dgeqrf.o qr/LL/sgeqrf.o qr/LL/zgeqrf.o qr/LL/sceil.o | |||||
| all: cholrl.a choltop.a lucr.a lull.a lurec.a qrll.a | all: cholrl.a choltop.a lucr.a lull.a lurec.a qrll.a | ||||
| cholrl.a: $(CHOLRL) | cholrl.a: $(CHOLRL) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| choltop.a: $(CHOLTOP) | choltop.a: $(CHOLTOP) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| lucr.a: $(LUCR) | lucr.a: $(LUCR) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| lull.a: $(LULL) | lull.a: $(LULL) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| lurec.a: $(LUREC) | lurec.a: $(LUREC) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| qrll.a: $(QRLL) | qrll.a: $(QRLL) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| clean: cleanobj cleanlib | clean: cleanobj cleanlib | ||||
| @@ -58,23 +58,23 @@ ALLOBJ = $(SMATGEN) $(CMATGEN) $(SCATGEN) $(DMATGEN) $(ZMATGEN) \ | |||||
| $(DZATGEN) | $(DZATGEN) | ||||
| ../../$(TMGLIB): $(ALLOBJ) | ../../$(TMGLIB): $(ALLOBJ) | ||||
| $(ARCH) $(ARCHFLAGS) $@ $^ | |||||
| $(AR) $(ARFLAGS) $@ $^ | |||||
| $(RANLIB) $@ | $(RANLIB) $@ | ||||
| single: $(SMATGEN) $(SCATGEN) | single: $(SMATGEN) $(SCATGEN) | ||||
| $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ | |||||
| $(AR) $(ARFLAGS) ../../$(TMGLIB) $^ | |||||
| $(RANLIB) ../../$(TMGLIB) | $(RANLIB) ../../$(TMGLIB) | ||||
| complex: $(CMATGEN) $(SCATGEN) | complex: $(CMATGEN) $(SCATGEN) | ||||
| $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ | |||||
| $(AR) $(ARFLAGS) ../../$(TMGLIB) $^ | |||||
| $(RANLIB) ../../$(TMGLIB) | $(RANLIB) ../../$(TMGLIB) | ||||
| double: $(DMATGEN) $(DZATGEN) | double: $(DMATGEN) $(DZATGEN) | ||||
| $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ | |||||
| $(AR) $(ARFLAGS) ../../$(TMGLIB) $^ | |||||
| $(RANLIB) ../../$(TMGLIB) | $(RANLIB) ../../$(TMGLIB) | ||||
| complex16: $(ZMATGEN) $(DZATGEN) | complex16: $(ZMATGEN) $(DZATGEN) | ||||
| $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ | |||||
| $(AR) $(ARFLAGS) ../../$(TMGLIB) $^ | |||||
| $(RANLIB) ../../$(TMGLIB) | $(RANLIB) ../../$(TMGLIB) | ||||
| $(SCATGEN): $(FRC) | $(SCATGEN): $(FRC) | ||||
| @@ -33,8 +33,8 @@ LOADOPTS = | |||||
| # The archiver and the flag(s) to use when building an archive | # The archiver and the flag(s) to use when building an archive | ||||
| # (library). If your system has no ranlib, set RANLIB = echo. | # (library). If your system has no ranlib, set RANLIB = echo. | ||||
| # | # | ||||
| ARCH = ar | |||||
| ARCHFLAGS = cr | |||||
| AR = ar | |||||
| ARFLAGS = cr | |||||
| RANLIB = ranlib | RANLIB = ranlib | ||||
| # Timer for the SECOND and DSECND routines | # Timer for the SECOND and DSECND routines | ||||
| @@ -1,6 +1,6 @@ | |||||
| SHELL = /bin/sh | SHELL = /bin/sh | ||||
| PLAT = _LINUX | PLAT = _LINUX | ||||
| DRVOPTS = $(NOOPT) | DRVOPTS = $(NOOPT) | ||||
| #ARCHFLAGS= $(ARFLAGS) -ru | |||||
| #ARFLAGS= $(ARFLAGS) -ru | |||||
| #RANLIB = ranlib | #RANLIB = ranlib | ||||