diff options
author | julie <julielangou@users.noreply.github.com> | 2010-07-07 16:16:15 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2010-07-07 16:16:15 +0000 |
commit | c405a5867363d138b0ceeea57a317bf5b1c7bc2b (patch) | |
tree | 92896a202b2699af6ac153b24693bc17841c8fa6 /SRC | |
parent | 075253023292256e67adc407ddafcc9e75ef4222 (diff) | |
download | lapack-c405a5867363d138b0ceeea57a317bf5b1c7bc2b.tar.gz lapack-c405a5867363d138b0ceeea57a317bf5b1c7bc2b.tar.bz2 lapack-c405a5867363d138b0ceeea57a317bf5b1c7bc2b.zip |
Add static/dynamic library, package support and rearrange source files
Diffstat (limited to 'SRC')
-rw-r--r-- | SRC/CMakeLists.txt | 20 | ||||
-rw-r--r-- | SRC/Makefile | 26 |
2 files changed, 27 insertions, 19 deletions
diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt index 290c5d67..cc2c8748 100644 --- a/SRC/CMakeLists.txt +++ b/SRC/CMakeLists.txt @@ -48,7 +48,8 @@ set(ALLAUX ilaenv.f ieeeck.f lsamen.f iparmq.f ilaprec.f ilatrans.f ilauplo.f iladiag.f chla_transtype.f - ../INSTALL/ilaver.f ../INSTALL/lsame.f xerbla.f xerbla_array.f) + ../INSTALL/ilaver.f ../INSTALL/lsame.f xerbla.f xerbla_array.f + ../INSTALL/slamch.f) set(ALLXAUX ) @@ -67,7 +68,7 @@ set(SCLAUX slaset.f slasq1.f slasq2.f slasq3.f slasq4.f slasq5.f slasq6.f slasr.f slasrt.f slassq.f slasv2.f spttrf.f sstebz.f sstedc.f ssteqr.f ssterf.f slaisnan.f sisnan.f - ../INSTALL/slamch.f ${SECOND_SRC}) + ${SECOND_SRC}) set(DZLAUX dbdsdc.f @@ -140,6 +141,8 @@ set(SLASRC sgejsv.f sgesvj.f sgsvj0.f sgsvj1.f sgeequb.f ssyequb.f spoequb.f sgbequb.f) +set(DSLASRC spotrs.f sgetrs.f spotrf.f sgetrf.f) + set(SXLASRC sgesvxx.f sgerfsx.f sla_gerfsx_extended.f sla_geamv.f sla_gercond.f sla_rpvgrw.f ssysvxx.f ssyrfsx.f sla_syrfsx_extended.f sla_syamv.f sla_syrcond.f sla_syrpvgrw.f @@ -218,6 +221,8 @@ set(CXLASRC cgesvxx.f cgerfsx.f cla_gerfsx_extended.f cla_geamv.f cla_hercond_c.f cla_hercond_x.f cla_herpvgrw.f cla_lin_berr.f clarscl2.f clascl2.f cla_wwaddw.f) +set(ZCLASRC cpotrs.f cgetrs.f cpotrf.f cgetrf.f) + set(DLASRC dgbbrd.f dgbcon.f dgbequ.f dgbrfs.f dgbsv.f dgbsvx.f dgbtf2.f dgbtrf.f dgbtrs.f dgebak.f dgebal.f dgebd2.f @@ -360,20 +365,19 @@ if( USEXBLAS) set(ALLXOBJ ${SXLASRC} ${DXLASRC} ${CXLASRC} ${ZXLASRC} ${ALLXAUX}) endif() -set(ALLOBJ ${SLASRC} ${DLASRC} ${CLASRC} ${ZLASRC} ${SCLAUX} ${DZLAUX} +set(ALLOBJ ${SLASRC} ${DSLASRC} ${DLASRC} ${CLASRC} ${ZCLASRC} ${ZLASRC} ${SCLAUX} ${DZLAUX} ${ALLAUX}) if(BUILD_SINGLE) -set(ALLOBJ ${SLASRC} ${ALLAUX} - ${SCLAUX}) +set(ALLOBJ ${SLASRC} ${ALLAUX} ${SCLAUX} ${DSLASRC} ) endif() if(BUILD_DOUBLE) - set(ALLOBJ ${DLASRC} ${ALLAUX} ${DZLAUX}) + set(ALLOBJ ${DLASRC} ${ALLAUX} ${DZLAUX} ${DSLASRC}) endif() if(BUILD_COMPLEX) - set(ALLOBJ ${CLASRC} ${ALLAUX} ${SCLAUX}) + set(ALLOBJ ${CLASRC} ${ALLAUX} ${SCLAUX} ${ZCLASRC} ) endif() if(BUILD_COMPLEX16) - set(ALLOBJ ${ZLASRC} ${ALLAUX} ${DZLAUX}) + set(ALLOBJ ${ZLASRC} ${ALLAUX} ${DZLAUX} ${ZCLASRC}) endif() add_library(lapack ${ALLOBJ} ${ALLXOBJ}) target_link_libraries(lapack blas) diff --git a/SRC/Makefile b/SRC/Makefile index 011cbd6e..2cf9323b 100644 --- a/SRC/Makefile +++ b/SRC/Makefile @@ -50,7 +50,7 @@ include ../make.inc ALLAUX = ilaenv.o ieeeck.o lsamen.o xerbla.o xerbla_array.o iparmq.o \ ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \ - ../INSTALL/ilaver.o ../INSTALL/lsame.o + ../INSTALL/ilaver.o ../INSTALL/lsame.o ../INSTALL/slamch.o ALLXAUX = @@ -69,7 +69,7 @@ SCLAUX = \ slaset.o slasq1.o slasq2.o slasq3.o slasq4.o slasq5.o slasq6.o \ slasr.o slasrt.o slassq.o slasv2.o spttrf.o sstebz.o sstedc.o \ ssteqr.o ssterf.o slaisnan.o sisnan.o \ - ../INSTALL/slamch.o ../INSTALL/second_$(TIMER).o + ../INSTALL/second_$(TIMER).o DZLAUX = \ dbdsdc.o \ @@ -96,8 +96,8 @@ SLASRC = \ 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 sgetrf.o sgetri.o \ - sgetrs.o sggbak.o sggbal.o sgges.o sggesx.o sggev.o sggevx.o \ + sgetc2.o sgetf2.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 \ sgtsvx.o sgttrf.o sgttrs.o sgtts2.o shgeqz.o \ @@ -121,7 +121,7 @@ SLASRC = \ 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 spotrf.o spotri.o spotrs.o spstrf.o spstf2.o \ + sposvx.o spotf2.o spotrf.o spotri.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 \ @@ -142,6 +142,8 @@ SLASRC = \ sgejsv.o sgesvj.o sgsvj0.o sgsvj1.o \ sgeequb.o ssyequb.o spoequb.o sgbequb.o +DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o + SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o \ sla_gercond.o sla_rpvgrw.o ssysvxx.o ssyrfsx.o \ sla_syrfsx_extended.o sla_syamv.o sla_syrcond.o sla_syrpvgrw.o \ @@ -220,6 +222,8 @@ CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \ cla_hercond_c.o cla_hercond_x.o cla_herpvgrw.o \ cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o +ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o + DLASRC = \ dgbbrd.o dgbcon.o dgbequ.o dgbrfs.o dgbsv.o \ dgbsvx.o dgbtf2.o dgbtrf.o dgbtrs.o dgebak.o dgebal.o dgebd2.o \ @@ -363,8 +367,8 @@ ifdef USEXBLAS ALLXOBJ=$(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC) $(ALLXAUX) endif -ALLOBJ=$(SLASRC) $(DLASRC) $(CLASRC) $(ZLASRC) $(SCLAUX) $(DZLAUX) \ - $(ALLAUX) +ALLOBJ=$(SLASRC) $(DLASRC) $(DSLASRC) $(CLASRC) $(ZLASRC) $(ZCLASRC) \ + $(SCLAUX) $(DZLAUX) $(ALLAUX) ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ) $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) @@ -372,22 +376,22 @@ ALLOBJ=$(SLASRC) $(DLASRC) $(CLASRC) $(ZLASRC) $(SCLAUX) $(DZLAUX) \ single: $(SLASRC) $(ALLAUX) $(SCLAUX) $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(ALLAUX) \ - $(SCLAUX) + $(SCLAUX) $(DSLASRC) $(RANLIB) ../$(LAPACKLIB) complex: $(CLASRC) $(ALLAUX) $(SCLAUX) $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ALLAUX) \ - $(SCLAUX) + $(SCLAUX) $(ZCLASRC) $(RANLIB) ../$(LAPACKLIB) double: $(DLASRC) $(ALLAUX) $(DZLAUX) $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(DLASRC) $(ALLAUX) \ - $(DZLAUX) + $(DZLAUX) $(DSLASRC) $(RANLIB) ../$(LAPACKLIB) complex16: $(ZLASRC) $(ALLAUX) $(DZLAUX) $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ALLAUX) \ - $(DZLAUX) + $(DZLAUX) $(ZCLASRC) $(RANLIB) ../$(LAPACKLIB) $(ALLAUX): $(FRC) |