mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
setuptools3: pass -j to build step
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 (From OE-Core rev: 96d13feaa881ae4d275d16f7efca92dbd075241b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
20c2eb15db
commit
409d49c670
@@ -38,6 +38,7 @@ setuptools3_do_compile() {
|
||||
export STAGING_LIBDIR=${STAGING_LIBDIR}
|
||||
|
||||
nativepython3 setup.py --verbose \
|
||||
build ${@oe.utils.parallel_make_argument(d, "-j %d")} \
|
||||
bdist_wheel --dist-dir ${PEP517_WHEEL_PATH} \
|
||||
${SETUPTOOLS_BUILD_ARGS}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user