diff options
author | Rui Xue <r-xue@users.noreply.github.com> | 2020-09-02 02:15:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 00:15:39 -0700 |
commit | d9b945f663d815273590e21e1f4caed61fc11453 (patch) | |
tree | af7c645ac738f3f6c434e5a6db4a43590841e597 /bin/sbang | |
parent | 0740a4ac7e5dd0ba1256ab081f8529a4792a00de (diff) | |
download | spack-d9b945f663d815273590e21e1f4caed61fc11453.tar.gz spack-d9b945f663d815273590e21e1f4caed61fc11453.tar.bz2 spack-d9b945f663d815273590e21e1f4caed61fc11453.tar.xz spack-d9b945f663d815273590e21e1f4caed61fc11453.zip |
Mac OS: support Python >= 3.8 by using fork-based multiprocessing (#18124)
As detailed in https://bugs.python.org/issue33725, starting new
processes with 'fork' on Mac OS is not guaranteed to work in general.
As of Python 3.8 the default process spawning mechanism was changed
to avoid this issue.
Spack depends on the fork-based method to preserve file descriptors
transparently, to preserve global state, and to avoid pickling some
objects. An effort is underway to remove dependence on fork-based
process spawning (see #18205). In the meantime, this allows Spack to
run with Python 3.8 on Mac OS by explicitly choosing to use 'fork'.
Co-authored-by: Peter Josef Scheibel <scheibel1@llnl.gov>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'bin/sbang')
0 files changed, 0 insertions, 0 deletions