forked from mindspore-Ecosystem/mindspore
enable build package with ut
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
parent
1d94569d04
commit
3b961f9008
|
@ -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…
Reference in New Issue