Message ID | 20250724161543.2253776-5-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/7] python_pep517: set CONFIGURE_FILES | expand |
diff --git a/meta/classes-recipe/setuptools3.bbclass b/meta/classes-recipe/setuptools3.bbclass index f6194426cd9..ee83ba83277 100644 --- a/meta/classes-recipe/setuptools3.bbclass +++ b/meta/classes-recipe/setuptools3.bbclass @@ -37,6 +37,7 @@ setuptools3_do_compile() { export STAGING_LIBDIR=${STAGING_LIBDIR} nativepython3 setup.py --verbose \ + build ${PARALLEL_MAKE} \ bdist_wheel --dist-dir ${PEP517_WHEEL_PATH} \ ${SETUPTOOLS_BUILD_ARGS} }
Explicitly call the build command, as by doing this we get to pass -j. In packages without any C extensions this is mostly a no-op as bdist_wheel will call it anyway. However, this does make a big difference to build time for packages with non-trivial C extensions: python3-cython:do_compile 204.8s -> 70.9s python3-lxml:do_compile 157.5s -> 92.4s Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/classes-recipe/setuptools3.bbclass | 1 + 1 file changed, 1 insertion(+)