Skip to content

Commit 42f12a4

Browse files
authored
fix ci test cmake test=develop (#18060)
1 parent b5a1c14 commit 42f12a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/inference/tests/api/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ download_model_and_data(${BERT_INSTALL_DIR} "bert_emb128_model.tar.gz" "bert_dat
216216
inference_analysis_api_test(test_analyzer_bert ${BERT_INSTALL_DIR} analyzer_bert_tester.cc)
217217

218218
# anakin
219-
if (WITH_ANAKIN AND WITH_MKL) # only needed in CI
219+
if (ANAKIN_FOUND AND WITH_MKL) # only needed in CI
220220
# anakin rnn1
221221
set(ANAKIN_INSTALL_DIR "${INFERENCE_DEMO_INSTALL_DIR}/anakin")
222222
set(ANAKIN_RNN1_INSTALL_DIR "${ANAKIN_INSTALL_DIR}/rnn1")

0 commit comments

Comments
 (0)