Skip to content

Force fetch tags from llvm-bazel - #3720

Merged
GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:force-fetch-flags
Nov 4, 2020
Merged

GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:force-fetch-flags

Conversation

@GMNGeoffrey

Copy link
Copy Markdown
Member

llvm-bazel does not guarantee that flag refs will be stable, so we need
to use --force to update them.

llvm-bazel does not guarantee that flag refs will be stable, so we need
to use `--force` to update them.
@google-cla google-cla Bot added the cla: yes label Nov 4, 2020
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

In the common case (using a tag) we actually only need to fetch a single specific ref. We could do that instead, but I think it would mean that it was no longer possible to pass an arbitrary commit to update to, since if that commit was not present already, or pointed to by a tag, or the head of a branch GitHub servers won't advertise it as a commit you can fetch (IIUC).

@GMNGeoffrey
GMNGeoffrey requested a review from ScottTodd November 4, 2020 21:24
@GMNGeoffrey
GMNGeoffrey merged commit 881379c into iree-org:main Nov 4, 2020
@GMNGeoffrey
GMNGeoffrey deleted the force-fetch-flags branch November 4, 2020 22:22
@hanhanW hanhanW mentioned this pull request Nov 5, 2020
hanhanW pushed a commit to hanhanW/iree that referenced this pull request Nov 5, 2020
llvm-bazel does not guarantee that flag refs will be stable, so we need
to use `--force` to update them.
@hanhanW hanhanW mentioned this pull request Nov 5, 2020
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants