Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Go 1.5 Updates #84

Closed
derekperkins opened this issue Sep 4, 2015 · 2 comments
Closed

Go 1.5 Updates #84

derekperkins opened this issue Sep 4, 2015 · 2 comments

Comments

@derekperkins
Copy link

What are the specific plans for utilizing the new cross-compilation features of 1.5? I'm still very interested in using versioning and build tasks.

@laher
Copy link
Owner

laher commented Sep 6, 2015

Hi there. Yeah there's a bunch of interesting and relevant stuff in 1.5. The main thing is that it's easier to cross-compile from the go command. So, yep. This tool's value is de-valued somewhat. But, it still automates a bunch of useful stuff, as you mentioned.

Here are some Go1.5 changes which affect goxc:

  • Cross-compilation no longer requires a toolchain-rebuild for each platform - I addressed this in advance a couple of months ago, by simply removing 'auto-rebuild toolchain' from the default settings. So, get latest, and everything should still work just fine.
  • Go1.5 vendoring support - for the most part I just want to prevent goxc from trying to explicitly build dependencies in the 'vendor' folder. I thought this had been addressed by a recent pull request but seemingly not. It should be a small job to fix it - there's just some ignored folders.
  • Support for building shared libraries in Go. This is an interesting topic, and something I'd like to support. I haven't even looked into it yet. Something-something buildmode=c-shared, something. See https://docs.google.com/document/d/1nr-TQHw_er6GOQRsF6T43GGhFDelrAP0NqSS_00RgZQ/edit?pli=1

Does that answer your question?

@derekperkins
Copy link
Author

Yeah, that answers my question. I wasn't aware that you had built in compatibility with 1.5 that far in advance. We're still waiting on vending to see how the community shakes out and we don't use shared libraries, so the other two points aren't as relevant to us, but definitely sound cool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants