Make sure to use the arm version of dynamic.c in ARM64 DYNAMIC_ARCH
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Fri, 7 Dec 2018 15:25:55 +0000 (16:25 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Dec 2018 15:25:55 +0000 (16:25 +0100)
cf. #1908

driver/others/CMakeLists.txt

index e20b14e..f7cce4d 100644 (file)
@@ -47,7 +47,11 @@ GenerateNamedObjects("abs.c" "DOUBLE" "z_abs" 0 "" "" 1)
 GenerateNamedObjects("openblas_get_config.c;openblas_get_parallel.c" "" "" 0 "" "" 1)
 
 if (DYNAMIC_ARCH)
-  list(APPEND COMMON_SOURCES dynamic.c)
+  if (ARM64)
+    list(APPEND COMMON_SOURcES dynamic_arm64.c)
+  else ()  
+    list(APPEND COMMON_SOURCES dynamic.c)
+  endif ()  
 else ()
   list(APPEND COMMON_SOURCES parameter.c)
 endif ()