summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/sqlite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/sqlite/Makefile')
-rw-r--r--vendor/modernc.org/sqlite/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/modernc.org/sqlite/Makefile b/vendor/modernc.org/sqlite/Makefile
index aa8269ae..8de69a00 100644
--- a/vendor/modernc.org/sqlite/Makefile
+++ b/vendor/modernc.org/sqlite/Makefile
@@ -23,6 +23,7 @@ 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=amd64 go build -v ./...
@@ -52,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=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 ./...
@@ -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."