Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure submodule urls are up-to-date #1357

Merged
merged 2 commits into from
Jul 10, 2019
Merged

Conversation

letmaik
Copy link
Member

@letmaik letmaik commented Jul 8, 2019

Description:

This extends build.py to run git submodule sync --recursive before running git submodule update --init --recursive. This makes sure submodule URLs are up-to-date.

Motivation and Context

Recently, the submodule URL for tvm changed. If you have an existing clone of the repository, then running build.sh/build.py will not update to the new URL and git submodule update --init --recursive will raise an error as it doesn't find the submodule commit in the old repo.

@letmaik letmaik requested a review from a team as a code owner July 8, 2019 11:07
skottmckay
skottmckay previously approved these changes Jul 8, 2019
@letmaik
Copy link
Member Author

letmaik commented Jul 8, 2019

@skottmckay I realized that I was missing the --recursive flag which I added now.

@snnn
Copy link
Member

snnn commented Jul 8, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 22 pipeline(s).

@snnn snnn merged commit bfda9ca into microsoft:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants