summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/Makefile
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/Makefile
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/Makefile')
-rw-r--r--vendor/modernc.org/libc/Makefile83
1 files changed, 33 insertions, 50 deletions
diff --git a/vendor/modernc.org/libc/Makefile b/vendor/modernc.org/libc/Makefile
index 1a362dfc..e9c5b256 100644
--- a/vendor/modernc.org/libc/Makefile
+++ b/vendor/modernc.org/libc/Makefile
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-.PHONY: all bench clean cover cpu editor internalError later mem nuke todo edit devbench \
+.PHONY: all bench build_all_targets clean cover cpu editor internalError later mem nuke todo edit devbench \
darwin_amd64 \
darwin_arm64 \
linux_386 \
@@ -23,20 +23,6 @@ all:
go install -v ./...
go test
go test 2>&1 -timeout 1h | tee -a $(log)
- GOOS=darwin GOARCH=amd64 go build
- GOOS=darwin GOARCH=arm64 go build
- GOOS=freebsd GOARCH=386 go build
- GOOS=freebsd GOARCH=amd64 go build
- GOOS=linux GOARCH=386 go build
- GOOS=linux GOARCH=amd64 go build
- GOOS=linux GOARCH=arm go build
- GOOS=linux GOARCH=arm64 go build
- GOOS=linux GOARCH=s390x go build
- GOOS=netbsd GOARCH=amd64 go build
- GOOS=openbsd GOARCH=amd64 go build
- GOOS=windows GOARCH=386 go build
- GOOS=windows GOARCH=amd64 go build
- GOOS=windows GOARCH=arm64 go build
# go vet -unsafeptr=false 2>&1 | grep -v $(ngrep) || true
# golint 2>&1 | grep -v $(ngrep) || true
# make todo
@@ -46,6 +32,10 @@ all:
go version
date 2>&1 | tee -a $(log)
+build_all_targets:
+ ./build_all_targets.sh
+ echo done
+
darwin_amd64:
@echo "Should be executed only on darwin/amd64."
go generate 2>&1 | tee log-generate
@@ -68,12 +58,28 @@ freebsd_386:
go generate 2>&1 | tee log-generate
go build -v ./...
+# only on freebsd/arm
+freebsd_arm:
+ @echo "Should be executed only on freebsd/arm."
+ go generate 2>&1 | tee log-generate
+ go build -v ./...
+
+freebsd_arm64:
+ go run addport.go freebsd_amd64 freebsd_arm64
+ go build -v ./...
+
# only on netbsd/amd64
netbsd_amd64:
@echo "Should be executed only on netbsd/amd64."
go generate 2>&1 | tee log-generate
go build -v ./...
+# only on netbsd/arm
+netbsd_arm:
+ @echo "Should be executed only on netbsd/arm."
+ go generate 2>&1 | tee log-generate
+ go build -v ./...
+
linux_amd64:
@echo "Should be executed only on linux/amd64."
go generate 2>&1 | tee log-generate
@@ -104,6 +110,18 @@ openbsd_amd64:
@echo "Should be executed only on openbsd/amd64."
go generate 2>&1 | tee log-generate
go build -v ./...
+ #
+# only on openbsd/386
+openbsd_386:
+ @echo "Should be executed only on openbsd/386."
+ go generate 2>&1 | tee log-generate
+ go build -v ./...
+
+# only on openbsd/arm64
+openbsd_arm64:
+ @echo "Should be executed only on openbsd/arm64."
+ go generate 2>&1 | tee log-generate
+ go build -v ./...
windows_amd64:
@echo "Should be executed only on windows/amd64."
@@ -123,41 +141,6 @@ windows_386:
all_targets: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x # windows_amd64 windows_386
echo done
-build_all_targets:
- GOOS=darwin GOARCH=amd64 go build -v ./...
- GOOS=darwin GOARCH=amd64 go test -c -o /dev/null
- GOOS=darwin GOARCH=arm64 go build -v ./...
- GOOS=darwin GOARCH=arm64 go test -c -o /dev/null
- GOOS=freebsd GOARCH=386 go build -v ./...
- GOOS=freebsd GOARCH=386 go test -c -o /dev/null
- GOOS=freebsd GOARCH=amd64 go build -v ./...
- GOOS=freebsd GOARCH=amd64 go test -c -o /dev/null
- GOOS=linux GOARCH=386 go build -v ./...
- GOOS=linux GOARCH=386 go test -c -o /dev/null
- GOOS=linux GOARCH=amd64 go build -v ./...
- GOOS=linux GOARCH=amd64 go test -c -o /dev/null
- GOOS=linux GOARCH=arm go build -v ./...
- 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 test -c -o /dev/null
- GOOS=linux GOARCH=ppc64le go test -c -o /dev/null
- GOOS=linux GOARCH=riscv64 go build -v ./...
- GOOS=linux GOARCH=riscv64 go build -v ./...
- 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=amd64 go build -v ./...
- GOOS=windows GOARCH=amd64 go test -c -o /dev/null
- GOOS=windows GOARCH=arm64 go build -v ./...
- GOOS=windows GOARCH=arm64 go test -c -o /dev/null
- echo done
-
devbench:
date 2>&1 | tee log-devbench
go test -timeout 24h -dev -run @ -bench . 2>&1 | tee -a log-devbench