You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!bin/bash
- target_path=$(pwd)
- echo "target path: ${target_path}/prebuild"
-
- if [ ! -d "${target_path}/prebuild" ]; then
- echo "cloning prebuild repository to ${target_path}"
- cd ${target_path}
- git clone https://gitee.com/mindspore/prebuild.git
- else
- echo "found prebuild in ${target_path}, attempting to update ..."
- cd ${target_path}/prebuild
- git pull
- fi
- cd -
- export D_LINK_PATH=${target_path}/prebuild/lib64
|