Thank you for your interest in contributing to Rocket Chip!
Several projects are managed as git submodules as well as Wit dependencies.
Most projects will be bumped by developers as needed; however,
sometimes users may wish to speed up the bumping process.
For more stable projects like Chisel 3 and FIRRTL,
please only bump to stable branches as defined by the specific subproject.
As of March 2020 these branches are 3.2.x
in Chisel 3 and 1.2.x
in FIRRTL.
- Bump the Git submodule
# Check out a branch (starting at rocket-chip root
git checkout -b my-bumping-branch
# Check out the commit of the submodule you wish to bump to
cd <submodule>
git checkout <commit>
cd ..
- Bump the Wit submodule
Update the commit
field for the specific submodule in wit-manifest.json
.
You can do this by simply editing the file in your text editor of choice.
Tip git -C <submodule> rev-parse HEAD
will give you the commit hash
- Commit the changes
# Add and commit the submodule
git add <submodule>
git add wit-manifest.json
git commit -m "<meaningful message about bumping>"
If you are bumping Chisel 3
or FIRRTL
, it is ideal to include some notes about
major feature or performance improvements in your commit message.
- Open a Pull Request on Github
Please see the Github documentation for Pull Requests