Skip to content

Conversation

alexcrichton
Copy link
Member

Make sure existing sections are up-to-date and then also add some words
about the recent convention we developed for updating LLVM versions with
respect to branch naming as well.

@alexcrichton
Copy link
Member Author

r? @cuviper

I've also updated README.md in rust-lang/llvm-project to point to this documentation about updating.

Copy link
Member

@cuviper cuviper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention .gitmodules, otherwise LGTM!

5. Build your commit. Make sure you've committed the previous changes to ensure
3. Build the new LLVM in the `rust` repository. To do this you'll want to update
the `src/llvm-project` repository to your branch and the revision you've
created. Make sure you've committed changes to `src/llvm-project` to ensure
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make sure to update the branch name in .gitmodules too, as this enables easy git submodules update --remote src/llvm-project.

7. Send a Pull Request to rust-lang/llvm-project to the same branch as before
7. Send a Pull Request to rust-lang/llvm-project to the same branch as before.
Be sure to reference the Rust and/or LLVM issue that you're fixing in the PR
description.
8. Wait for the PR to be merged
9. Send a PR to rust-lang/rust updating the `src/llvm-project` submodule with
your bugfix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is another place to mention git submodule update --remote src/llvm-project, assuming the branch name in .gitmodules is current.

Make sure existing sections are up-to-date and then also add some words
about the recent convention we developed for updating LLVM versions with
respect to branch naming as well.
@alexcrichton
Copy link
Member Author

Excellent points, updated!

@alexcrichton alexcrichton merged commit cc34e4a into rust-lang:master Sep 20, 2019
@alexcrichton alexcrichton deleted the moar-update branch September 20, 2019 19:08
mark-i-m pushed a commit to spastorino/rustc-dev-guide that referenced this pull request Jan 2, 2020
Make sure existing sections are up-to-date and then also add some words
about the recent convention we developed for updating LLVM versions with
respect to branch naming as well.
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.

2 participants