aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-05-01 12:44:15 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-01 13:31:17 +0200
commit43dc635b4f46cdebced3702b6c5a4f935e8c3643 (patch)
tree8498c404c4c942aada595119ef17eed4d8745bdf
parente54e9781a4e043b3140b0c908ba4f4e469fd317e (diff)
Makefile: reduce presubmit size
Run fewer builds in presubmit. Also run them sequentially instead of parallel. The current presubmit OOMs on CI every other time, this is not useful. Update #1699
-rw-r--r--Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c450c567c..164a32642 100644
--- a/Makefile
+++ b/Makefile
@@ -315,7 +315,20 @@ presubmit: descriptions
$(MAKE) check_copyright
$(MAKE) check_links
$(MAKE) lint
- $(MAKE) presubmit_parallel
+ # We used to run presubmit_parallel instead of the following,
+ # but currently it OOMs on CI (see #1699).
+ # $(MAKE) presubmit_parallel
+ $(MAKE) test
+ $(MAKE) arch_linux_amd64_host
+ $(MAKE) arch_freebsd_amd64_host
+ $(MAKE) arch_netbsd_amd64_host
+ $(MAKE) arch_openbsd_amd64_host
+ $(MAKE) arch_linux_amd64_target
+ $(MAKE) arch_linux_arm64_target
+ $(MAKE) arch_freebsd_amd64_target
+ $(MAKE) arch_netbsd_amd64_target
+ $(MAKE) arch_openbsd_amd64_target
+ $(MAKE) arch_test
echo LGTM
presubmit_parallel: test test_race arch