Skip to content

Commit 212651a

Browse files
authored
bugfix/anakin-ci (#11473)
1 parent 8f266e2 commit 212651a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/contrib/inference/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ cc_test(test_paddle_inference_api
5050
inference_api_test(test_paddle_inference_api_impl
5151
ARGS test_word2vec test_image_classification)
5252

53-
if (WITH_ANAKIN)
53+
if (WITH_ANAKIN AND WITH_TESTING) # only needed in CI
5454
# Due to Anakin do not have official library releases and the versions of protobuf and cuda do not match Paddle's,
5555
# so anakin library will not be merged to our official inference library. To use anakin prediction API, one need to
5656
# compile the libinference_anakin_api.a and compile with anakin.so.

0 commit comments

Comments
 (0)