Compare commits

...

4 commits

Author SHA1 Message Date
Anders Rytter Hansen
5f90632565 add plugin .so file 2025-06-09 19:22:17 +02:00
Anders Rytter Hansen
ae7074e35b Enable Polly 2025-06-09 19:16:12 +02:00
Anders Rytter Hansen
81be92c748 Merge branch 'master' into mesa-polly 2025-06-09 19:15:09 +02:00
Anders Rytter Hansen
5a0e9d4ed7 mesa: use Polly 2025-02-26 09:27:30 +01:00
2 changed files with 5 additions and 3 deletions

View file

@ -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 \

View file

@ -71,7 +71,7 @@ Name: mesa
Summary: Mesa graphics libraries
%global ver 25.0.7
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 10.clang.skylake%{?dist}
Release: 11.clang.skylake%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@ -119,6 +119,7 @@ BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: clang
BuildRequires: lld
BuildRequires: polly
BuildRequires: gettext
%if 0%{?with_hardware}
BuildRequires: kernel-headers
@ -418,7 +419,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=LLVMPolly.so -mllvm -polly" CXXFLAGS="$CXXFLAGS -march=skylake -mtune=skylake -O3 -fplugin=LLVMPolly.so -mllvm -polly" %meson \
-Dplatforms=x11,wayland \
-Dosmesa=true \
--buildtype=release \