-
Notifications
You must be signed in to change notification settings - Fork 719
Build containerd and runc for specific arch with xx #2007
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
Conversation
|
cc @AkihiroSuda is something like this acceptable. |
710d0db to
eeab95e
Compare
eeab95e to
ad5c0b0
Compare
ad5c0b0 to
82165e2
Compare
| cp -a bypass4netns bypass4netnsd /out/arm64 | ||
| RUN xx-go --wrap | ||
| RUN GO=xx-go GOARCH=${TARGETARCH} CC=$(xx-info)-gcc make static && \ | ||
| xx-verify --static bypass4netns && cp -a bypass4netns bypass4netnsd /out/${TARGETARCH} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When GO=xx-go is set, no need to run --wrap and specify GOARCH, CC, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! sorry! misunderstood earlier. Thanks for helping with this PR throughout
82165e2 to
1482953
Compare
Dockerfile
Outdated
| cp -a bypass4netns bypass4netnsd /out/amd64 | ||
| RUN GOARCH=arm64 CC=aarch64-linux-gnu-gcc make static && \ | ||
| cp -a bypass4netns bypass4netnsd /out/arm64 | ||
| RUN xx-go --wrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
Signed-off-by: Manu Gupta <manugupt1@gmail.com>
1482953 to
fa9f627
Compare
AkihiroSuda
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
No description provided.