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

[jvm] Normalize the layout of JVM subsystems and add support for compiler options (cherrypick of #13926) #13931

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Dec 20, 2021

  • Normalize JVM subsystems layout to prepare reasonable locations for compiler options
    • Move the scala and javac subsystems to their respective subsystems packages
    • Rename scalac-plugins subsystem to scalac, and move to subsystems
    • Move --javac-jdk flag to --jvm-jdk
  • Rename options_scope to JvmToolLockfileSentinel.resolve_name to account for the fact that a dedicated subsystem is not required to have a lockfile (as with scalac-plugins).
  • Add --javac-args and --scalac-args.

Fixes #13664.

[ci skip-rust]

[ci skip-build-wheels]

…iler options (pantsbuild#13926)

* Normalize JVM subsystems layout to prepare reasonable locations for compiler options
    * Move the `scala` and `javac` subsystems to their respective `subsystems` packages
    * Rename `scalac-plugins` subsystem to `scalac`, and move to `subsystems`
    * Move `--javac-jdk` flag to `--jvm-jdk`
* Rename `options_scope` to `JvmToolLockfileSentinel.resolve_name` to account for the fact that a dedicated subsystem is not required to have a lockfile (as with `scalac-plugins`).
* Add `--javac-args` and `--scalac-args`.

Fixes pantsbuild#13664.

[ci skip-rust]

[ci skip-build-wheels]
@stuhood stuhood merged commit 50e0ffd into pantsbuild:2.9.x Dec 21, 2021
@stuhood stuhood deleted the stuhood/pick-13926-for-2.9.x branch December 21, 2021 03:38
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