diff --git a/build.sh b/build.sh index 51c5e999..572b1c3c 100644 --- a/build.sh +++ b/build.sh @@ -262,7 +262,7 @@ generate_package() for lib in "${PARSER_LIB[@]}"; do find ${OUTPUT_PATH}/${GRAPHENGINE_LIB_PATH} -maxdepth 1 -name "$lib" -exec cp -f {} ${OUTPUT_PATH}/${FWK_PATH} \; - find ${OUTPUT_PATH}/${GRAPHENGINE_LIB_PATH} -maxdepth 1 -name "$lib" -exec cp -f {} ${OUTPUT_PATH}/${ACL_PATH} \; + find ${OUTPUT_PATH}/${GRAPHENGINE_LIB_PATH} -maxdepth 1 -name "$lib" -exec cp -f {} ${OUTPUT_PATH}/${ATC_PATH} \; done for lib in "${FWK_LIB[@]}"; @@ -276,7 +276,7 @@ generate_package() done find ./bin -name atc -exec cp {} "${OUTPUT_PATH}/${ATC_BIN_PATH}" \; - find ${OUTPUT_PATH}/${GRAPHENGINE_LIB_PATH} -maxdepth 1 -name "libregister.a" -exec cp -f {} ${OUTPUT_PATH}/${ACL_PATH} \; + find ${OUTPUT_PATH}/${GRAPHENGINE_LIB_PATH} -maxdepth 1 -name "libascendcl.so" -exec cp -f {} ${OUTPUT_PATH}/${ACL_PATH} \; if [ "x${PLATFORM}" = "xtrain" ] then diff --git a/ge/CMakeLists.txt b/ge/CMakeLists.txt index 219ff406..94eaf08f 100755 --- a/ge/CMakeLists.txt +++ b/ge/CMakeLists.txt @@ -879,7 +879,7 @@ add_custom_command( set(INSTALL_BASE_DIR "") set(INSTALL_LIBRARY_DIR lib) -install(TARGETS ge_runner ge_compiler OPTIONAL +install(TARGETS ge_runner ge_compiler opensrc_ascendcl OPTIONAL LIBRARY DESTINATION ${INSTALL_LIBRARY_DIR} ) diff --git a/parser b/parser index e76825c8..f86c7513 160000 --- a/parser +++ b/parser @@ -1 +1 @@ -Subproject commit e76825c8dda737508e01999a39ed074d3f8eee2d +Subproject commit f86c751307835d85329260feb51b559d378b5710