Update rules
This commit is contained in:
parent
5118380da4
commit
8fd2631ab6
16
debian/rules
vendored
16
debian/rules
vendored
@ -13,7 +13,7 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
|||||||
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
|
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
|
||||||
|
|
||||||
# for finding the correct llvm-config when meson doesn't know about it yet
|
# for finding the correct llvm-config when meson doesn't know about it yet
|
||||||
LLVM_VERSION = 15
|
LLVM_VERSION = 17
|
||||||
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
|
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
|
||||||
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
|
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
|
||||||
@ -54,7 +54,7 @@ LLVM_ARCHS = amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 ppc6
|
|||||||
RUSTICL_ARCHS = amd64 arm64 armel armhf mips64el mipsel ppc64el s390x
|
RUSTICL_ARCHS = amd64 arm64 armel armhf mips64el mipsel ppc64el s390x
|
||||||
#ifeq ($(DEB_DISTRIBUTION), jammy)
|
#ifeq ($(DEB_DISTRIBUTION), jammy)
|
||||||
# RUSTICL_ARCHS = arm64
|
# RUSTICL_ARCHS = arm64
|
||||||
#else
|
#endif
|
||||||
VALGRIND_ARCHS = amd64 arm64 armhf i386 mips64el mipsel powerpc ppc64 ppc64el s390x
|
VALGRIND_ARCHS = amd64 arm64 armhf i386 mips64el mipsel powerpc ppc64 ppc64el s390x
|
||||||
WINE_ARCHS = amd64 arm64 armel armhf i386 powerpc
|
WINE_ARCHS = amd64 arm64 armel armhf i386 powerpc
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ else
|
|||||||
# radv/lavapipe needs LLVM and the Vulkan loader, so only build on the subset of
|
# radv/lavapipe needs LLVM and the Vulkan loader, so only build on the subset of
|
||||||
# arches where we have LLVM enabled and where the Vulkan loader is built.
|
# arches where we have LLVM enabled and where the Vulkan loader is built.
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 ppc64el s390x sparc64))
|
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64 ppc64el s390x sparc64))
|
||||||
VULKAN_DRIVERS += amd swrast
|
VULKAN_DRIVERS += amd swrast virtio nouveau-experimental
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet
|
# Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet
|
||||||
@ -90,13 +90,14 @@ else
|
|||||||
|
|
||||||
# Freedreno requires arm in addition
|
# Freedreno requires arm in addition
|
||||||
ifneq (,$(filter arm arm64,$(DEB_HOST_ARCH_CPU)))
|
ifneq (,$(filter arm arm64,$(DEB_HOST_ARCH_CPU)))
|
||||||
|
# GALLIUM_DRIVERS += freedreno asahi #9697
|
||||||
GALLIUM_DRIVERS += freedreno
|
GALLIUM_DRIVERS += freedreno
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# etnaviv, tegra, vc4 and v3d kernel support are only available on armhf and arm64
|
# etnaviv, tegra, vc4 and v3d kernel support are only available on armhf and arm64
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64))
|
ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64))
|
||||||
GALLIUM_DRIVERS += etnaviv panfrost svga tegra vc4 v3d
|
GALLIUM_DRIVERS += etnaviv panfrost svga tegra vc4 v3d
|
||||||
VULKAN_DRIVERS += broadcom freedreno
|
VULKAN_DRIVERS += broadcom freedreno panfrost
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64 riscv64))
|
ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64 riscv64))
|
||||||
@ -170,9 +171,10 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DEB_HOST_ARCH), i386)
|
# bug #9762
|
||||||
confflags_SSE2 = -Dsse2=false
|
#ifeq ($(DEB_HOST_ARCH), i386)
|
||||||
endif
|
# confflags_SSE2 = -Dsse2=false
|
||||||
|
#endif
|
||||||
|
|
||||||
empty:=
|
empty:=
|
||||||
space := $(empty) $(empty)
|
space := $(empty) $(empty)
|
||||||
|
Loading…
Reference in New Issue
Block a user