From 2f3ed72f065473af365418a27162d6700a4f8e43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 13 Mar 2019 16:19:44 +0900 Subject: [PATCH] Set the default value of BUILD_PURE_ARM_COMPUTE (#4710) Now, the default value of BUILD_PURE_ARM_COMPUTE is decided according to the target architecture. Signed-off-by: Jonghyun Park --- cmake/CfgOptionFlags.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/CfgOptionFlags.cmake b/cmake/CfgOptionFlags.cmake index 5821dca..cbdd332 100644 --- a/cmake/CfgOptionFlags.cmake +++ b/cmake/CfgOptionFlags.cmake @@ -4,7 +4,12 @@ include(CMakeDependentOption) # Configuration flags # option(BUILD_EXT_MULTITHREAD "Build external build using multi thread" ON) -option(BUILD_PURE_ARM_COMPUTE "Build pure_arm_compute runtime" ON) +CMAKE_DEPENDENT_OPTION(BUILD_PURE_ARM_COMPUTE "Build pure_arm_compute runtime" + # Enable PURE ARMCompute runtime build if the target architecture is ARM + # + # TODO Enable build if ARMCompute library is available + ON "${TARGET_ARCH_BASE} STREQUAL arm" + OFF) option(BUILD_NEURUN "Build neurun" OFF) #if implementation is done, it would replace nn runtime. option(BUILD_LOGGING "Build logging runtime" ON) CMAKE_DEPENDENT_OPTION(BUILD_RUNTIME_NNAPI_TEST "Build Runtime NN API Generated Test" -- 2.7.4