Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664772

Summary: python-utils-r1.eclass python_optimize and distutils - consider using parallel python cache generation
Product: Gentoo Linux Reporter: Mart Raudsepp <leio>
Component: EclassesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://docs.python.org/3.5/whatsnew/3.5.html#compileall
Whiteboard:
Package list:
Runtime testing required: ---

Description Mart Raudsepp gentoo-dev 2018-08-28 17:28:31 UTC
Since python3.5, compileall and compile_dir() supports parallel workers for cache generation. Consider its usage in our cases for distutils, python_optimize() calls and whereever else, to sort of honor MAKEOPTS.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-28 18:32:46 UTC
I don't really see a distutils option to do that.  --jobs is only provided for build_ext, and I don't see workers= being passed anywhere else.