File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -121,11 +121,14 @@ message(STATUS "Printing is NOT ${NO_PRINTING}")
121
121
option (NO_READ_WRITE "Disables all read/write functionality" OFF )
122
122
message (STATUS "Read/write functionality is NOT ${NO_READ_WRITE} " )
123
123
124
+ option (USE_LAPACK "Whether to use BLAS/LAPACK" ON )
125
+ message (STATUS "BLAS/LAPACK usage is ${USE_LAPACK} " )
126
+
124
127
# Enable OpenMP support
125
128
option (USE_OPENMP "Compile with OpenMP support" OFF )
126
129
message (STATUS "OpenMP parallelization is ${USE_OPENMP} " )
127
130
128
- set (COMPILER_OPTS "-DUSE_LAPACK - DCTRLC" )
131
+ set (COMPILER_OPTS "-DCTRLC" )
129
132
130
133
# Primitive types
131
134
if (SFLOAT)
@@ -150,6 +153,10 @@ if(NO_READ_WRITE)
150
153
set (COMPILER_OPTS "-DNO_READ_WRITE=1 ${COMPILER_OPTS} " )
151
154
endif ()
152
155
156
+ if (USE_LAPACK)
157
+ set (COMPILER_OPTS "-DUSE_LAPACK ${COMPILER_OPTS} " )
158
+ endif ()
159
+
153
160
if (USE_OPENMP)
154
161
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp" )
155
162
endif ()
You can’t perform that action at this time.
0 commit comments