Skip to contentSkip to conversation

package/pixman: Don't require vector when BR2_RISCV_ISA_RVV

PATCH New Bernd Kuhls 1 participant 1 message Mar 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pixman: Don't require vector when BR2_RISCV_ISA_RVV

From: Charlie Jenkins <[email protected]>

If -Drvv=enabled is set but the toolchain doesn't have kernel headers with vector support, pixman will fail with the error:

"RISC-V Vector Support unavailable, but required"

When BR2_RISCV_ISA_RVV is set, let pixman decide if it wants to use vector instead.

[Bernd: added link to current autobuilder error]

---
The original patch https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
is marked as Superseded on patchworks but I could not find a follow-up
to it so I re-sent it today.

Somehow my review from Nov 2025
https://lists.buildroot.org/pipermail/buildroot/2025-November/790414.html
did not make it through to patchworks most likely due to the fact that gmane.io rewrites mail addresses which might confuse patchworks.

 package/pixman/pixman.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
package/pixman/pixman.mk +1 -3
index d02bb0a260..6157ee0b47 100644
@@ -67,9 +67,7 @@ else
 PIXMAN_CONF_OPTS += -Da64-neon=disabled
 endif
 
-ifeq ($(BR2_RISCV_ISA_RVV),y)
-PIXMAN_CONF_OPTS += -Drvv=enabled
-else
+ifneq ($(BR2_RISCV_ISA_RVV),y)
 PIXMAN_CONF_OPTS += -Drvv=disabled
 endif
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot