Skip to content

Commit 2b35559

Browse files
authored
Make sure to use the arm version of dynamic.c in ARM64 DYNAMIC_ARCH
cf. #1908
1 parent ff3eb1d commit 2b35559

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

driver/others/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ GenerateNamedObjects("abs.c" "DOUBLE" "z_abs" 0 "" "" 1)
4747
GenerateNamedObjects("openblas_get_config.c;openblas_get_parallel.c" "" "" 0 "" "" 1)
4848

4949
if (DYNAMIC_ARCH)
50-
list(APPEND COMMON_SOURCES dynamic.c)
50+
if (ARM64)
51+
list(APPEND COMMON_SOURcES dynamic_arm64.c)
52+
else ()
53+
list(APPEND COMMON_SOURCES dynamic.c)
54+
endif ()
5155
else ()
5256
list(APPEND COMMON_SOURCES parameter.c)
5357
endif ()

0 commit comments

Comments
 (0)