Skip to content

Conversation

@kleisauke
Copy link
Member

Ensure vips_vector_get_supported_targets() only reports targets that were actually compiled into libvips by intersecting the CPU supported targets with the builtin targets.

Resolves: #4815.

Ensure `vips_vector_get_supported_targets()` only reports targets that
were actually compiled into libvips by intersecting the CPU supported
targets with the builtin targets.

Resolves: libvips#4815.
@kleisauke
Copy link
Member Author

For reference, tested using:

$ podman run --rm -it --platform=linux/s390x -e QEMU_CPU=max fedora:latest
$ dnf install gcc-c++ meson git glib2-devel expat-devel highway-devel
$ git clone -b issue-4815 https://github.com/kleisauke/libvips.git
$ cd libvips
$ meson setup build --prefix=/usr -D{deprecated,examples}=false
$ meson compile -C build
$ meson install -C build
$ vips --targets
builtin targets:   SCALAR
supported targets: none

@mtasaka
Copy link

mtasaka commented Dec 20, 2025

And actually this PR fixes https://bugzilla.redhat.com/show_bug.cgi?id=2421762 . 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vips_thumbnail produces meaningless image on s390x

3 participants