[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Some questions about next versions of SIP
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2020-09-18 19:22:37
Message-ID: 4A4E16FE-45BD-4CE7-92DD-7D4E97E9EF51 () gmail ! com
[Download RAW message or body]

I have always appreciated anything like a —jobs option. MAKEFLAGS sometimes works \
but isn't always reliable for qt/pyqt5 builds, and it has sometimes been clear where \
to add a "-jN" option in the pyqtdeploy source code but only in a minority of cases \
and versions.

> On Sep 18, 2020, at 3:42 AM, Phil Thompson <phil@riverbankcomputing.com> wrote:
> 
> On 16/09/2020 10:04, Florian Bruhin wrote:
> > 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.
> 
> I've added a --jobs option.
> 
> Phil


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">I have always appreciated anything like a \
—jobs option. MAKEFLAGS sometimes works but isn't always reliable for qt/pyqt5 \
builds, and it has sometimes been clear where to add a "-jN" option in the pyqtdeploy \
source code but only in a minority of cases and versions.<br class=""><div><br \
class=""><blockquote type="cite" class=""><div class="">On Sep 18, 2020, at 3:42 AM, \
Phil Thompson &lt;<a href="mailto:phil@riverbankcomputing.com" \
class="">phil@riverbankcomputing.com</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, \
0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: \
normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: \
0px; text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">On 16/09/2020 10:04, Florian Bruhin wrote:</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class="">On Wed, Sep 16, 2020 \
at 09:31:27AM +0100, Phil Thompson wrote:<br class=""><blockquote type="cite" \
class="">On 16/09/2020 04:19, Kovid Goyal wrote:<br class="">&gt; On Tue, Sep 15, \
2020 at 10:46:30PM +0530, Kovid Goyal wrote:<br class="">&gt; &gt; Best I can come up \
with is to use sip-build and install manually<br class="">&gt; &gt; myself<br \
class="">&gt;<br class="">&gt; That's what I ended up doing. Another question, how do \
I get sip-build<br class="">&gt; to use multiple CPU cores? With configure.py there \
was -j there doesnt<br class="">&gt; seem<br class="">&gt; to be any equivalent in \
sip-build. Makes building PyQt unnecessarily<br class="">&gt; slow.<br class="">You \
can run sip-build with --no-make and run make separately. Or I can add<br class="">an \
option. I'm happy to add options, features etc. to fix gaps in the<br \
class="">current implementation.<br class=""></blockquote>FWIW I'd also appreciate to \
have an option to easily parallelize builds<br class="">without having to call make \
separately.<br class="">We're now at a point where it doesn't seem very exotic to \
have 12-16<br class="">cores in an affordable, portable 14" laptop[1], so IMHO it \
should be as<br class="">easy as possible to utilize those, as it does make things a \
lot faster.<br class="">Maybe it should even default to the number of available cores \
(i.e.<br class="">"nproc")? Though others might prefer using a single job by default \
like<br class="">make does as well, not sure.<br class=""></blockquote><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" class="">I've added \
a --jobs option.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" \
class="">Phil</span></div></blockquote></div><br class=""></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic