mirror of
https://github.com/andersrh/copr-andersrh.git
synced 2026-05-17 13:58:01 +00:00
LTO-kernel: enable Clang Polly
This commit is contained in:
parent
d4f2437783
commit
5e3b2b0552
1 changed files with 4 additions and 1 deletions
|
|
@ -73,7 +73,7 @@
|
|||
Name: kernel-cachyos-lts%{?_lto_args:-lto}-skylake
|
||||
Summary: Linux BORE %{?_lto_args:+ LTO }Cachy Sauce Kernel by CachyOS with other patches and improvements.
|
||||
Version: %{_basekver}.%{_stablekver}
|
||||
Release: cachylts1%{?_lto_args:.lto}.skylake%{?dist}
|
||||
Release: cachylts4%{?_lto_args:.lto}.skylake%{?dist}
|
||||
License: GPL-2.0-only
|
||||
URL: https://cachyos.org
|
||||
|
||||
|
|
@ -107,6 +107,7 @@ BuildRequires: python-srpm-macros
|
|||
BuildRequires: clang
|
||||
BuildRequires: lld
|
||||
BuildRequires: llvm
|
||||
BuildRequires: polly
|
||||
%endif
|
||||
|
||||
%if %{_build_nv}
|
||||
|
|
@ -133,6 +134,7 @@ Patch1: %{_patch_src}/sched/0001-bore-cachy.patch
|
|||
|
||||
%if %{_build_lto}
|
||||
Patch2: %{_patch_src}/misc/dkms-clang.patch
|
||||
Patch3: %{_patch_src}/misc/0001-clang-polly.patch
|
||||
%endif
|
||||
|
||||
%if %{_build_nv}
|
||||
|
|
@ -185,6 +187,7 @@ Patch13: %{_patch_src}/misc/nvidia/565/0005-nvkms-Sanitize-trim-ELD-produ
|
|||
|
||||
%if %{_build_lto}
|
||||
scripts/config -e LTO_CLANG_THIN
|
||||
scripts/config -e POLLY_CLANG
|
||||
%endif
|
||||
|
||||
%if %{_build_minimal}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue