summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/sqlite/Makefile
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-05-09 23:00:23 +0200
committerGitHub <noreply@github.com>2022-05-09 23:00:23 +0200
commit1e55dd47f251ae588fb418ac29cbc6a0ae741e69 (patch)
treeb3b930c3f864d82ebeb079fcfbbf570b1620ca3f /vendor/modernc.org/sqlite/Makefile
parent700b95546b4fbc4bbd094ab1804406c13634d7e2 (diff)
downloadmatterbridge-msglm-1e55dd47f251ae588fb418ac29cbc6a0ae741e69.tar.gz
matterbridge-msglm-1e55dd47f251ae588fb418ac29cbc6a0ae741e69.tar.bz2
matterbridge-msglm-1e55dd47f251ae588fb418ac29cbc6a0ae741e69.zip
Update dependencies (#1831)
Diffstat (limited to 'vendor/modernc.org/sqlite/Makefile')
-rw-r--r--vendor/modernc.org/sqlite/Makefile16
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