asdf-golang icon indicating copy to clipboard operation
asdf-golang copied to clipboard

Compilation Question

Open TechnologyClassroom opened this issue 4 years ago • 4 comments

Does asdf-golang have any interest in a compilation option in the future? I ran this command asdf install golang ref:$(asdf latest golang) expecting compilation, but received a binary installation instead.

gvm solves the bootstrapping issue by first compiling go1.4 and then compiling later versions.

I have a script that does this and it looks like gvm would work, but I am exploring the option of standardizing my tools around asdf.

TechnologyClassroom avatar Oct 29 '21 21:10 TechnologyClassroom

I haven't actually thought about it to be honest. What would be the reason you want to do the compilation instead of the binary release?

kennyp avatar Nov 16 '21 14:11 kennyp

Trust, the ability to customize the source, the ability to customize the build flags, the ability to install development versions, etc.

TechnologyClassroom avatar Nov 16 '21 17:11 TechnologyClassroom

I would be happy to collaborate on something like that. You said you have a script that we could use as a starting point?

kennyp avatar Nov 16 '21 21:11 kennyp

I do have a script, but the licensing is incompatible with MIT.

The gvm project has the functionality and also uses MIT. Relevant line in the install file.

TechnologyClassroom avatar Nov 16 '21 21:11 TechnologyClassroom