diff --git a/test/cpp/auto_parallel/CMakeLists.txt b/test/cpp/auto_parallel/CMakeLists.txt index f38cf32f35059..7c2a329172107 100644 --- a/test/cpp/auto_parallel/CMakeLists.txt +++ b/test/cpp/auto_parallel/CMakeLists.txt @@ -32,6 +32,9 @@ if(WITH_DISTRIBUTE) spmd_rule_test_util spmd_rules phi) + endif() -cc_test_old(dist_mapper_test SRCS dist_mapper_test.cc DEPS phi common) + +cc_test(dist_mapper_test SRCS dist_mapper_test.cc DEPS phi) +