#!/bin/bash


git submodule add https://gitee.com/mindspore/graphengine.git graphengine
cd graphengine
git checkout 6214b8f80828f2e4f7e1b9df328c4732898d09c5
cd ..


git submodule add https://github.com/google/flatbuffers.git third_party/flatbuffers
cd third_party/flatbuffers
git checkout 9e7e8cbe9f675123dd41b7c62868acad39188cae
cd ../../


git submodule add https://github.com/google/googletest.git third_party/googletest
cd third_party/googletest
git checkout 2fe3bd994b3189899d93f1d5a881e725e046fdc2
cd ../../


git submodule add https://github.com/apache/incubator-tvm.git third_party/incubator-tvm
cd third_party/incubator-tvm
git checkout c6f8c23c349f3ef8bacceaf3203f7cc08e6529de
cd ../../


git submodule add https://github.com/protocolbuffers/protobuf.git third_party/protobuf
cd third_party/protobuf
git checkout 09745575a923640154bcf307fba8aedff47f240a
cd ../../
