forked from mirrors/gecko-dev
Bug 1802075 - Avoid calling "--stop-server" as a command on local build failure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D162814
This commit is contained in:
parent
667209b76a
commit
83caa2d8dc
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ endif
|
||||||
|
|
||||||
MOZ_MAKE = $(MAKE) $(MOZ_MAKE_FLAGS) -C $(OBJDIR)
|
MOZ_MAKE = $(MAKE) $(MOZ_MAKE_FLAGS) -C $(OBJDIR)
|
||||||
|
|
||||||
|
ifdef MOZBUILD_MANAGE_SCCACHE_DAEMON
|
||||||
# In automation, manage an sccache daemon. The starting of the server
|
# In automation, manage an sccache daemon. The starting of the server
|
||||||
# needs to be in a make file so sccache inherits the jobserver.
|
# needs to be in a make file so sccache inherits the jobserver.
|
||||||
SCCACHE_STOP = $(MOZBUILD_MANAGE_SCCACHE_DAEMON) --stop-server
|
SCCACHE_STOP = $(MOZBUILD_MANAGE_SCCACHE_DAEMON) --stop-server
|
||||||
|
|
@ -42,6 +43,7 @@ SCCACHE_STOP = $(MOZBUILD_MANAGE_SCCACHE_DAEMON) --stop-server
|
||||||
# However, we also need to preserve the command's exit code, thus the
|
# However, we also need to preserve the command's exit code, thus the
|
||||||
# gymnastics.
|
# gymnastics.
|
||||||
SCCACHE_STOP_ON_FAILURE = || (x=$$?; $(SCCACHE_STOP) || true; exit $$x)
|
SCCACHE_STOP_ON_FAILURE = || (x=$$?; $(SCCACHE_STOP) || true; exit $$x)
|
||||||
|
endif
|
||||||
|
|
||||||
# The default rule is build
|
# The default rule is build
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue