Build darwin/arm64 binaries for Apple M1

This commit is contained in:
Michael Eischer
2021-05-14 22:54:00 +02:00
parent 6d8ceefd67
commit af6f6fba15
3 changed files with 8 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) {
// ATTENTION: the list of architectures must be in sync with .github/workflows/tests.yml!
var defaultBuildTargets = map[string][]string{
"aix": {"ppc64"},
"darwin": {"amd64"},
"darwin": {"amd64", "arm64"},
"freebsd": {"386", "amd64", "arm"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le"},
"netbsd": {"386", "amd64"},