Skip to content

Commit

Permalink
Exclude graph_runtime_optimization_test.cc from reduced ops build. (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
edgchen1 authored Jan 5, 2022
1 parent 2803a94 commit 34c0251
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/onnxruntime_unittests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ else() # minimal and/or reduced ops build
endif()
endif()

if(NOT onnxruntime_MINIMAL_BUILD OR onnxruntime_ENABLE_RUNTIME_OPTIMIZATION_REPLAY_IN_MINIMAL_BUILD)
if((NOT onnxruntime_MINIMAL_BUILD OR onnxruntime_ENABLE_RUNTIME_OPTIMIZATION_REPLAY_IN_MINIMAL_BUILD)
AND NOT onnxruntime_REDUCED_OPS_BUILD)
list(APPEND onnxruntime_test_optimizer_src
"${TEST_SRC_DIR}/optimizer/runtime_optimization/graph_runtime_optimization_test.cc")
endif()
Expand Down

0 comments on commit 34c0251

Please sign in to comment.