Description
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.