Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: py-qt6: split configure and build steps
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org
Date:
Tue, 19 Aug 2025 15:35:27 +0200

Download raw body.

Thread
Le Tue, Aug 19, 2025 at 03:01:48PM +0200, Theo Buehler a écrit :
> Currently py-qt6 builds itself in the configure step, in a single
> thread that takes well over two hours on a fast machine. In the
> latest exopi bulk:
> 
> max_stuck=291.37/depends=17.09/show-prepare-results=5.24/patch=0.86/configure=8543.77/build=6.05/fake=17.14/package=40.79/clean=0.89
> 
> With the diff below, I could configure it in 10 minutes and build it
> in ~15 minutes with -j8 on an 8-core laptop. The plist grew some .pyi
> files, which I think is fine.

oh wow. nice find... with that diff, some c++ files are still built at
the start of configure, and some leengthy 'Generating the * bindings/pyi
file' steps are still done during configure, but that's still a large
win...

time make configure -> 6mn
time make MAKE_JOBS=24 -> 5m46.40s real 61m22.39s user 39m33.70s system

> I don't use anything using this and don't plan to, so it's only build
> tested.

will test qgis at runtime shortly.

> If this works and is acceptable, I think we can give py-qt5 the
> same treatment. Setting DPB_PROPERTIES = parallel can then be
> considered separately.

oh definitely !