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
This commit is contained in:
Dmitry Vyukov 2020-05-01 12:44:15 +02:00
parent e54e9781a4
commit 43dc635b4f

View File

@ -315,7 +315,20 @@ presubmit: descriptions
$(MAKE) check_copyright $(MAKE) check_copyright
$(MAKE) check_links $(MAKE) check_links
$(MAKE) lint $(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 echo LGTM
presubmit_parallel: test test_race arch presubmit_parallel: test test_race arch