-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cross-compiling from Linux for Darwin #1545
Comments
You should open a ticket against that project and cross link it here as that is the package that can't be built. |
We just need to vendor this now |
Hey there Since this issue hasn't had any activity in a while - we're going to automatically close it in 30 days. If you're still seeing this issue with the latest version of Nomad, please respond here and we'll keep this open and take another look at this. Thanks! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.4.1-dev
a950781
Operating system and Environment details
Linux (presumably any linux)
Issue
Unable to cross-compile for osx:
For Darwin these only exist when +build darwin, and cannot be included for linux because they are defined in
../../hashicorp/nomad/vendor/github.com/mitchellh/go-ps/process_darwin.h
The main interest I have for cross-compiling is that we have the api and nomad/structs package as dependencies (maybe there is a workaround where I could skip the process part?)
Reproduction steps
Cross-compiling :
GOOS=darwin GOARCH=amd64 go build
Thanks!
The text was updated successfully, but these errors were encountered: