Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664772 - python-utils-r1.eclass python_optimize and distutils - consider using parallel python cache generation
Summary: python-utils-r1.eclass python_optimize and distutils - consider using paralle...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://docs.python.org/3.5/whatsnew/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 17:28 UTC by Mart Raudsepp
Modified: 2022-04-12 04:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.