From 5a0e9d4ed7ba90d84f088422d9839fc73f20595f Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Wed, 26 Feb 2025 09:27:30 +0100 Subject: [PATCH] mesa: use Polly --- my-ostree-os/mesa.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/my-ostree-os/mesa.spec b/my-ostree-os/mesa.spec index a422c86..af81f3d 100644 --- a/my-ostree-os/mesa.spec +++ b/my-ostree-os/mesa.spec @@ -95,6 +95,7 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: clang BuildRequires: lld +BuildRequires: polly BuildRequires: gettext %if 0%{?with_hardware} BuildRequires: kernel-headers @@ -409,7 +410,7 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" %rewrite_wrap_file paste %endif -CFLAGS="$CFLAGS -march=skylake -mtune=skylake -O3" CXXFLAGS="$CXXFLAGS -march=skylake -mtune=skylake -O3" %meson \ +CFLAGS="$CFLAGS -march=skylake -mtune=skylake -O3 -fplugin=/usr/lib64/llvm19/lib/libPolly.so.19.1 -mllvm -polly" CXXFLAGS="$CXXFLAGS -march=skylake -mtune=skylake -O3 -fplugin=/usr/lib64/llvm19/lib/libPolly.so.19.1 -mllvm -polly" %meson \ -Dplatforms=x11,wayland \ -Dosmesa=true \ --buildtype=release \