[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119790: libadwaita-1: Please force softpipe on powerpc and sparc64



Source: libadwaita-1
Version: 1.8.1-1
Severity: normal
Tags: patch
User: debian-sparc@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@lists.debian.org

Hi,

similar to gtk4, libadwaita-1 needs to runs its tests with softpipe to
make the testsuite pass which currently fails due to missing JIT support
in LLVM on these targets [1].

Could you apply the following change?

--- debian/rules.orig   2025-03-14 21:44:37.000000000 +0100
+++ debian/rules        2025-10-31 13:02:28.419274928 +0100
@@ -12,6 +12,11 @@
 BUILD_DOCS := -Ddocumentation=false
 endif
 
+ifneq ($(filter powerpc sparc%,$(DEB_HOST_ARCH_CPU)),)
+export GALLIUM_DRIVER=softpipe
+export DRAW_USE_LLVM=0
+endif
+
 %:
        dh $@
 
Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=libadwaita-1&arch=sparc64&ver=1.8.1-1&stamp=1760743594&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- debian/rules.orig	2025-03-14 21:44:37.000000000 +0100
+++ debian/rules	2025-10-31 13:02:28.419274928 +0100
@@ -12,6 +12,11 @@
 BUILD_DOCS := -Ddocumentation=false
 endif
 
+ifneq ($(filter powerpc sparc%,$(DEB_HOST_ARCH_CPU)),)
+export GALLIUM_DRIVER=softpipe
+export DRAW_USE_LLVM=0
+endif
+
 %:
 	dh $@
 

Reply to: