mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-26 00:11:04 +00:00
libjxl: drop the sizeless-vectors PACKAGECONFIG
JPEGXL_ENABLE_SIZELESS_VECTORS no longer exists: 0.11 read it, 0.12 does not, so cmake reports it as an unused command line variable. Per target JPEGXL_ENABLE_HWY_* switches took its place. The riscv removal it carried is gone with it, and nothing is lost. In 0.11 the option defaulted to off and disabled SVE and RVV; enabling it, as the recipe did, is what pulled RVV in and broke riscv in the first place. In 0.12 RVV is listed in JPEGXL_HWY_TARGETS_OFF_BY_DEFAULT, so it is not built on any architecture -- an aarch64 build passes HWY_RVV in HWY_DISABLED_TARGETS without any help from the recipe. Built libjxl for raspberrypi4-64 from a clean state and checked that the x86-64 configuration no longer carries the dead define. AI-Generated: Uses Claude Code (Claude Opus 5) Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -40,17 +40,10 @@ EXTRA_OECMAKE = " \
|
||||
EXTRA_OECMAKE:append:aarch64 = " ${@bb.utils.contains('TUNE_FEATURES', 'sve', '', '-DJPEGXL_ENABLE_HWY_SVE=OFF -DJPEGXL_ENABLE_HWY_SVE_256=OFF', d)}"
|
||||
EXTRA_OECMAKE:append:aarch64 = " ${@bb.utils.contains('TUNE_FEATURES', 'sve2', '', '-DJPEGXL_ENABLE_HWY_SVE2=OFF -DJPEGXL_ENABLE_HWY_SVE2_128=OFF', d)}"
|
||||
|
||||
PACKAGECONFIG ?= "mime gdk-pixbuf-loader sizeless-vectors"
|
||||
# libjxl/0.10.2/recipe-sysroot/usr/include/hwy/ops/rvv-inl.h:591:17: error: use
|
||||
# of undeclared identifier '__riscv_vsetvlmax_e8mf8'
|
||||
# 591 | HWY_RVV_FOREACH(HWY_RVV_LANES, Lanes, setvlmax_e, _ALL)
|
||||
# | ^
|
||||
PACKAGECONFIG:remove:riscv64 = "sizeless-vectors"
|
||||
PACKAGECONFIG:remove:riscv32 = "sizeless-vectors"
|
||||
PACKAGECONFIG ?= "mime gdk-pixbuf-loader"
|
||||
PACKAGECONFIG[gdk-pixbuf-loader] = "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf"
|
||||
PACKAGECONFIG[gimp] = "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp"
|
||||
PACKAGECONFIG[mime] = "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"
|
||||
PACKAGECONFIG[sizeless-vectors] = "-DJPEGXL_ENABLE_SIZELESS_VECTORS=ON,-DJPEGXL_ENABLE_SIZELESS_VECTORS=OFF"
|
||||
|
||||
# lcms/src/cmsps2.c
|
||||
# error: out of range pc-relative fixup value
|
||||
|
||||
Reference in New Issue
Block a user