Restore matgen

This commit is contained in:
Isuru Fernando 2017-11-05 18:41:31 -06:00
parent 914a57145d
commit 91492e3535
2 changed files with 25 additions and 5 deletions

View File

@ -364,21 +364,41 @@ set(ZLASRC
zlarfy.f zlarfy.f
) )
set(SCATGEN slatm1.f slaran.f slarnd.f)
set(SMATGEN slatms.f slatme.f slatmr.f slatmt.f
slagge.f slagsy.f slakf2.f slarge.f slaror.f slarot.f slatm2.f
slatm3.f slatm5.f slatm6.f slatm7.f slahilb.f)
set(CMATGEN clatms.f clatme.f clatmr.f clatmt.f
clagge.f claghe.f clagsy.f clakf2.f clarge.f claror.f clarot.f
clatm1.f clarnd.f clatm2.f clatm3.f clatm5.f clatm6.f clahilb.f slatm7.f)
set(DZATGEN dlatm1.f dlaran.f dlarnd.f)
set(DMATGEN dlatms.f dlatme.f dlatmr.f dlatmt.f
dlagge.f dlagsy.f dlakf2.f dlarge.f dlaror.f dlarot.f dlatm2.f
dlatm3.f dlatm5.f dlatm6.f dlatm7.f dlahilb.f)
set(ZMATGEN zlatms.f zlatme.f zlatmr.f zlatmt.f
zlagge.f zlaghe.f zlagsy.f zlakf2.f zlarge.f zlaror.f zlarot.f
zlatm1.f zlarnd.f zlatm2.f zlatm3.f zlatm5.f zlatm6.f zlahilb.f dlatm7.f)
set(LA_REL_SRC ${ALLAUX}) set(LA_REL_SRC ${ALLAUX})
if (BUILD_SINGLE) if (BUILD_SINGLE)
list(APPEND LA_REL_SRC ${SLASRC} ${DSLASRC} ${SCLAUX}) list(APPEND LA_REL_SRC ${SLASRC} ${DSLASRC} ${SCLAUX} ${SCATGEN} ${SMATGEN})
endif () endif ()
if (BUILD_DOUBLE) if (BUILD_DOUBLE)
list(APPEND LA_REL_SRC ${DLASRC} ${DSLASRC} ${DZLAUX}) list(APPEND LA_REL_SRC ${DLASRC} ${DSLASRC} ${DZLAUX} ${DMATGEN} ${DZATGEN})
endif () endif ()
if (BUILD_COMPLEX) if (BUILD_COMPLEX)
list(APPEND LA_REL_SRC ${CLASRC} ${ZCLASRC} ${SCLAUX}) list(APPEND LA_REL_SRC ${CLASRC} ${ZCLASRC} ${SCLAUX} ${CMATGEN} ${SCATGEN})
endif () endif ()
if (BUILD_COMPLEX16) if (BUILD_COMPLEX16)
list(APPEND LA_REL_SRC ${ZLASRC} ${ZCLASRC} ${DZLAUX}) list(APPEND LA_REL_SRC ${ZLASRC} ${ZCLASRC} ${DZLAUX} ${ZMATGEN} ${DZATGEN})
endif () endif ()
# add lapack-netlib folder to the sources # add lapack-netlib folder to the sources

View File

@ -2387,7 +2387,7 @@ if (BUILD_COMPLEX16)
endif () endif ()
# add lapack-netlib folder to the sources # add lapack-netlib folder to the sources
set(LAPACKE_SOURCES "") set(LAPACKE_SOURCES "${MATGEN}")
foreach (LAE_FILE ${LAPACKE_REL_SRC}) foreach (LAE_FILE ${LAPACKE_REL_SRC})
list(APPEND LAPACKE_SOURCES "${NETLIB_LAPACK_DIR}/LAPACKE/src/${LAE_FILE}") list(APPEND LAPACKE_SOURCES "${NETLIB_LAPACK_DIR}/LAPACKE/src/${LAE_FILE}")
endforeach () endforeach ()