aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-08-10 11:53:05 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-08-10 12:07:40 +0200
commita6201f1167d158d5a0538c3d29bc3b2bebb0a4fd (patch)
tree1b21c413aa71c4b560d8357da4fd57779e8cf292 /Makefile
parent8fad22bf840fc968171bee6cf294f026eb1e0d3a (diff)
Makefile: split presubmit_arch_other target
presubmit_arch_other is now the slowest presubmit step taking 7-8 mins. Split it per OS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f5c4e8389..a676db9fa 100644
--- a/Makefile
+++ b/Makefile
@@ -104,7 +104,8 @@ endif
format format_go format_cpp format_sys \
tidy test test_race \
check_copyright check_language check_whitespace check_links check_diff check_commits check_shebang \
- presubmit presubmit_aux presubmit_build presubmit_arch_linux presubmit_arch_freebsd presubmit_arch_other \
+ presubmit presubmit_aux presubmit_build presubmit_arch_linux presubmit_arch_freebsd \
+ presubmit_arch_netbsd presubmit_arch_openbsd presubmit_arch_darwin presubmit_arch_windows \
presubmit_arch_executor presubmit_big presubmit_race presubmit_old
all: host target
@@ -288,7 +289,10 @@ presubmit:
$(MAKE) presubmit_build
$(MAKE) presubmit_arch_linux
$(MAKE) presubmit_arch_freebsd
- $(MAKE) presubmit_arch_other
+ $(MAKE) presubmit_arch_netbsd
+ $(MAKE) presubmit_arch_openbsd
+ $(MAKE) presubmit_arch_darwin
+ $(MAKE) presubmit_arch_windows
$(MAKE) presubmit_arch_executor
$(MAKE) presubmit_race
@@ -319,12 +323,18 @@ presubmit_arch_freebsd: descriptions
env TARGETOS=freebsd TARGETARCH=amd64 $(MAKE) target
env TARGETOS=freebsd TARGETARCH=386 $(MAKE) target
-presubmit_arch_other: descriptions
+presubmit_arch_netbsd: descriptions
env HOSTOS=netbsd HOSTARCH=amd64 $(MAKE) host
- env HOSTOS=openbsd HOSTARCH=amd64 $(MAKE) host
- env HOSTOS=darwin HOSTARCH=amd64 $(MAKE) host
env TARGETOS=netbsd TARGETARCH=amd64 $(MAKE) target
+
+presubmit_arch_openbsd: descriptions
+ env HOSTOS=openbsd HOSTARCH=amd64 $(MAKE) host
env TARGETOS=openbsd TARGETARCH=amd64 $(MAKE) target
+
+presubmit_arch_darwin: descriptions
+ env HOSTOS=darwin HOSTARCH=amd64 $(MAKE) host
+
+presubmit_arch_windows: descriptions
env TARGETOS=windows TARGETARCH=amd64 $(MAKE) target
presubmit_arch_executor: descriptions