fix ci 310 compile

This commit is contained in:
zhengyuanhua 2022-01-10 20:49:57 +08:00
parent b7e514f683
commit ff6b191eb4
2 changed files with 8 additions and 4 deletions

View File

@ -23,10 +23,10 @@ if(BUILD_LITE)
-DANDROID_STL=${ANDROID_STL}
${CMAKE_OPTION})
endif()
else()
if(NOT ENABLE_GLIBCXX)
set(gtest_CXXFLAGS "${gtest_CXXFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
endif()
endif()
if(NOT ENABLE_GLIBCXX)
set(gtest_CXXFLAGS "${gtest_CXXFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
endif()
if(ENABLE_GITEE)

View File

@ -194,3 +194,7 @@ endif()
if(ENABLE_MODEL_OBF)
target_link_libraries(lite-test ${OBF_LIB_DIR}/libmsdeobfuscator-lite.so)
endif()
if(MSLITE_ENABLE_CONVERTER AND MSLITE_ENABLE_ACL)
target_link_libraries(lite-test lite_acl_mid mindspore_shared_lib)
endif()