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

[#868] FreeBSD support #993

Closed
wants to merge 1 commit into from
Closed

[#868] FreeBSD support #993

wants to merge 1 commit into from

Conversation

Red54
Copy link

@Red54 Red54 commented Apr 16, 2022

Enable cgo when building on FreeBSD.

Signed-off-by: 谢致邦 (XIE Zhibang) Yeking@Red54.com

Enable cgo when building on FreeBSD.

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
@AkihiroSuda
Copy link
Member

Thanks, would it be possible to cross-compile this during make artifacts on the Linux CI?

run: make artifacts

nerdctl/Makefile

Lines 90 to 91 in 360231b

GOOS=freebsd GOARCH=amd64 make -C $(CURDIR) binaries
tar $(TAR_FLAGS) -czvf $(CURDIR)/_output/nerdctl-$(VERSION_TRIMMED)-freebsd-amd64.tar.gz _output/nerdctl

Otherwise we might need to remove it from make artifacts

@Red54
Copy link
Author

Red54 commented Apr 18, 2022

I created a PR for moby/sys.
moby/sys#113

If that PR is merged, this PR is no longer needed.

@Red54
Copy link
Author

Red54 commented May 18, 2022

moby/sys#114 has been merged, so this PR is no longer needed.

@Red54 Red54 closed this May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants