From 33fb2d6b4fb9e8ab317560733d65c848ff1b3fdf Mon Sep 17 00:00:00 2001 From: Liu Yiqun Date: Mon, 8 May 2017 04:05:58 +0000 Subject: [PATCH] Add some annotations to different OpenBLAS versions. --- cmake/external/openblas.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/external/openblas.cmake b/cmake/external/openblas.cmake index 97b6768dec..9d3428cc5b 100644 --- a/cmake/external/openblas.cmake +++ b/cmake/external/openblas.cmake @@ -27,9 +27,12 @@ IF(NOT ${CBLAS_FOUND}) SET(COMMON_ARGS CC=${CMAKE_C_COMPILER} NO_LAPACK=1 NO_SHARED=1) IF(ANDROID) + # arm_soft_fp_abi branch of OpenBLAS to support softfp + # https://github.com/xianyi/OpenBLAS/tree/arm_soft_fp_abi SET(OPENBLAS_COMMIT "b5c96fcfcdc82945502a2303116a64d89985daf5") SET(OPTIONAL_ARGS HOSTCC=${HOST_C_COMPILER} TARGET=ARMV7 ARM_SOFTFP_ABI=1 USE_THREAD=0 libs) ELSEIF(RPI) + # use hardfp SET(OPENBLAS_COMMIT "v0.2.19") SET(OPTIONAL_ARGS HOSTCC=${HOST_C_COMPILER} TARGET=ARMV7 USE_THREAD=0 libs) ELSE() -- GitLab