Bug 1593948 - Touch clobber in configure.py instead of clobber.py; r=firefox-build-system-reviewers,chmanchester
If configure is invoked manually, clobber.py is bypassed and the CLOBBER file doesn't get touched. The clobber check in Makefile.in gets triggered causing the build to stop. Moving the objdir/CLOBBER file creation into configure.py should cause it to be created regardless of how configure is invoked. Depends on D53290 Differential Revision: https://phabricator.services.mozilla.com/D53291
This commit is contained in:
@@ -34,6 +34,12 @@ def main(argv):
|
||||
|
||||
sandbox = ConfigureSandbox(config, os.environ, argv)
|
||||
|
||||
clobber_file = 'CLOBBER'
|
||||
if not os.path.exists(clobber_file):
|
||||
# Simply touch the file.
|
||||
with open(clobber_file, 'a'):
|
||||
pass
|
||||
|
||||
if os.environ.get('MOZ_CONFIGURE_TRACE'):
|
||||
sandbox._logger.setLevel(TRACE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user