diff options
Diffstat (limited to 'vendor/modernc.org/sqlite/Makefile')
-rw-r--r-- | vendor/modernc.org/sqlite/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/vendor/modernc.org/sqlite/Makefile b/vendor/modernc.org/sqlite/Makefile index 8f18e806..b993db4b 100644 --- a/vendor/modernc.org/sqlite/Makefile +++ b/vendor/modernc.org/sqlite/Makefile @@ -53,6 +53,8 @@ build_all_targets: GOOS=linux GOARCH=arm go test -c -o /dev/null GOOS=linux GOARCH=arm64 go build -v ./... GOOS=linux GOARCH=arm64 go test -c -o /dev/null + GOOS=linux GOARCH=ppc64le go build -v ./... + GOOS=linux GOARCH=ppc64le go test -c -o /dev/null GOOS=linux GOARCH=riscv64 go build -v ./... GOOS=linux GOARCH=riscv64 go test -c -o /dev/null GOOS=linux GOARCH=s390x go build -v ./... @@ -139,11 +141,17 @@ linux_arm64: CCGO_CPP=aarch64-linux-gnu-cpp TARGET_GOARCH=arm64 TARGET_GOOS=linux go generate 2>&1 | tee log-generate GOOS=linux GOARCH=arm64 go build -v ./... +# 3900x +linux_ppc64le: + @echo "Should be executed only on linux/amd64." + CCGO_CPP=powerpc64le-linux-gnu-cpp TARGET_GOARCH=ppc64le TARGET_GOOS=linux go generate 2>&1 | tee log-generate + GOOS=linux GOARCH=ppc64le go build -v ./... + # linux/riscv64 linux_riscv64: - @echo "Should be executed only on linux/riscv64." - go generate 2>&1 | tee log-generate - go build -v ./... + @echo "Should be executed only on linux/amd64." + CCGO_CPP=riscv64-linux-gnu-cpp TARGET_GOARCH=riscv64 TARGET_GOOS=linux go generate 2>&1 | tee log-generate + GOOS=linux GOARCH=riscv64 go build -v ./... # 3900x linux_s390x: @@ -157,7 +165,7 @@ openbsd_amd64: go generate 2>&1 | tee log-generate go build -v ./... -generate_all_targets_on_linux_amd64: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x windows_amd64 #TODO windows_386 +generate_all_targets_on_linux_amd64: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x linux_ppc64le linux_riscv64 windows_amd64 #TODO windows_386 gofmt -l -s -w . echo done |