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

Makefile REL_OSARCH Paramter is ERROR #2587

Closed
azxs6400949 opened this issue Dec 1, 2022 · 0 comments
Closed

Makefile REL_OSARCH Paramter is ERROR #2587

azxs6400949 opened this issue Dec 1, 2022 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@azxs6400949
Copy link

I had make volcano in arm64 computer, but the computer cmd log report:

#16 15.24 CC=cc CGO_ENABLED=0 /go/bin/gox -osarch=linux/arm64 -ldflags " -X 'volcano.sh/volcano/pkg/version.GitSHA=git rev-parse HEAD' -X 'volcano.sh/volcano/pkg/version.Built=date "+%Y-%m-%d %H:%M:%S"' -X 'volcano.sh/volcano/pkg/version.Version=latest'" -output _output/bin/vc-controller-manager ./cmd/controller-manager
#16 35.01 No valid platforms to build for. If you specified a value
#16 35.01 for the 'os', 'arch', or 'osarch' flags, make sure you're
#16 35.01 using a valid value.
#16 35.01 make: *** [Makefile:81: vc-controller-manager] Error 1

I found gox osarch only support -osarch=linux/arm After consulting the relevant information, can not use -osarch=linux/arm64
so I change the makefile REL_OSARCH Paramter linux/arm64 to linux/arm, and last the image is succeed.

maybe you can verify it.

@azxs6400949 azxs6400949 added the kind/bug Categorizes issue or PR as related to a bug. label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant