Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and enable Fedora LTO build #739

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

nathanchance
Copy link
Member

Fedora builds with LTO when building with clang upstream, which is an important difference from how we currently build their configuration. Having side by side builds of LTO and no LTO is valuable for quickly narrowing down issues caused or exposed by LTO. Add a Fedora + ThinLTO build to match the official configuration and catch any regressions with this configuration from LLVM.

This is enabled for stable (6.8) and newer with LLVM 17 and newer to avoid adding too many builds to the matrix, which matches the versions of LLVM and the kernel that are in Fedora 40 and newer. This adds 90 builds per week.

Closes: ClangBuiltLinux/linux#2009

Fedora builds with LTO when building with clang upstream, which is an
important difference from how we currently build their configuration.
Having side by side builds of LTO and no LTO is valuable for quickly
narrowing down issues caused or exposed by LTO. Add a Fedora + ThinLTO
build to match the official configuration and catch any regressions with
this configuration from LLVM.

This is enabled for stable (6.8) and newer with LLVM 17 and newer to
avoid adding too many builds to the matrix, which matches the versions
of LLVM and the kernel that are in Fedora 40 and newer. This adds 90
builds per week.

Closes: ClangBuiltLinux/linux#2009
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@nathanchance nathanchance merged commit 9b6a955 into ClangBuiltLinux:main Apr 9, 2024
7 checks passed
@nathanchance nathanchance deleted the fedora-lto branch April 9, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Fedora kernel config in CI
2 participants