Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Feb 17, 2022

This PR removes the git submodule for OpenJDK. This PR closes #121.

Changes:

  • Removed OpenJDK git submodule. The metadata about the OpenJDK version is now stored in mmtk/Cargo.toml.
  • Added common.sh to .github/scripts, which is included by each CI shell script.
  • Added ci-checkout.sh to .github/scripts that checks out the correct OpenJDK version for CI.
  • Fixed paths in CompileThirdPartyHeap.gmk. We no longer assume OpenJDK is in repos/openjdk.
  • Updated README.

@qinsoon qinsoon force-pushed the remove-vm-submodule branch from 0c0717c to 8287664 Compare February 17, 2022 22:41
@qinsoon qinsoon force-pushed the remove-vm-submodule branch from 8287664 to 01b904f Compare February 17, 2022 22:55
Copy link
Contributor

@wks wks left a comment

Choose a reason for hiding this comment

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

Mostly OK.

We can use a TOML parser to parse Cargo.toml.

There are only some minor style problems.

Copy link
Contributor

@wks wks left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@wks wks left a comment

Choose a reason for hiding this comment

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

LGTM

qinsoon added a commit to mmtk/mmtk-core that referenced this pull request Feb 25, 2022
This PR mainly makes changes to CI configs to cooperate with the bindings' change of removing VM submodules 
(mmtk/mmtk-jikesrvm#101 and mmtk/mmtk-openjdk#140).

Changes:
* Made CI call `ci-checkout.sh` after checking out binding repos for OpenJDK and JikesRVM
* Changed how we collect binding info:
  * Now we use a reusable workflow to extract binding info (repos and refs) from one comment in a PR.
  * The workflow is used by both binding correctness tests and benchmarks.
  * Our CI now can run tests and benchmarks for binding PRs submitted from a fork.
  * This closes #246.
* Updated porting guide for a more logically correct folder structure.
  * This closes #502.
* Updated `ci-perf-kit` to 0.6.6, which changes the command line arguments used for JikesRVM 
  (we no longer support setting MMTk options with camelCase - the fix changes options to snake_case).

Related PRs:
* mmtk/mmtk-openjdk#140
* mmtk/mmtk-jikesrvm#101
* mmtk/mmtk-v8#55
@qinsoon qinsoon merged commit 18d35d8 into mmtk:master Feb 27, 2022
qinsoon added a commit to mmtk/mmtk-v8 that referenced this pull request Feb 27, 2022
This PR moved some version metadata from CI scripts to `mmtk/Cargo.toml`. This PR makes the mmtk-v8 repo more consistent with [mmtk-openjdk](mmtk/mmtk-openjdk#140) and [mmtk-jikesrvm](mmtk/mmtk-jikesrvm#101).
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.

Remove the OpenJDK submodule

2 participants