mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 872856 - Temporarily increase Python recursion limit in pymake; r=ted
This commit is contained in:
parent
d881e6a11a
commit
3a41b0cbea
@ -17,6 +17,13 @@ if __name__ == '__main__':
|
||||
|
||||
gc.disable()
|
||||
|
||||
# This is meant as a temporary workaround until issues with many targets
|
||||
# and prerequisites is addressed. Bug 874210 tracks.
|
||||
try:
|
||||
sys.setrecursionlimit(2 * sys.getrecursionlimit())
|
||||
except Exception:
|
||||
print >>sys.stderr, 'Unable to increase Python recursion limit.'
|
||||
|
||||
pymake.command.main(sys.argv[1:], os.environ, os.getcwd(), cb=sys.exit)
|
||||
pymake.process.ParallelContext.spin()
|
||||
assert False, "Not reached"
|
||||
|
Loading…
Reference in New Issue
Block a user