Revert "replace ARCH with AR in lapack-netlib"
This reverts commit db17ce896f
.
This commit is contained in:
parent
db17ce896f
commit
0b7ccb9e38
4
Makefile
4
Makefile
|
@ -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 "AR = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc
|
-@echo "ARCH = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc
|
||||||
-@echo "ARFLAGS = $(ARFLAGS) -ru" >> $(NETLIB_LAPACK_DIR)/make.inc
|
-@echo "ARCHFLAGS = $(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
|
||||||
|
|
4
c_check
4
c_check
|
@ -121,10 +121,6 @@ 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)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
single: $(SBLAS1) $(ALLBLAS) $(SBLAS2) $(SBLAS3)
|
single: $(SBLAS1) $(ALLBLAS) $(SBLAS2) $(SBLAS3)
|
||||||
$(AR) $(ARFLAGS) $(BLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(BLASLIB) $^
|
||||||
$(RANLIB) $(BLASLIB)
|
$(RANLIB) $(BLASLIB)
|
||||||
|
|
||||||
double: $(DBLAS1) $(ALLBLAS) $(DBLAS2) $(DBLAS3)
|
double: $(DBLAS1) $(ALLBLAS) $(DBLAS2) $(DBLAS3)
|
||||||
$(AR) $(ARFLAGS) $(BLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(BLASLIB) $^
|
||||||
$(RANLIB) $(BLASLIB)
|
$(RANLIB) $(BLASLIB)
|
||||||
|
|
||||||
complex: $(CBLAS1) $(CB1AUX) $(ALLBLAS) $(CBLAS2) $(CBLAS3)
|
complex: $(CBLAS1) $(CB1AUX) $(ALLBLAS) $(CBLAS2) $(CBLAS3)
|
||||||
$(AR) $(ARFLAGS) $(BLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(BLASLIB) $^
|
||||||
$(RANLIB) $(BLASLIB)
|
$(RANLIB) $(BLASLIB)
|
||||||
|
|
||||||
complex16: $(ZBLAS1) $(ZB1AUX) $(ALLBLAS) $(ZBLAS2) $(ZBLAS3)
|
complex16: $(ZBLAS1) $(ZB1AUX) $(ALLBLAS) $(ZBLAS2) $(ZBLAS3)
|
||||||
$(AR) $(ARFLAGS) $(BLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(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)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Double precision real
|
# Double precision real
|
||||||
dlib1: $(dlev1)
|
dlib1: $(dlev1)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Single precision complex
|
# Single precision complex
|
||||||
clib1: $(clev1) $(sclev1)
|
clib1: $(clev1) $(sclev1)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Double precision complex
|
# Double precision complex
|
||||||
zlib1: $(zlev1)
|
zlib1: $(zlev1)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(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)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Double precision real
|
# Double precision real
|
||||||
dlib2: $(dlev2) $(errhand)
|
dlib2: $(dlev2) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Single precision complex
|
# Single precision complex
|
||||||
clib2: $(clev2) $(errhand)
|
clib2: $(clev2) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Double precision complex
|
# Double precision complex
|
||||||
zlib2: $(zlev2) $(errhand)
|
zlib2: $(zlev2) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(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)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Double precision real
|
# Double precision real
|
||||||
dlib3: $(dlev3) $(errhand)
|
dlib3: $(dlev3) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Single precision complex
|
# Single precision complex
|
||||||
clib3: $(clev3) $(errhand)
|
clib3: $(clev3) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# Double precision complex
|
# Double precision complex
|
||||||
zlib3: $(zlev3) $(errhand)
|
zlib3: $(zlev3) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
|
|
||||||
|
@ -168,22 +168,22 @@ alev3 = $(slev3) $(dlev3) $(clev3) $(zlev3)
|
||||||
|
|
||||||
# All level 1
|
# All level 1
|
||||||
all1: $(alev1)
|
all1: $(alev1)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# All level 2
|
# All level 2
|
||||||
all2: $(alev2) $(errhand)
|
all2: $(alev2) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# All level 3
|
# All level 3
|
||||||
all3: $(alev3) $(errhand)
|
all3: $(alev3) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $(CBLASLIB) $^
|
$(ARCH) $(ARCHFLAGS) $(CBLASLIB) $^
|
||||||
$(RANLIB) $(CBLASLIB)
|
$(RANLIB) $(CBLASLIB)
|
||||||
|
|
||||||
# All levels and precisions
|
# All levels and precisions
|
||||||
$(CBLASLIB): $(alev1) $(alev2) $(alev3) $(errhand)
|
$(CBLASLIB): $(alev1) $(alev2) $(alev3) $(errhand)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(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{AR}, \texttt{ARFLAGS}, and \texttt{RANLIB} to specify archiver,
|
Next, you will need to modify \texttt{ARCH}, \texttt{ARCHFLAGS}, 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = 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)
|
||||||
$(AR) $(ARFLAGS) $@ $(OBJ_A)
|
$(ARCH) $(ARCHFLAGS) $@ $(OBJ_A)
|
||||||
$(AR) $(ARFLAGS) $@ $(OBJ_B)
|
$(ARCH) $(ARCHFLAGS) $@ $(OBJ_B)
|
||||||
ifdef BUILD_DEPRECATED
|
ifdef BUILD_DEPRECATED
|
||||||
$(AR) $(ARFLAGS) $@ $(DEPRECATED)
|
$(ARCH) $(ARCHFLAGS) $@ $(DEPRECATED)
|
||||||
endif
|
endif
|
||||||
ifdef (USEXBLAS)
|
ifdef (USEXBLAS)
|
||||||
$(AR) $(ARFLAGS) $@ $(EXTENDED)
|
$(ARCH) $(ARCHFLAGS) $@ $(EXTENDED)
|
||||||
endif
|
endif
|
||||||
ifdef LAPACKE_WITH_TMG
|
ifdef LAPACKE_WITH_TMG
|
||||||
$(AR) $(ARFLAGS) $@ $(MATGEN)
|
$(ARCH) $(ARCHFLAGS) $@ $(MATGEN)
|
||||||
endif
|
endif
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ OBJ = lapacke_cgb_nancheck.o \
|
||||||
all: lib
|
all: lib
|
||||||
|
|
||||||
lib: $(OBJ)
|
lib: $(OBJ)
|
||||||
$(AR) $(ARFLAGS) ../../$(LAPACKELIB) $^
|
$(ARCH) $(ARCHFLAGS) ../../$(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)
|
||||||
$(AR) $(ARFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
|
$(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
single: $(SLASRC) $(DSLASRC) $(SXLASRC) $(SCLAUX) $(ALLAUX)
|
single: $(SLASRC) $(DSLASRC) $(SXLASRC) $(SCLAUX) $(ALLAUX)
|
||||||
$(AR) $(ARFLAGS) ../$(LAPACKLIB) $(SLASRC) $(DSLASRC) \
|
$(ARCH) $(ARCHFLAGS) ../$(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)
|
||||||
$(AR) $(ARFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ZCLASRC) \
|
$(ARCH) $(ARCHFLAGS) ../$(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)
|
||||||
$(AR) $(ARFLAGS) ../$(LAPACKLIB) $(DLASRC) $(DSLASRC) \
|
$(ARCH) $(ARCHFLAGS) ../$(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)
|
||||||
$(AR) $(ARFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ZCLASRC) \
|
$(ARCH) $(ARCHFLAGS) ../$(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)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
choltop.a: $(CHOLTOP)
|
choltop.a: $(CHOLTOP)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
lucr.a: $(LUCR)
|
lucr.a: $(LUCR)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
lull.a: $(LULL)
|
lull.a: $(LULL)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
lurec.a: $(LUREC)
|
lurec.a: $(LUREC)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
qrll.a: $(QRLL)
|
qrll.a: $(QRLL)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
clean: cleanobj cleanlib
|
clean: cleanobj cleanlib
|
||||||
|
|
|
@ -58,23 +58,23 @@ ALLOBJ = $(SMATGEN) $(CMATGEN) $(SCATGEN) $(DMATGEN) $(ZMATGEN) \
|
||||||
$(DZATGEN)
|
$(DZATGEN)
|
||||||
|
|
||||||
../../$(TMGLIB): $(ALLOBJ)
|
../../$(TMGLIB): $(ALLOBJ)
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(ARCH) $(ARCHFLAGS) $@ $^
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
single: $(SMATGEN) $(SCATGEN)
|
single: $(SMATGEN) $(SCATGEN)
|
||||||
$(AR) $(ARFLAGS) ../../$(TMGLIB) $^
|
$(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^
|
||||||
$(RANLIB) ../../$(TMGLIB)
|
$(RANLIB) ../../$(TMGLIB)
|
||||||
|
|
||||||
complex: $(CMATGEN) $(SCATGEN)
|
complex: $(CMATGEN) $(SCATGEN)
|
||||||
$(AR) $(ARFLAGS) ../../$(TMGLIB) $^
|
$(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^
|
||||||
$(RANLIB) ../../$(TMGLIB)
|
$(RANLIB) ../../$(TMGLIB)
|
||||||
|
|
||||||
double: $(DMATGEN) $(DZATGEN)
|
double: $(DMATGEN) $(DZATGEN)
|
||||||
$(AR) $(ARFLAGS) ../../$(TMGLIB) $^
|
$(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^
|
||||||
$(RANLIB) ../../$(TMGLIB)
|
$(RANLIB) ../../$(TMGLIB)
|
||||||
|
|
||||||
complex16: $(ZMATGEN) $(DZATGEN)
|
complex16: $(ZMATGEN) $(DZATGEN)
|
||||||
$(AR) $(ARFLAGS) ../../$(TMGLIB) $^
|
$(ARCH) $(ARCHFLAGS) ../../$(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.
|
||||||
#
|
#
|
||||||
AR = ar
|
ARCH = ar
|
||||||
ARFLAGS = cr
|
ARCHFLAGS = cr
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
# Timer for the SECOND and DSECND routines
|
# Timer for the SECOND and DSECND routines
|
||||||
|
|
Loading…
Reference in New Issue