From 96cdd8d2161105fa3dbff32b18c1146a4c3b2f5e Mon Sep 17 00:00:00 2001 From: tqchen Date: Thu, 31 Oct 2019 10:56:44 -0700 Subject: [PATCH] [BUILD] Disable utvm standalone runtime by default --- Jenkinsfile | 3 +++ cmake/config.cmake | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 59f9cbb61eb1..8fad06893fed 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -145,6 +145,7 @@ stage('Build') { echo set\\(USE_CUDA ON\\) >> config.cmake echo set\\(USE_OPENGL ON\\) >> config.cmake echo set\\(USE_MICRO ON\\) >> config.cmake + echo set\\(USE_MICRO_STANDALONE_RUNTIME ON\\) >> config.cmake echo set\\(USE_LLVM llvm-config-9\\) >> config.cmake echo set\\(USE_NNPACK ON\\) >> config.cmake echo set\\(NNPACK_PATH /NNPACK/build/\\) >> config.cmake @@ -189,6 +190,7 @@ stage('Build') { cp ../cmake/config.cmake . echo set\\(USE_SORT ON\\) >> config.cmake echo set\\(USE_MICRO ON\\) >> config.cmake + echo set\\(USE_MICRO_STANDALONE_RUNTIME ON\\) >> config.cmake echo set\\(USE_GRAPH_RUNTIME_DEBUG ON\\) >> config.cmake echo set\\(USE_VM_PROFILER ON\\) >> config.cmake echo set\\(USE_LLVM llvm-config-8\\) >> config.cmake @@ -221,6 +223,7 @@ stage('Build') { echo set\\(USE_SORT ON\\) >> config.cmake echo set\\(USE_RPC ON\\) >> config.cmake echo set\\(USE_GRAPH_RUNTIME_DEBUG ON\\) >> config.cmake + echo set\\(USE_MICRO_STANDALONE_RUNTIME ON\\) >> config.cmake echo set\\(USE_VM_PROFILER ON\\) >> config.cmake echo set\\(USE_LLVM llvm-config-4.0\\) >> config.cmake echo set\\(CMAKE_CXX_COMPILER g++\\) >> config.cmake diff --git a/cmake/config.cmake b/cmake/config.cmake index dbc2e80812fd..51c929233aa6 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -92,7 +92,7 @@ set(USE_GRAPH_RUNTIME_DEBUG OFF) set(USE_VM_PROFILER OFF) # Whether enable uTVM standalone runtime -set(USE_MICRO_STANDALONE_RUNTIME ON) +set(USE_MICRO_STANDALONE_RUNTIME OFF) # Whether build with LLVM support # Requires LLVM version >= 4.0