summaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-03-19 16:49:21 +0100
committerJakob Unterwurzacher2025-03-19 16:49:21 +0100
commit13773f47d6d9aa72da034f2011a84248cbd2f46d (patch)
treee2efd3e9e15f9dd6562c5172cb5fc5e94ea51e3f /crossbuild.bash
parent50eb371e9051fbcaef5aeb26198a3fd6b56061db (diff)
test.bash, crossbuild.bash: drop old Go version kludgesHEADv2.5.2master
GO111MODULE is default on with Go 1.16, same version that gained darwin/arm64 support. We only support Go 1.19 and up, so drop the kludges.
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-xcrossbuild.bash7
1 files changed, 1 insertions, 6 deletions
diff --git a/crossbuild.bash b/crossbuild.bash
index a9fc6ae..db4b05b 100755
--- a/crossbuild.bash
+++ b/crossbuild.bash
@@ -15,7 +15,6 @@ function compile_tests {
set -eux
-export GO111MODULE=on
export CGO_ENABLED=0
GOOS=linux GOARCH=amd64 build
@@ -30,8 +29,4 @@ GOOS=darwin GOARCH=amd64 build
time GOOS=darwin GOARCH=amd64 compile_tests
# MacOS on Apple Silicon M1.
-# Go 1.16 added support for the M1 and added ios/arm64,
-# so we use this to check if we should attempt a build.
-if go tool dist list | grep ios/arm64 ; then
- GOOS=darwin GOARCH=arm64 build
-fi
+GOOS=darwin GOARCH=arm64 build