mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
multiprocess build creates race conditions in temp build directories
This commit is contained in:
parent
495d89b22a
commit
54d159bd42
|
@ -1,6 +1,6 @@
|
|||
#/usr/bin/env python3
|
||||
|
||||
import subprocess, multiprocessing
|
||||
import subprocess
|
||||
import shutil
|
||||
import sys, getopt
|
||||
import os
|
||||
|
@ -106,11 +106,10 @@ def main(op):
|
|||
compilers[(compiler_version, 64)]),
|
||||
footer()])))
|
||||
|
||||
pool = multiprocessing.Pool()
|
||||
results = pool.map(run_script, scripts)
|
||||
results = map(run_script, scripts)
|
||||
|
||||
for (version, status, trace, err) in results:
|
||||
print ("Compiled %s: %s" % (version, status))
|
||||
print ("Compiled %s: %s" % (version, status and 'ERR' or 'OK'))
|
||||
|
||||
def run_one(op):
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user