public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Disable CIR on LLVM >= 24
Date: Sat, 31 Oct 2026 01:09:22 GMT [thread overview]
Message-ID: <179340896275.1.10322989825794750861.rpms-llvm-f23ecb8f6f34@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/llvm
Branch : rawhide
Commit : f23ecb8f6f3464559714e60b2854b98c72b2a5ef
Author : Tulio Magno Quites Machado Filho <tuliom@redhat.com>
Date : 2026-10-30T08:45:21-03:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/llvm/c/f23ecb8f6f3464559714e60b2854b98c72b2a5ef?branch=rawhide
Log:
Disable CIR on LLVM >= 24
Starting with LLVM 24, CIR is enabled by default.
Enabling it means that parts of MLIR gets built and installed.
Source: https://github.com/llvm/llvm-project/pull/221291
---
diff --git a/llvm.spec b/llvm.spec
index b1db39e..bcefbb6 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -1751,6 +1751,13 @@ popd
%global cmake_common_args %{cmake_common_args} -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG"
%endif
+%if %{maj_ver} >= 24
+# ClangIR got enabled by default in LLVM 24.
+# Building CIR means that parts of MLIR are installed. We cannot support this
+# in CentOS/RHEL. Disable it in all builds for now.
+%global cmake_common_args %{cmake_common_args} -DCLANG_ENABLE_CIR=OFF
+%endif
+
%global cmake_config_args %{cmake_common_args}
#region clang options
reply other threads:[~2026-10-31 1:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179340896275.1.10322989825794750861.rpms-llvm-f23ecb8f6f34@fedoraproject.org \
--to=tuliom@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox