From 49cc06285f5a516adec6218fd8dce01412a2042e Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 28 Mar 2017 20:00:04 +0800 Subject: [PATCH] remove WITH_PREDICT_SDK --- paddle/CMakeLists.txt | 9 ++------- paddle/scripts/submit_local.sh.in | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/paddle/CMakeLists.txt b/paddle/CMakeLists.txt index 503024cff33..9d6d67e62c1 100644 --- a/paddle/CMakeLists.txt +++ b/paddle/CMakeLists.txt @@ -9,13 +9,8 @@ add_subdirectory(pserver) add_subdirectory(trainer) add_subdirectory(scripts) -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in - ${CMAKE_CURRENT_SOURCE_DIR}/setup.py) - -if(WITH_PREDICT_SDK) - add_subdirectory(predict) -endif() - if(WITH_SWIG_PY) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in + ${CMAKE_CURRENT_SOURCE_DIR}/setup.py) add_subdirectory(api) endif() diff --git a/paddle/scripts/submit_local.sh.in b/paddle/scripts/submit_local.sh.in index 0c0fea29dff..8fba4a19ba2 100644 --- a/paddle/scripts/submit_local.sh.in +++ b/paddle/scripts/submit_local.sh.in @@ -22,7 +22,6 @@ function version(){ echo " with_python: @WITH_PYTHON@" echo " with_rdma: @WITH_RDMA@" echo " with_timer: @WITH_TIMER@" - echo " with_predict_sdk: @WITH_PREDICT_SDK@" } function ver2num() { -- GitLab