summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/build_all_targets.sh
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-11-27 00:42:16 +0100
committerGitHub <noreply@github.com>2022-11-27 00:42:16 +0100
commit4fd0a7672777f0ed15692ae2ba47838208537558 (patch)
treeb119834a8b9ee78aa8f1b2ad05efa7da50516cbf /vendor/modernc.org/libc/build_all_targets.sh
parent6da9d567dc9195e9a5211f23a6795a41f56a1bfc (diff)
downloadmatterbridge-msglm-4fd0a7672777f0ed15692ae2ba47838208537558.tar.gz
matterbridge-msglm-4fd0a7672777f0ed15692ae2ba47838208537558.tar.bz2
matterbridge-msglm-4fd0a7672777f0ed15692ae2ba47838208537558.zip
Update dependencies (#1929)
Diffstat (limited to 'vendor/modernc.org/libc/build_all_targets.sh')
-rw-r--r--vendor/modernc.org/libc/build_all_targets.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/build_all_targets.sh b/vendor/modernc.org/libc/build_all_targets.sh
new file mode 100644
index 00000000..3fb79cf4
--- /dev/null
+++ b/vendor/modernc.org/libc/build_all_targets.sh
@@ -0,0 +1,43 @@
+set -e
+for tag in none dmesg libc.membrk libc.memgrind
+do
+ echo "-tags=$tag"
+ GOOS=darwin GOARCH=amd64 go build -tags=$tag -v ./...
+ GOOS=darwin GOARCH=amd64 go test -tags=$tag -c -o /dev/null
+ GOOS=darwin GOARCH=arm64 go build -tags=$tag -v ./...
+ GOOS=darwin GOARCH=arm64 go test -tags=$tag -c -o /dev/null
+ GOOS=freebsd GOARCH=386 go build -tags=$tag -v ./...
+ GOOS=freebsd GOARCH=386 go test -tags=$tag -c -o /dev/null
+ GOOS=freebsd GOARCH=amd64 go build -tags=$tag -v ./...
+ GOOS=freebsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
+ GOOS=freebsd GOARCH=arm go build -tags=$tag -v ./...
+ GOOS=freebsd GOARCH=arm go test -tags=$tag -c -o /dev/null
+ GOOS=linux GOARCH=386 go build -tags=$tag -v ./...
+ GOOS=linux GOARCH=386 go test -tags=$tag -c -o /dev/null
+ GOOS=linux GOARCH=amd64 go build -tags=$tag -v ./...
+ GOOS=linux GOARCH=amd64 go test -tags=$tag -c -o /dev/null
+ GOOS=linux GOARCH=arm go build -tags=$tag -v ./...
+ GOOS=linux GOARCH=arm go test -tags=$tag -c -o /dev/null
+ GOOS=linux GOARCH=arm64 go build -tags=$tag -v ./...
+ GOOS=linux GOARCH=arm64 go test -tags=$tag -c -o /dev/null
+ GOOS=linux GOARCH=ppc64le go test -tags=$tag -c -o /dev/null
+ GOOS=linux GOARCH=riscv64 go build -tags=$tag -v ./...
+ GOOS=linux GOARCH=s390x go build -tags=$tag -v ./...
+ GOOS=linux GOARCH=s390x go test -tags=$tag -c -o /dev/null
+ GOOS=netbsd GOARCH=amd64 go build -tags=$tag -v ./...
+ GOOS=netbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
+ GOOS=netbsd GOARCH=arm go build -tags=$tag -v ./...
+ GOOS=netbsd GOARCH=arm go test -tags=$tag -c -o /dev/null
+ GOOS=openbsd GOARCH=386 go build -tags=$tag -v ./...
+ GOOS=openbsd GOARCH=386 go test -tags=$tag -c -o /dev/null
+ GOOS=openbsd GOARCH=amd64 go build -tags=$tag -v ./...
+ GOOS=openbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
+ GOOS=openbsd GOARCH=arm64 go build -tags=$tag -v ./...
+ GOOS=openbsd GOARCH=arm64 go test -tags=$tag -c -o /dev/null
+ GOOS=windows GOARCH=386 go build -tags=$tag -v ./...
+ GOOS=windows GOARCH=386 go test -tags=$tag -c -o /dev/null
+ GOOS=windows GOARCH=amd64 go build -tags=$tag -v ./...
+ GOOS=windows GOARCH=amd64 go test -tags=$tag -c -o /dev/null
+ GOOS=windows GOARCH=arm64 go build -tags=$tag -v ./...
+ GOOS=windows GOARCH=arm64 go test -tags=$tag -c -o /dev/null
+done