Switch to forked repos for Dbmate/Modernc-sqlite so that they use a non-cgo library for sqlite

thus hopefully enabling native compilation on arm/arm64
This commit is contained in:
Jamie Curnow
2023-05-27 12:43:07 +10:00
parent b4365f5c54
commit 030f3c9d83
5 changed files with 44 additions and 10 deletions

View File

@ -20,7 +20,7 @@ if [ "$BUILD_VERSION" = "" ]; then
BUILD_VERSION=$(cat .version)
fi
export CGO_ENABLED=1
export CGO_ENABLED=0
export GO111MODULE=on
echo -e "${BLUE} ${GREEN}build-backend:${RESET}"
@ -70,7 +70,7 @@ docker pull "${IMAGE}"
#build_backend "darwin" "amd64"
#build_backend "darwin" "arm64"
build_backend "linux" "amd64"
build_backend "linux" "arm64"
#build_backend "linux" "arm64"
build_backend "linux" "arm"
#build_backend "openbsd" "amd64"
#build_backend "windows" "amd64"