From 4fd0a7672777f0ed15692ae2ba47838208537558 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 27 Nov 2022 00:42:16 +0100 Subject: Update dependencies (#1929) --- vendor/modernc.org/libc/Makefile | 83 ++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 50 deletions(-) (limited to 'vendor/modernc.org/libc/Makefile') 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 -- cgit v1.2.3