Skip to content

Commit 785c389

Browse files
authored
Merge pull request #2420 from martin-frbg/issue2396
Correct generation of GETRF files by the CMAKE build
2 parents 221da8b + c222b25 commit 785c389

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lapack/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ include_directories(${PROJECT_BINARY_DIR})
44

55

66
set(LAPACK_SOURCES
7-
getrf/getrf_single.c
87
potrf/potrf_U_single.c
98
potrf/potrf_L_single.c
109
lauum/lauum_U_single.c
@@ -45,6 +44,10 @@ GenerateNamedObjects("${LAPACK_MANGLED_SOURCES}" "" "" false "" "" false 3)
4544
GenerateNamedObjects("laswp/generic/laswp_k_4.c" "" "laswp_plus" false "" "" false 3)
4645
GenerateNamedObjects("laswp/generic/laswp_k_4.c" "MINUS" "laswp_minus" false "" "" false 3)
4746

47+
foreach (float_type ${FLOAT_TYPES})
48+
GenerateNamedObjects("getrf/getrf_single.c" "UNIT" "getrf_single" false "" "" false ${float_type})
49+
endforeach ()
50+
4851
# dynamic_arch laswp needs arch specific code ?
4952
#foreach(TARGET_CORE ${DYNAMIC_CORE})
5053
# set(TSUFFIX "_${TARGET_CORE}")
@@ -81,7 +84,7 @@ if (USE_THREAD)
8184
)
8285

8386
foreach (float_type ${FLOAT_TYPES})
84-
GenerateNamedObjects("${GETRF_SRC}" "" "getrf_parallel" false "" "" false ${float_type})
87+
GenerateNamedObjects("${GETRF_SRC}" "UNIT" "getrf_parallel" false "" "" false ${float_type})
8588
endforeach()
8689

8790
GenerateNamedObjects("${PARALLEL_SOURCES}")

0 commit comments

Comments
 (0)