fix ci 310 compile
This commit is contained in:
parent
b7e514f683
commit
ff6b191eb4
|
@ -23,10 +23,10 @@ if(BUILD_LITE)
|
||||||
-DANDROID_STL=${ANDROID_STL}
|
-DANDROID_STL=${ANDROID_STL}
|
||||||
${CMAKE_OPTION})
|
${CMAKE_OPTION})
|
||||||
endif()
|
endif()
|
||||||
else()
|
endif()
|
||||||
if(NOT ENABLE_GLIBCXX)
|
|
||||||
set(gtest_CXXFLAGS "${gtest_CXXFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
|
if(NOT ENABLE_GLIBCXX)
|
||||||
endif()
|
set(gtest_CXXFLAGS "${gtest_CXXFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_GITEE)
|
if(ENABLE_GITEE)
|
||||||
|
|
|
@ -194,3 +194,7 @@ endif()
|
||||||
if(ENABLE_MODEL_OBF)
|
if(ENABLE_MODEL_OBF)
|
||||||
target_link_libraries(lite-test ${OBF_LIB_DIR}/libmsdeobfuscator-lite.so)
|
target_link_libraries(lite-test ${OBF_LIB_DIR}/libmsdeobfuscator-lite.so)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MSLITE_ENABLE_CONVERTER AND MSLITE_ENABLE_ACL)
|
||||||
|
target_link_libraries(lite-test lite_acl_mid mindspore_shared_lib)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue