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

[internal] Refactors to prepare for mixed jvm compilation #13500

Merged

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Nov 5, 2021

To prepare for mixed JVM compilation (i.e., scala depending on java and vice-versa):

  1. Move pants.backend.java.classpath -> pants.jvm.classpath.
  2. Split check for javac and scalac out into their own modules.
  3. Add and enable pants.backend.experimental.scala.

[ci skip-rust]
[ci skip-build-wheels]

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@stuhood stuhood enabled auto-merge (squash) November 5, 2021 19:51
@stuhood stuhood disabled auto-merge November 5, 2021 19:51
@stuhood stuhood enabled auto-merge (squash) November 5, 2021 19:51
@stuhood
Copy link
Sponsor Member Author

stuhood commented Nov 5, 2021

Commits are useful to review independently.

Copy link
Contributor

@chrisjrn chrisjrn left a comment

Choose a reason for hiding this comment

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

This seems fine

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@stuhood
Copy link
Sponsor Member Author

stuhood commented Nov 5, 2021

CI failures were due to including rules which will only be usable once the followup change lands (deploy_jar, junit). Should go green now.

@stuhood stuhood merged commit 4126f93 into pantsbuild:main Nov 5, 2021
@stuhood stuhood deleted the stuhood/prepare-for-mixed-jvm-compilation branch November 6, 2021 01:10
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