Skip to content

Commit 7b03b18

Browse files
authored
Merge pull request #12705 from luotao1/disable_anakin
disable anakin temporary
2 parents 5d579e1 + 7aeed0e commit 7b03b18

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,11 @@ include(external/snappy) # download snappy
204204
include(external/snappystream)
205205
include(external/threadpool)
206206

207+
set(WITH_ANAKIN OFF CACHE STRING "Disable Anakin first, will add it later." FORCE)
207208
if(WITH_GPU)
208209
include(cuda)
209210
include(tensorrt)
210211
include(external/anakin)
211-
else()
212-
set(WITH_ANAKIN OFF CACHE STRING "Anakin is valid only when GPU is set." FORCE)
213212
endif()
214213

215214
include(cudnn) # set cudnn libraries, must before configure

0 commit comments

Comments
 (0)