Makefile REL_OSARCH Paramter is ERROR #2588
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
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/arm64so I change the makefile REL_OSARCH Paramter linux/arm64 to linux/arm, and last the image is succeed.
maybe you can verify it.
The text was updated successfully, but these errors were encountered: