<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/.github, branch users/ylzsx/precommit-rotr-custom</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[GitHub][docker] Fix 'FromAsCasing' violation in CI dockerfile (#161017)</title>
<updated>2025-09-27T20:39:35+00:00</updated>
<author>
<name>Baranov Victor</name>
<email>bar.victor.2002@gmail.com</email>
</author>
<published>2025-09-27T20:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=08c057e6110b0d1ff6ae60886571fd09b50cfaa7'/>
<id>08c057e6110b0d1ff6ae60886571fd09b50cfaa7</id>
<content type='text'>
Fixes https://docs.docker.com/reference/build-checks/from-as-casing/
which also gives warning when building container from command line:
```
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)                                                                                        
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)                                                                                        
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 40)                                                                                       
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 100)
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://docs.docker.com/reference/build-checks/from-as-casing/
which also gives warning when building container from command line:
```
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)                                                                                        
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)                                                                                        
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 40)                                                                                       
=&gt; WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 100)
```</pre>
</div>
</content>
</entry>
<entry>
<title>[GitHub] Bump clang-tidy version to 21th in CI (#160551)</title>
<updated>2025-09-24T20:51:09+00:00</updated>
<author>
<name>Baranov Victor</name>
<email>bar.victor.2002@gmail.com</email>
</author>
<published>2025-09-24T20:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7813da34e85e8dcef91a1f125abf65debbc9de3c'/>
<id>7813da34e85e8dcef91a1f125abf65debbc9de3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Add renovate configuration for Github Actions (#159899)</title>
<updated>2025-09-23T15:25:41+00:00</updated>
<author>
<name>Mend Renovate</name>
<email>renovate@whitesourcesoftware.com</email>
</author>
<published>2025-09-23T15:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d3900ab78fc1de30443f821b966770c2e07ae48d'/>
<id>d3900ab78fc1de30443f821b966770c2e07ae48d</id>
<content type='text'>
See the third version of the PR description for the changes that will be made.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See the third version of the PR description for the changes that will be made.</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Switch pr-code-lint.yml to tj-actions/changed-files</title>
<updated>2025-09-22T21:25:28+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-09-22T21:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=360b059a21c690bf199cb2c8a7bb1fade2481656'/>
<id>360b059a21c690bf199cb2c8a7bb1fade2481656</id>
<content type='text'>
Similar to #158335. pr-code-lint.yml was in progress as a PR when that
change landed, so this workflow did not get updated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to #158335. pr-code-lint.yml was in progress as a PR when that
change landed, so this workflow did not get updated.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Bump CI Container clang Version to 21.1.1</title>
<updated>2025-09-22T21:10:17+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-09-22T21:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=207d399d17f651feaf1bd7af49395c80ee5b6014'/>
<id>207d399d17f651feaf1bd7af49395c80ee5b6014</id>
<content type='text'>
This patch bumps the CI container version to the latest release version.
No particular reason to do this other than to ensure that we are using
a clang built with IRPGO now that has relanded for the slight
performance benefit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch bumps the CI container version to the latest release version.
No particular reason to do this other than to ensure that we are using
a clang built with IRPGO now that has relanded for the slight
performance benefit.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][DLTI] Update codeowners for DLTI dialect (#159461)</title>
<updated>2025-09-22T09:35:06+00:00</updated>
<author>
<name>Rolf Morel</name>
<email>rolf.morel@intel.com</email>
</author>
<published>2025-09-22T09:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=13228b28d04c49654d98d6690b513173350d4859'/>
<id>13228b28d04c49654d98d6690b513173350d4859</id>
<content type='text'>
Add me to the document so that I will receive notifications in case
there are any changes to DLTI infrastructure.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add me to the document so that I will receive notifications in case
there are any changes to DLTI infrastructure.</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][Transform] Add rolfmorel as codeowner for Transform dialect (#159455)</title>
<updated>2025-09-22T09:34:46+00:00</updated>
<author>
<name>Rolf Morel</name>
<email>rolf.morel@intel.com</email>
</author>
<published>2025-09-22T09:34:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=47d5f9d27c3e9d8d0a0cb36ba943f1e5ed8eabf8'/>
<id>47d5f9d27c3e9d8d0a0cb36ba943f1e5ed8eabf8</id>
<content type='text'>
So that I will receive updates on changes to the Transform dialect.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that I will receive updates on changes to the Transform dialect.</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Remove separate tools checkout from pr-code workflows (#159967)</title>
<updated>2025-09-21T18:26:56+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-09-21T18:26:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e764e190ee0197bc1e03e3f20dc20b6cca81b3dc'/>
<id>e764e190ee0197bc1e03e3f20dc20b6cca81b3dc</id>
<content type='text'>
These separate checkouts I believe were originally carried over from
when we were using pull_request_target. We needed two checkouts to
ensure we were not executing user supplied code. We kept them to ensure
we were using the latest version of the tools, but this was born mostly
out of a misunderstanding of how Github Actions works. All PRs directly
against main are executed as if merged into main, so already are using
the latest version of the tools no matter the branch point. Stacked PRs
still need to be rebased for changes to propagate but these files have
been pretty stable for the past two years or so and I can't imagine any
changes needed to keep things running on release/stacked PR branches.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These separate checkouts I believe were originally carried over from
when we were using pull_request_target. We needed two checkouts to
ensure we were not executing user supplied code. We kept them to ensure
we were using the latest version of the tools, but this was born mostly
out of a misunderstanding of how Github Actions works. All PRs directly
against main are executed as if merged into main, so already are using
the latest version of the tools no matter the branch point. Stacked PRs
still need to be rebased for changes to propagate but these files have
been pretty stable for the past two years or so and I can't imagine any
changes needed to keep things running on release/stacked PR branches.</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Test pr-code-lint workflow on changes to workflow (#159968)</title>
<updated>2025-09-21T05:17:35+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-09-21T05:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=22e17a6383ebdc7f2b4563f2716ded478a2dc1f5'/>
<id>22e17a6383ebdc7f2b4563f2716ded478a2dc1f5</id>
<content type='text'>
This patch ensures that the pr-code-lint workflow is run for testing
whenever the workflow file is changed. This will not catch actual
functionality issues on most changes but does ensure that the workflow
is not completely broken.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch ensures that the pr-code-lint workflow is run for testing
whenever the workflow file is changed. This will not catch actual
functionality issues on most changes but does ensure that the workflow
is not completely broken.</pre>
</div>
</content>
</entry>
<entry>
<title>[GitHub][CI] Add clang-tidy premerge workflow (#154829)</title>
<updated>2025-09-20T20:27:02+00:00</updated>
<author>
<name>Baranov Victor</name>
<email>bar.victor.2002@gmail.com</email>
</author>
<published>2025-09-20T20:27:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2ed7b9f29b1e0e0a14e3d427610ab43cb65e6f6d'/>
<id>2ed7b9f29b1e0e0a14e3d427610ab43cb65e6f6d</id>
<content type='text'>
**KEY POINTS**

- MVP workflow to automatically lint C++ files, located **only** in
`clang-tools-extra/clang-tidy`. It's chosen this way as
`clang-tools-extra/clang-tidy` is almost 100% `clang-tidy` complaint,
thus we would automatically enforce a [high quality standard for
clang-tidy source
code](https://discourse.llvm.org/t/rfc-create-hardened-clang-tidy-config-for-clang-tidy-directory/87247).
(https://github.com/llvm/llvm-project/pull/147793)
- Implementation is very similar to code-format job, but without the
ability to run `code-lint-helper.py` locally.

**FOUND ISSUES** + open questions

- Speed: it takes ~ 1m40sec to download and unpack `clang-tidy` plus
additional ~4 mins to configure and CodeGen targets. I see that
`premerge.yaml` runs on special `llvm-premerge-linux-runners` runners
which can use `sccache` for speed. Can we use the same runners for this
job? Exact timings can be found
[here](https://github.com/llvm/llvm-project/actions/runs/17135749067/job/48611150680?pr=154223).

**TO DO**
 
- Place common components from `code-lint-helper.py` and
`code-format-helper.py` into a separate file and reuse it in both CI's.
- Compute CodeGen targets based on `projects_to_build`, for now
`clang-tablegen-targets` is hardcoded for `clang-tools-extra/`.
- Automatically generate and upload `.yaml` for
`clang-apply-replacements`
- Create an RFC with a plan how to enable `clang-tidy` in other projects
so that Maintainers of LLVM components could choose if they want
`clang-tidy` or not.
- Add more linters like `pylint`, `ruff` in the future.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
**KEY POINTS**

- MVP workflow to automatically lint C++ files, located **only** in
`clang-tools-extra/clang-tidy`. It's chosen this way as
`clang-tools-extra/clang-tidy` is almost 100% `clang-tidy` complaint,
thus we would automatically enforce a [high quality standard for
clang-tidy source
code](https://discourse.llvm.org/t/rfc-create-hardened-clang-tidy-config-for-clang-tidy-directory/87247).
(https://github.com/llvm/llvm-project/pull/147793)
- Implementation is very similar to code-format job, but without the
ability to run `code-lint-helper.py` locally.

**FOUND ISSUES** + open questions

- Speed: it takes ~ 1m40sec to download and unpack `clang-tidy` plus
additional ~4 mins to configure and CodeGen targets. I see that
`premerge.yaml` runs on special `llvm-premerge-linux-runners` runners
which can use `sccache` for speed. Can we use the same runners for this
job? Exact timings can be found
[here](https://github.com/llvm/llvm-project/actions/runs/17135749067/job/48611150680?pr=154223).

**TO DO**
 
- Place common components from `code-lint-helper.py` and
`code-format-helper.py` into a separate file and reuse it in both CI's.
- Compute CodeGen targets based on `projects_to_build`, for now
`clang-tablegen-targets` is hardcoded for `clang-tools-extra/`.
- Automatically generate and upload `.yaml` for
`clang-apply-replacements`
- Create an RFC with a plan how to enable `clang-tidy` in other projects
so that Maintainers of LLVM components could choose if they want
`clang-tidy` or not.
- Add more linters like `pylint`, `ruff` in the future.</pre>
</div>
</content>
</entry>
</feed>
