From e17fe2ae5f8cf5e5629564fea2985101f8ca8158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 6 Jan 2021 17:56:36 +0100 Subject: [PATCH] add a mention about faster builds --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index ffc25dc..929e861 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,20 @@ a part of your pull request as well! Note what have you changed in [CHANGELOG.md](/CHANGELOG.md) as well! +Accelerating builds +------------------- + +distutils by default compiles using a single process. To enable faster, multiprocess compilations +just type: + +```python +from snakehouse import monkey_patch_parallel_compilation + +monkey_patch_parallel_compilation() +```` + +Before your `setup()` call. + Usage notes - MANDATORY READING ------------------------------- Take a look at [example](example/) on how to multi-build your Cython extensions. -- GitLab