summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/Makefile
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-09-28 18:30:40 +0100
committerLibravatar GitHub <noreply@github.com>2022-09-28 18:30:40 +0100
commita156188b3eb5cb3da44aa1b7452265f5fa38a607 (patch)
tree7097fa48d56fbabc7c2c8750b1f3bc9321d71c0f /vendor/modernc.org/libc/Makefile
parent[bugfix] Fix emphasis being added to emoji shortcodes with markdown parsing (... (diff)
downloadgotosocial-a156188b3eb5cb3da44aa1b7452265f5fa38a607.tar.xz
[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
Diffstat (limited to 'vendor/modernc.org/libc/Makefile')
-rw-r--r--vendor/modernc.org/libc/Makefile46
1 files changed, 14 insertions, 32 deletions
diff --git a/vendor/modernc.org/libc/Makefile b/vendor/modernc.org/libc/Makefile
index 1a362dfc5..47d6548de 100644
--- a/vendor/modernc.org/libc/Makefile
+++ b/vendor/modernc.org/libc/Makefile
@@ -34,6 +34,7 @@ all:
GOOS=linux GOARCH=s390x go build
GOOS=netbsd GOARCH=amd64 go build
GOOS=openbsd GOARCH=amd64 go build
+ GOOS=openbsd GOARCH=arm64 go build
GOOS=windows GOARCH=386 go build
GOOS=windows GOARCH=amd64 go build
GOOS=windows GOARCH=arm64 go build
@@ -68,6 +69,12 @@ 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 ./...
+
# only on netbsd/amd64
netbsd_amd64:
@echo "Should be executed only on netbsd/amd64."
@@ -104,6 +111,12 @@ openbsd_amd64:
@echo "Should be executed only on openbsd/amd64."
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."
@@ -124,38 +137,7 @@ all_targets: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x # windows_a
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
+ ./build_all_targets.sh
echo done
devbench: