diff options
Diffstat (limited to 'vendor/modernc.org/sqlite/Makefile')
-rw-r--r-- | vendor/modernc.org/sqlite/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/vendor/modernc.org/sqlite/Makefile b/vendor/modernc.org/sqlite/Makefile index 4439781c8..8de69a000 100644 --- a/vendor/modernc.org/sqlite/Makefile +++ b/vendor/modernc.org/sqlite/Makefile @@ -23,8 +23,9 @@ all: editor GOOS=linux GOARCH=amd64 go build -v ./... GOOS=linux GOARCH=arm go build -v ./... GOOS=linux GOARCH=arm64 go build -v ./... + GOOS=linux GOARCH=riscv64 go build -v ./... GOOS=linux GOARCH=s390x go build -v ./... - GOOS=windows GOARCH=386 go build -v ./... + #GOOS=windows GOARCH=386 go build -v ./... GOOS=windows GOARCH=amd64 go build -v ./... golint 2>&1 | grep -v $(ngrep) || true misspell *.go @@ -52,14 +53,16 @@ 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=riscv64 go build -v ./... + GOOS=linux GOARCH=riscv64 go test -c -o /dev/null GOOS=linux GOARCH=s390x go build -v ./... GOOS=linux GOARCH=s390x go test -c -o /dev/null GOOS=netbsd GOARCH=amd64 go build -v ./... GOOS=netbsd GOARCH=amd64 go test -c -o /dev/null GOOS=openbsd GOARCH=amd64 go build -v ./... GOOS=openbsd GOARCH=amd64 go test -c -o /dev/null - GOOS=windows GOARCH=386 go build -v ./... - GOOS=windows GOARCH=386 go test -c -o /dev/null + # GOOS=windows GOARCH=386 go build -v ./... + # GOOS=windows GOARCH=386 go test -c -o /dev/null GOOS=windows GOARCH=amd64 go build -v ./... GOOS=windows GOARCH=amd64 go test -c -o /dev/null echo done @@ -130,6 +133,12 @@ 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 ./... +# linux/riscv64 +linux_riscv64: + @echo "Should be executed only on linux/riscv64." + go generate 2>&1 | tee log-generate + go build -v ./... + # 3900x linux_s390x: @echo "Should be executed only on linux/amd64." @@ -142,7 +151,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_on_linux_amd64 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 windows_amd64 #TODO windows_386 gofmt -l -s -w . echo done |