You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mindspore/tests/CMakeLists.txt

11 lines
260 B

#add flags
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()