Skip to content

Commit aa2a2d9

Browse files
authored
Conditionally compile files that may get replaced by ReLAPACK
1 parent 1b77764 commit aa2a2d9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lapack/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ set(UNIT_SOURCES2
3939
trti2/trti2_L.c
4040
)
4141

42+
if (NOT RELAPACK_REPLACE)
4243
GenerateNamedObjects("${LAPACK_SOURCES}")
4344
GenerateNamedObjects("${LAPACK_MANGLED_SOURCES}" "" "" false "" "" false 3)
45+
else()
46+
GenerateNamedObjects("${LAPACK_MANGLED_SOURCES}" "" "" false "" "" false 3)
47+
endif()
4448

4549
GenerateNamedObjects("laswp/generic/laswp_k_4.c" "" "laswp_plus" false "" "" false 3)
4650
GenerateNamedObjects("laswp/generic/laswp_k_4.c" "MINUS" "laswp_minus" false "" "" false 3)
@@ -113,4 +117,3 @@ GenerateCombinationObjects("${UNIT_SOURCES}" "UNIT" "N" "" 4)
113117
GenerateCombinationObjects("${UNIT_SOURCES2}" "UNIT" "N" "" 0 "" "" 3)
114118

115119
add_library(lapack OBJECT ${OPENBLAS_SRC})
116-

0 commit comments

Comments
 (0)