Subject: mesa: Disable llvmpipe on loong64
Source: mesa
Severity: normal

Dear Maintainer,

The loongarch architecture of llvm does not support mcjit, so don't use llvmpipe in loongarch at this time.

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

--- mesa-24.1.6/debian/rules	2024-08-14 18:59:52.000000000 +0000
+++ mesa/debian/rules	2024-08-15 12:28:05.172600973 +0000
@@ -109,8 +109,8 @@
   ifneq (,$(filter $(DEB_HOST_ARCH), $(LLVM_ARCHS)))
 	GALLIUM_DRIVERS += radeonsi zink
 
-	# Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet
-	ifneq (,$(filter $(DEB_HOST_ARCH), riscv64))
+	# Only enable amd on loong64 riscv64, swrast needs CPU JIT support which doesn't work properly yet
+	ifneq (,$(filter $(DEB_HOST_ARCH), loong64 riscv64))
 		VULKAN_DRIVERS += amd
 		confflags_GALLIUM += -Ddraw-use-llvm=false
 	else

Reply via email to