Skip to content

Commit

Permalink
Remove optimizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
hedaoyuan committed Sep 29, 2017
1 parent 33299ef commit ea4672b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ endif(USE_NNPACK)

add_subdirectory(proto)

# "add_subdirectory(go)" should be placed after the following loine,
# because it depends on paddle/optimizer.
add_subdirectory(paddle/optimizer)
if(NOT MOBILE_INFERENCE)
# "add_subdirectory(go)" should be placed after the following loine,
# because it depends on paddle/optimizer.
add_subdirectory(paddle/optimizer)
endif()

# "add_subdirectory(paddle)" and "add_subdirectory(python)" should be
# placed after this block, because they depends on it.
Expand Down
1 change: 0 additions & 1 deletion cmake/util.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function(link_paddle_exe TARGET_NAME)
paddle_utils
paddle_parameter
paddle_proto
paddle_optimizer
${EXTERNAL_LIBS}
${CMAKE_THREAD_LIBS_INIT}
${CMAKE_DL_LIBS}
Expand Down

0 comments on commit ea4672b

Please sign in to comment.