Skip to content

Implement automatic Go version chaining for bootstrapping#540

Open
callowaysutton wants to merge 1 commit into
moovweb:masterfrom
callowaysutton:feature/automatic-bootstrap
Open

Implement automatic Go version chaining for bootstrapping#540
callowaysutton wants to merge 1 commit into
moovweb:masterfrom
callowaysutton:feature/automatic-bootstrap

Conversation

@callowaysutton
Copy link
Copy Markdown

This PR automates the Go bootstrapping process. When installing a version from source, GVM now automatically identifies, downloads (as binary), and configures the necessary bootstrap Go version if one isn't already available. This removes the manual requirement to install Go 1.4 or other intermediate versions first.

This change introduces a mechanism to automatically resolve and install
the required Go bootstrap versions when installing from source.

Key changes:
- Added scripts/function/gvm_bootstrap to handle version mapping and compatibility checks.
- Updated scripts/install to automatically ensure a compatible bootstrap version is present before compilation.
- Updated README.md to reflect that manual bootstrapping is no longer required.

This allows installing any version of Go (including master) on a clean system
with only standard build tools (gcc, make, etc.) installed.
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.

1 participant