Skip to content

Commit

Permalink
[BUILD] Remove useless additional link opt (apache#11300)
Browse files Browse the repository at this point in the history
* [BUILD] Remove useless additional link opt

* Update tvm dep
  • Loading branch information
tqchen authored and szha committed Jun 15, 2018
1 parent a7952f0 commit feef067
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/tvm
Submodule tvm updated from 8f80df to 6ab4da
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -580,11 +580,6 @@ if(USE_PLUGIN_CAFFE)
endif()
endif()

if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/tvm/nnvm/CMakeLists.txt")
set(nnvm_LINKER_LIBS nnvm)
list(APPEND mxnet_LINKER_LIBS ${nnvm_LINKER_LIBS})
endif()

if(NOT MSVC)
# Only add c++11 flags and definitions after cuda compiling
add_definitions(-DDMLC_USE_CXX11)
Expand Down Expand Up @@ -664,7 +659,6 @@ if(USE_OPENCV AND OpenCV_VERSION_MAJOR GREATER 2)
${mxnet_LINKER_LIBS}
${OpenCV_LIBS}
dmlc
${nnvm_LINKER_LIBS}
${pslite_LINKER_LIBS}
)
else()
Expand Down

0 comments on commit feef067

Please sign in to comment.