Fix all conditionals that still use the risky "DEFINED"
This commit is contained in:
parent
c05da5960d
commit
3e2f1a6d83
|
@ -64,11 +64,11 @@ set(BLAS3_MANGLED_SOURCES
|
||||||
# generate the BLAS objs once with and once without cblas
|
# generate the BLAS objs once with and once without cblas
|
||||||
set (CBLAS_FLAGS "")
|
set (CBLAS_FLAGS "")
|
||||||
|
|
||||||
if (NOT DEFINED NO_FBLAS)
|
if (NOT NO_FBLAS)
|
||||||
list(APPEND CBLAS_FLAGS 0)
|
list(APPEND CBLAS_FLAGS 0)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT DEFINED NO_CBLAS)
|
if (NOT NO_CBLAS)
|
||||||
list(APPEND CBLAS_FLAGS 1)
|
list(APPEND CBLAS_FLAGS 1)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ endforeach ()
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
#Special functions for CBLAS
|
#Special functions for CBLAS
|
||||||
if (NOT DEFINED NO_CBLAS)
|
if (NOT NO_CBLAS)
|
||||||
foreach (float_type ${FLOAT_TYPES})
|
foreach (float_type ${FLOAT_TYPES})
|
||||||
if (${float_type} STREQUAL "COMPLEX" OR ${float_type} STREQUAL "ZCOMPLEX")
|
if (${float_type} STREQUAL "COMPLEX" OR ${float_type} STREQUAL "ZCOMPLEX")
|
||||||
#cblas_dotc_sub cblas_dotu_sub
|
#cblas_dotc_sub cblas_dotu_sub
|
||||||
|
@ -176,7 +176,7 @@ if (NOT DEFINED NO_CBLAS)
|
||||||
endforeach ()
|
endforeach ()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT DEFINED NO_LAPACK)
|
if (NOT NO_LAPACK)
|
||||||
set(LAPACK_SOURCES
|
set(LAPACK_SOURCES
|
||||||
lapack/gesv.c
|
lapack/gesv.c
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue