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

TOOLS-2315 document how to add to /Joyent_Dev/public/releng/go/adhoc for new go versions #278

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

timfoster
Copy link
Contributor

No description provided.

@timfoster timfoster requested a review from trentm March 4, 2020 14:46
tools/releng/go-prebuilt/go-build.sh Show resolved Hide resolved
rm -rf "pkg/obj"

# Remove the libraries used to build the toolchain commands.
rm -rf "pkg/illumos_amd64/cmd"
Copy link
Contributor

Choose a reason for hiding this comment

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

This go-build.sh only needs to support newer Go versions that use the "illumos" GOOS, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes - I'm assuming here that we always only want to build a go runtime for illumos. That's certainly the platform we'll be running on, and given that a go runtime will cross-compile, if we want to declare 'solaris' when building any Triton/Manta component at build-time, we can do eg.

GOOS=solaris go build

even with our illumos binary. For now, that's actually the default in Makefile.go_prebuilt.targ. I mentioned that in TOOLS-2439.

@timfoster timfoster merged commit 81f8165 into master Mar 5, 2020
@timfoster timfoster deleted the prr-TOOLS-2315 branch March 5, 2020 17:09
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.

2 participants