FS#79527 - [libvips] 8.14.2-2 is built in debug mode
Attached to Project:
Arch Linux
Opened by John Cupitt (jcupitt) - Thursday, 31 August 2023, 14:09 GMT
Last edited by Justin Kromlinger (hashworks) - Tuesday, 14 November 2023, 17:42 GMT
Opened by John Cupitt (jcupitt) - Thursday, 31 August 2023, 14:09 GMT
Last edited by Justin Kromlinger (hashworks) - Tuesday, 14 November 2023, 17:42 GMT
|
Details
libvips 8.14 defaults to a debug build. Add `--buildtype
release` to the meson command to get a release (optimised)
build.
We've changed the default to release for 8.15, but for 8.14 you need to enable a release build explicitly. Perhaps: ``` build() { meson build vips-$pkgver \ --buildtype release \ --prefix=/usr \ -Dgtk_doc=true meson compile -C build } ``` |
This task depends upon
Closed by Justin Kromlinger (hashworks)
Tuesday, 14 November 2023, 17:42 GMT
Reason for closing: Fixed
Additional comments about closing: 8.15.0-1
Tuesday, 14 November 2023, 17:42 GMT
Reason for closing: Fixed
Additional comments about closing: 8.15.0-1
[1] https://wiki.archlinux.org/title/Meson_package_guidelines
This includes things like leak checking, extra tests for casts, sanity checking, stuff like that. It's at least 2x slower than a release build.
It also prints extra annoying stuff, like a memory use summary on exit.
I learned about this on this issue, fwiw:
https://github.com/libvips/pyvips/issues/419
Also, seems libvips does runtime checks for the buildtype, independent of arch's flags or the debug symbol stripping done later, so I'm not sure if setting it to plain would help.
libvips 8.15 was released a few days ago and has changed the default build to "release", so updating the package should be enough to resolve this.
https://github.com/libvips/libvips/releases/tag/v8.15.0
There have been some changes in the dependencies: it's now libarchive instead of libgsf, and Highway instead of Orc.