commit | 029b43b33ae8cb0563ad95b199928691980c8d05 | [log] [tgz] |
---|---|---|
author | Chandan Singh <chandan@chandansingh.net> | Mon Aug 24 22:53:30 2020 +0100 |
committer | Chandan Singh <chandan@chandansingh.net> | Mon Aug 24 22:53:30 2020 +0100 |
tree | 68d528b3b9b4898fe43337f7fed26a67f8540a6b | |
parent | 41204fc7ebb26731c39600a0c0f1a9e5830e5812 [diff] |
Force multiprocessing method to be fork if available Since Python 3.8, the multiprocessing module defaults to the spawn method on MacOS, since the fork method is considered unsafe. However, BuildStream is not compatible with spawn mode so we force the default to fork (if available) which works for the most part. See https://lists.apache.org/thread.html/r08edd3dd10ce3039da5eb01f0722d25c44406ab8afadcc3ae78a5414%40%3Cdev.buildstream.apache.org%3E for some related discussion.