Skip to content

Commit

Permalink
mesa-aco: can't build rusticl on i386
Browse files Browse the repository at this point in the history
Fixes #14
  • Loading branch information
ernstp committed Feb 23, 2023
1 parent e971c6f commit 8fd24a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mesa-aco/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Build-Depends:
zlib1g-dev,
libglvnd-core-dev (>= 1.3.2),
valgrind [amd64 arm64 armhf i386 mips64el mipsel powerpc ppc64 ppc64el s390x],
bindgen,
rustc,
bindgen [amd64],
rustc [amd64],
Vcs-Git: https://salsa.debian.org/xorg-team/lib/mesa.git
Vcs-Browser: https://salsa.debian.org/xorg-team/lib/mesa
Homepage: https://mesa3d.org/
Expand Down
5 changes: 1 addition & 4 deletions mesa-aco/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

dpkg_late_eval ?= $(or $(value DPKG_CACHE_$(1)),$(eval DPKG_CACHE_$(1) := $(shell $(2)))$(value DPKG_CACHE_$(1)))
DEB_DISTRIBUTION = $(call dpkg_late_eval,DEB_DISTRIBUTION,dpkg-parsechangelog -SDistribution)

# for finding the correct llvm-config when meson doesn't know about it yet
export PATH:=/usr/lib/llvm-15/bin/:/usr/lib/llvm-14/bin/:/usr/lib/llvm-13/bin/:/usr/lib/llvm-12/bin/:/usr/lib/llvm-11/bin/:$(PATH)

Expand Down Expand Up @@ -128,7 +125,7 @@ else
GALLIUM_DRIVERS += radeonsi
confflags_GALLIUM += -Dllvm=enabled
confflags_GALLIUM += -Dgallium-opencl=icd
ifneq ($(DEB_DISTRIBUTION),focal)
ifeq ($(DEB_HOST_ARCH),amd64)
confflags_GALLIUM += -Dgallium-rusticl=true
endif

Expand Down
2 changes: 1 addition & 1 deletion mesa-aco/settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ GIT="https://gitlab.freedesktop.org/mesa/mesa.git"
GITBRANCH="main"
DISTROS="focal jammy kinetic lunar"
PREBUMP=1
INC=2
INC=3
PPA=mesaaco

0 comments on commit 8fd24a7

Please sign in to comment.