Stéphane Wirtel <steph...@wirtel.be> added the comment:

Hi @Raymond

I use this script since 1 year for the compilation of Python,

https://github.com/python/cpython/pull/11773#issuecomment-461179522

#!/usr/bin/env fish

set number_of_cpu (python3 -c "import os; 
print(os.sysconf('SC_NPROCESSORS_ONLN'))")

./configure --prefix=$PWD-build --with-pydebug --silent -C > stdout.txt ^ 
stderr.txt
make CC="/usr/bin/ccache gcc" --jobs $number_of_cpu --silent > stdout.txt ^ 
stderr.txt


Really useful because I use the cache of configure.ac and ccache for makefile. 
Now we could use distcc (for a distributed compilation or alternative) but I 
don't think the result will be really significative.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35921>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to