File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ option(BUILD_WITHOUT_LAPACK "Without LAPACK and LAPACKE (Only BLAS or CBLAS)" ON
24
24
endif ()
25
25
option (BUILD_WITHOUT_CBLAS "Without CBLAS" OFF )
26
26
option (DYNAMIC_ARCH "Build with DYNAMIC_ARCH" OFF )
27
+ option (BUILD_RELAPACK "Build with ReLAPACK (recursive LAPACK" OFF )
27
28
#######
28
29
if (BUILD_WITHOUT_LAPACK )
29
30
set (NO_LAPACK 1 )
@@ -55,6 +56,9 @@ endif ()
55
56
set (SUBDIRS ${BLASDIRS} )
56
57
if (NOT NO_LAPACK )
57
58
list (APPEND SUBDIRS lapack )
59
+ if (BUILD_RELAPACK )
60
+ list (APPEND SUBDIRS relapack/src )
61
+ endif ()
58
62
endif ()
59
63
60
64
# set which float types we want to build for
@@ -141,7 +145,7 @@ endif()
141
145
142
146
143
147
# add objects to the openblas lib
144
- add_library (${OpenBLAS_LIBNAME} ${LA_SOURCES} ${LAPACKE_SOURCES} ${TARGET_OBJS} ${OpenBLAS_DEF_FILE} )
148
+ add_library (${OpenBLAS_LIBNAME} ${LA_SOURCES} ${LAPACKE_SOURCES} ${RELA_SOURCES} ${ TARGET_OBJS} ${OpenBLAS_DEF_FILE} )
145
149
146
150
# Handle MSVC exports
147
151
if (MSVC AND BUILD_SHARED_LIBS )
You can’t perform that action at this time.
0 commit comments