From 008b0bb67359ad5ae058f67a10c306e9abdbfd1e Mon Sep 17 00:00:00 2001 From: wuyi05 Date: Wed, 31 May 2017 12:51:58 +0800 Subject: [PATCH] fix openblas build --- cmake/external/openblas.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/external/openblas.cmake b/cmake/external/openblas.cmake index b6bd24fe8ae..bf234320a0d 100644 --- a/cmake/external/openblas.cmake +++ b/cmake/external/openblas.cmake @@ -37,7 +37,7 @@ IF(NOT ${CBLAS_FOUND}) SET(OPTIONAL_ARGS HOSTCC=${HOST_C_COMPILER} TARGET=ARMV7 USE_THREAD=0 libs) ELSE() SET(OPENBLAS_COMMIT "v0.2.19") - SET(OPENBLAS_ARGS DYNAMIC_ARCH=1 libs) + SET(OPTIONAL_ARGS DYNAMIC_ARCH=1 libs NUM_THREADS=64) ENDIF() ExternalProject_Add( -- GitLab