[QGIS-Developer] sip-build takes too long to complete

Stefanos Natsis uclaros at gmail.com
Thu Apr 6 05:21:47 PDT 2023


Thanks for the feedback!

Apparently, I had both sip 4.19.25 and sip-tools 6.7.7 installed which was
possibly causing the slowness.
I brought build times back to normal by doing the following:

- remove all sip-tools 6.7.7 related packages
- install the missing sip-dev package
- delete the SIP_BUILD_EXECUTABLE entry in ccmake
- when configuring, QSCI_SIP_DIR was populated instead
- generate
- delete the build/python/ directory
- ninja

Regards,
Stefanos

On Thu, 6 Apr 2023 at 03:48, Nyall Dawson <nyall.dawson at gmail.com> wrote:

> On Thu, 6 Apr 2023 at 03:03, Julien Cabieces via QGIS-Developer
> <qgis-developer at lists.osgeo.org> wrote:
> >
> >
> > Hi,
> >
> > While working on building QGIS python binding with SIP 6/PyQT6, it seems
> > to me that it takes more time than my classic setup (SIP 4.19.25/PyQT
> > 5.15.7) but no as much as you describe.
>
> This matches my findings -- sip 6 is much slower than sip 4.
>
> That said, ~10 minutes to build is dramatically longer than I see on
> sip 6. On 6.6.2 the sip builds might take ~30 seconds for me. (Fedora
> 37)
>
> Nyall
>
>
> >
> > You can try to downgrade your SIP version. I'm also on debian testing
> > and current python3-sip version is 4.19.25). Did you install it with
> > pip?
> >
> > Regards,
> > Julien
> >
> > > Hi list,
> > > lately, while building QGIS with any sip related change, some of the
> triggered `sip-build` processes take too long to complete (two of them take
> 10 minutes,
> > > one takes 15' and one takes 25' roughly)
> > > Is this normal or is it some quirk on my setup? (Debian testing, sip
> 6.7.7)
> > >
> > > Thanks,
> > > Stefanos
> > >
> > > _______________________________________________
> > > QGIS-Developer mailing list
> > > QGIS-Developer at lists.osgeo.org
> > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> > --
> >
> > Julien Cabieces
> > Senior Developer at Oslandia
> > julien.cabieces at oslandia.com
> > 09.72.52.52.76
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230406/52cfcd2a/attachment.htm>


More information about the QGIS-Developer mailing list