diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-04 12:58:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-04 13:05:48 +0200 |
commit | 2bd2ea2920752cdecc769ebb85e22c261ba431da (patch) | |
tree | 722c6379fd64f59f3897f742a5ff18948a955bd8 | |
parent | 842051888eea9b260d9243870b76ffeffe5c02bd (diff) |
Makefile: workaround Eclipse Gitlab rate limiting
Got this while pulling in the entire set of deps:
"""
remote: You have reached the limit of requests you can make to Eclipse GitLab.
This could be caused by too many open tabs, which query the GitLab server in
the background. Please close unused tabs, or put them to sleep so they don't
issue requests needlessly.
"""
Change-Id: I5866154a6af88875a446e092f0926cdc4a1a9fc4
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -65,9 +65,11 @@ PARALLEL_MAKE ?= -j$(NPROC) default: deps all +# Eclipse GitLab has rate limiting and sometimes to many concurrent conns fail. +# If -jN fails, retry with -j1. .PHONY: deps deps: - $(MAKE) $(PARALLEL_MAKE) -C deps + ($(MAKE) $(PARALLEL_MAKE) -C deps || $(MAKE) -j1 -C deps) # deps-update target for backwards compat; now does the same as 'make deps' .PHONY: deps-update |