From 6f03fc2fffe756480021999319c900402ab6fc7f Mon Sep 17 00:00:00 2001 From: Haipeng Wang Date: Wed, 6 Jun 2018 17:24:46 +0800 Subject: [PATCH] openmp is disabled by default --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe9f433818..15f9a85e14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ file(GLOB_RECURSE PADDLE_MOBILE_H src/*.h) include_directories(src/) -option(USE_OPENMP "openmp support" ON) +option(USE_OPENMP "openmp support" OFF) if(USE_OPENMP) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp") add_definitions(-DPADDLE_MOBILE_USE_OPENMP) -- GitLab