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

Make GolangSubsystem environment-aware #17064

Merged

Conversation

chrisjrn
Copy link
Contributor

This moves the path-specific options for GolangSubsystem into an EnvironmentAware block, and factors cgo_tool_search_paths into a property based on the new depends_on_env_vars functionality.

Further, the GoBootstrap code is refactored to pre-compute the go search paths, saving a request to the uncacheable asdf rules if they are not necessary.

Still todo -- erroring if asdf is used in a non-local environment.

Unblocks work on #16800

Christopher Neugebauer added 2 commits September 29, 2022 13:58
# 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]
@chrisjrn chrisjrn requested a review from tdyas September 29, 2022 21:17
@chrisjrn chrisjrn added the category:internal CI, fixes for not-yet-released features, etc. label Sep 29, 2022
@chrisjrn chrisjrn marked this pull request as ready for review September 29, 2022 21:17
@chrisjrn chrisjrn merged commit abd3bfe into pantsbuild:main Sep 29, 2022
@chrisjrn chrisjrn deleted the chrisjrn/16800-golang-subsystem-refactor branch September 29, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants