| @@ -20,6 +20,8 @@ include(CMakePackageConfigHelpers) | |||||
| ####### | ####### | ||||
| option(BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" OFF) | option(BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" OFF) | ||||
| option(BUILD_LAPACK_DEPRECATED "When building LAPACK, include also some older, deprecated routines" ON) | |||||
| option(BUILD_TESTING "Build LAPACK testsuite when building LAPACK" ON) | option(BUILD_TESTING "Build LAPACK testsuite when building LAPACK" ON) | ||||
| option(C_LAPACK "Build LAPACK from C sources instead of the original Fortran" OFF) | option(C_LAPACK "Build LAPACK from C sources instead of the original Fortran" OFF) | ||||
| @@ -398,12 +400,12 @@ if (BUILD_SHARED_LIBS AND NOT ${SYMBOLPREFIX}${SYMBOLSUFFIX} STREQUAL "") | |||||
| message(STATUS "adding suffix ${SYMBOLSUFFIX} to names of exported symbols in ${OpenBLAS_LIBNAME}") | message(STATUS "adding suffix ${SYMBOLSUFFIX} to names of exported symbols in ${OpenBLAS_LIBNAME}") | ||||
| endif() | endif() | ||||
| if (${BUILD_LAPACK_DEPRECATED}) | |||||
| if (${BUILD_LAPACK_DEPRECATED}) | |||||
| set (BLD 1) | set (BLD 1) | ||||
| else () | else () | ||||
| set (BLD 0) | set (BLD 0) | ||||
| endif() | endif() | ||||
| if (${BUILD_BFLOAT16}) | |||||
| if (${BUILD_BFLOAT16}) | |||||
| set (BBF16 1) | set (BBF16 1) | ||||
| else () | else () | ||||
| set (BBF16 0) | set (BBF16 0) | ||||