!9558 enable build package with ut

From: @zhoufeng54
Reviewed-by: @kisnwang,@jjfeing
Signed-off-by: @jjfeing
pull/9558/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 4b6988d4a8

@ -3,8 +3,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare")
if (ENABLE_ACL)
add_subdirectory(cxx_st)
elseif (ENABLE_GPU OR ENABLE_D OR ENABLE_CPU)
message(fatal "No need set -e xxx when compile ut")
else ()
add_subdirectory(ut)
endif()
endif ()

Loading…
Cancel
Save