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

build for Apple M1 #822

Closed
networkextension opened this issue Nov 24, 2020 · 2 comments
Closed

build for Apple M1 #822

networkextension opened this issue Nov 24, 2020 · 2 comments

Comments

@networkextension
Copy link
Contributor

just work
$mkdir sdk $cd sdk $git clone https://go.googlesource.com/go $cd go $git fetch https://go.googlesource.com/go refs/changes/58/272258/1 && git checkout FETCH_HEAD $cd src $GOOS=darwin GOARCH=arm64 ./bootstrap.bash

then compile kcptun

env CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -mod=vendor -ldflags "$LDFLAGS" -gcflags "$GCFLAGS" -o client_darwin_arm64 github.com/xtaci/kcptun/client

@xtaci
Copy link
Owner

xtaci commented Nov 24, 2020

create a PR to build-release.sh

networkextension pushed a commit to networkextension/kcptun that referenced this issue Nov 26, 2020
xtaci pushed a commit that referenced this issue Nov 26, 2020
See issue #822

Co-authored-by: apple <apple@abc.net>
@networkextension
Copy link
Contributor Author

not stable, waiting Go 1.16 release

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

No branches or pull requests

2 participants