Some questions about next versions of SIP

Florian Bruhin me at the-compiler.org
Wed Sep 16 10:04:56 BST 2020


On Wed, Sep 16, 2020 at 09:31:27AM +0100, Phil Thompson wrote:
> On 16/09/2020 04:19, Kovid Goyal wrote:
> > On Tue, Sep 15, 2020 at 10:46:30PM +0530, Kovid Goyal wrote:
> > > Best I can come up with is to use sip-build and install manually
> > > myself
> > 
> > That's what I ended up doing. Another question, how do I get sip-build
> > to use multiple CPU cores? With configure.py there was -j there doesnt
> > seem
> > to be any equivalent in sip-build. Makes building PyQt unnecessarily
> > slow.
> 
> You can run sip-build with --no-make and run make separately. Or I can add
> an option. I'm happy to add options, features etc. to fix gaps in the
> current implementation.

FWIW I'd also appreciate to have an option to easily parallelize builds
without having to call make separately.

We're now at a point where it doesn't seem very exotic to have 12-16
cores in an affordable, portable 14" laptop[1], so IMHO it should be as
easy as possible to utilize those, as it does make things a lot faster.

Maybe it should even default to the number of available cores (i.e.
"nproc")? Though others might prefer using a single job by default like
make does as well, not sure.

Florian

[1] https://www.lenovo.com/us/en/laptops/thinkpad/thinkpad-t-series/ThinkPad-T14-AMD-G1/p/22TPT14T4A2

-- 
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200916/14cad347/attachment.sig>


More information about the PyQt mailing list