Browse Source

!15420 Add a opts check for build.sh

From: @zhangzhaoju
Reviewed-by: @ginfung,@zh_qh,@hwhewei,@zh_qh
Signed-off-by: @zh_qh,@zh_qh
pull/15420/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
f66ba14178
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      build.sh

+ 5
- 0
build.sh View File

@@ -340,6 +340,11 @@ checkopts()
esac esac
done done


if [[ "X$RUN_TESTCASES" == "Xon" && "X$DEVICE" != "X" ]]; then
echo "WARNING:Option -e can't be set while option -t on/ut is set, reset device to empty."
DEVICE=""
fi

# Parse device # Parse device
# Process build option # Process build option
if [[ "X$DEVICE" == "Xgpu" ]]; then if [[ "X$DEVICE" == "Xgpu" ]]; then


Loading…
Cancel
Save