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
|
Name: kernel-cachyos-lts%{?_lto_args:-lto}-skylake
|
||||||
Summary: Linux BORE %{?_lto_args:+ LTO }Cachy Sauce Kernel by CachyOS with other patches and improvements.
|
Summary: Linux BORE %{?_lto_args:+ LTO }Cachy Sauce Kernel by CachyOS with other patches and improvements.
|
||||||
Version: %{_basekver}.%{_stablekver}
|
Version: %{_basekver}.%{_stablekver}
|
||||||
Release: cachylts1%{?_lto_args:.lto}.skylake%{?dist}
|
Release: cachylts4%{?_lto_args:.lto}.skylake%{?dist}
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
URL: https://cachyos.org
|
URL: https://cachyos.org
|
||||||
|
|
||||||
|
|
@ -107,6 +107,7 @@ BuildRequires: python-srpm-macros
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
BuildRequires: lld
|
BuildRequires: lld
|
||||||
BuildRequires: llvm
|
BuildRequires: llvm
|
||||||
|
BuildRequires: polly
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{_build_nv}
|
%if %{_build_nv}
|
||||||
|
|
@ -133,6 +134,7 @@ Patch1: %{_patch_src}/sched/0001-bore-cachy.patch
|
||||||
|
|
||||||
%if %{_build_lto}
|
%if %{_build_lto}
|
||||||
Patch2: %{_patch_src}/misc/dkms-clang.patch
|
Patch2: %{_patch_src}/misc/dkms-clang.patch
|
||||||
|
Patch3: %{_patch_src}/misc/0001-clang-polly.patch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{_build_nv}
|
%if %{_build_nv}
|
||||||
|
|
@ -185,6 +187,7 @@ Patch13: %{_patch_src}/misc/nvidia/565/0005-nvkms-Sanitize-trim-ELD-produ
|
||||||
|
|
||||||
%if %{_build_lto}
|
%if %{_build_lto}
|
||||||
scripts/config -e LTO_CLANG_THIN
|
scripts/config -e LTO_CLANG_THIN
|
||||||
|
scripts/config -e POLLY_CLANG
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{_build_minimal}
|
%if %{_build_minimal}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue