Commit Graph

714 Commits

Author SHA1 Message Date
Théo Degioanni
973f26a2b4 [GitHub] [NFC] Add moxinilian to IRDL CODEOWNERS (#159135)
This is so I get notified when an IRDL file is updated.
2025-09-16 23:23:09 +02:00
Aiden Grossman
5211d4d971 [Github] Add path filtering to CodeQL workflow
This workflow should only be triggering on PRs that touch Github
workflows. This is not the case currently because I forgot to add path
filtering in the original implementation.
2025-09-15 15:49:43 +00:00
Aiden Grossman
1aa7159e0c [Github] Use standard checkout for ABI test workflows (#158468)
These workflows are currently using a custom checkout action in
llvm/actions. This does the same thing as actions/checkout, but incurs a
maintenance cost that we have not really been paying. Switch over to the
Github supported workflow so someone else is paying the maintenance
cost.
2025-09-15 08:38:54 -07:00
Aiden Grossman
1d27e66369 [Github] Fix security issues in libcxx-run-benchmarks.yml workflow (#158467)
There was one action dependency that was not hash pinned and this
workflow also allowed code injection as the input might not be properly
escaped when dumped into the run script.
2025-09-15 08:41:31 -04:00
Aiden Grossman
31c4eb032f [Github] Update actions/download-artifact to v5 (#158466)
Some of the older versions have security issues. Upgrade to v5 to remedy
that and get ahead of the v5 upgrade cycle rather than updating to a
later v4.x release.

Updated mechanically using the following command:
find .github -exec sed -i -e
"s/actions\/download-artifact@.*/actions\/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0/g" {} \;
2025-09-14 10:55:52 -07:00
Aiden Grossman
4b82db90b8 [Github] Add CodeQL Action to check Github Actions Workflows (#158394)
This should point out obvious security issues with our Github Actions
workflows.
2025-09-13 12:39:12 -07:00
Aiden Grossman
ba3bce0779 [Github] Switch back to tj-actions/changed-files (#158335)
We were using the step security fork after the tj-actions/changed-files
supply chain attack given Github disabled the repo and all our actions
were failing during that time. Switch away from the fork back to the
main repository to avoid an extra level of indirection until we can
probably just stop using this action/roll our own.
2025-09-12 15:25:28 -07:00
Aiden Grossman
9566388cbd [Github] Delete dependabot config (#158337)
Dependabot cannot configure the branch prefix, which means it fails
everytime it tries to run because we only allow user/ branches.

This is in preparation for using Renovate which supports custom branch
prefixes and has other advantages, like the ability to run/get setup
without any assisstance from a repository admin unlike dependabot. This
makes it significantly more hackable for the rest of the community.
2025-09-12 13:35:15 -07:00
Louis Dionne
98d14ad50e [libc++] Improve output of the comment-triggered benchmarking job 2025-09-11 20:20:26 -04:00
Louis Dionne
1083289c78 [libc++] Tee the output of the benchmark comparison 2025-09-11 19:46:08 -04:00
Louis Dionne
5d8d98cfa8 [libc++] Report the results of the benchmarking job back through a comment 2025-09-11 19:29:06 -04:00
Louis Dionne
c9395512e8 [libc++] Install dependencies right before they're needed
This solves a tricky issue where we can't install the libc++ dependencies
until after we've checked out the monorepo.
2025-09-11 18:05:42 -04:00
Louis Dionne
6272540b9f [libc++] Properly extract the PR head and base from the Github event 2025-09-11 17:58:47 -04:00
Louis Dionne
82218fb1db [libc++] Use the correct pull-request base and targets for the benchmarking job 2025-09-11 16:33:11 -04:00
Louis Dionne
73e64e534f [libc++] Fix sed pattern to extract benchmarks from the comment body 2025-09-11 16:05:27 -04:00
Louis Dionne
bd6e217ac6 [libc++] Remove concurrency in the right libc++ job
Early-cancellation should have been removed from libcxx-run-benchmarks.yml
in the first place, not libcxx-build-and-test.yaml.
2025-09-11 15:56:23 -04:00
Louis Dionne
e08588d4ae [libc++] Get rid of concurrency in the libc++ benchmarking job 2025-09-11 15:52:32 -04:00
Louis Dionne
162755bd39 [libc++] Add a workflow that builds benchmarks when commenting on a PR
This worfklow is still being tested, since I can't figure out how to
trigger it without actually merging it to main.
2025-09-11 15:46:19 -04:00
Utkarsh Saxena
0b696a86dd [LifetimeSafety] Add PR labeler automation (#157820)
This will add label `clang:temporal-safety` to PRs touching the mentioned files.
2025-09-10 12:00:04 +02:00
Ramkumar Ramachandra
8748581f08 [Maintainers] Add for HashRecognize (#157088) 2025-09-05 14:00:18 +01:00
Aiden Grossman
62232e8197 [CI] Add compiler-rt to windows premerge checks (#155186) 2025-08-29 16:18:57 -07:00
Ryan Prichard
6b4506009a [libc++][Android] Fix Dockerfile (#154856)
In docker-compose.yml, add *image_versions arguments for the
android-buildkite-builder service, so that ACTIONS_BASE_IMAGE is set (to
builder-base). This will also set the BASE_IMAGE, which we don't really
want, because this service uses ubuntu:noble instead of the ubuntu:jammy
default, but that's OK because the setting is successfully overridden.

In vendor/android/run-buildbot-container, use the correct ghcr.io Docker
path (ghcr.io/llvm/libcxx-android-builder).

Reenable the build-and-push of ghcr.io/llvm/libcxx-android-builder in
the libcxx-build-containers.yml workflow.
2025-08-28 18:03:35 -04:00
Aiden Grossman
b7d2bd6edd [Github] Bump clang-format to 21.1.0 (#155660)
This patch bumps the clang-format version in the pr-code-format action
to the latest release version, in line with how we have handled this
before.
2025-08-28 07:36:49 -07:00
Aiden Grossman
cb0ce1e4d1 [CI] Bump Linux Contaienr LLVM to 21.1.0 (#155658)
Now that a new release has come out, we should bump the version of the
toolchain in the container to keep up to date.
2025-08-27 16:36:02 -07:00
Tom Stellard
21351482bd [Github][CI] Install the correct binary of sccache on aarch64 (#155328) 2025-08-26 21:35:11 -07:00
Aiden Grossman
143f5e1965 Reapply "[CI] Save sccache logs (#155444)" (#155520)
This reverts commit b90f4ff302.

Relands the change after making the relevant fixes (not missing the
`artifacts` directory).
2025-08-26 19:05:58 -07:00
Aiden Grossman
b90f4ff302 Revert "[CI] Save sccache logs (#155444)"
This reverts commit c81cc9f55b.

This is causing premerge failures and needs more testing.
2025-08-26 19:40:19 +00:00
Aiden Grossman
c81cc9f55b [CI] Save sccache logs (#155444)
This patch saves the sccache logs to the artifacts. If sccache dies and
the server prints logs, we currently do not collect them anywhere and
they do not get dumped to STDOUT/STDERR. If the process is directly
getting killed (SIGTERM), it seems like it doesn't dump anything, but in
most other cases we should be able to see something.

Related to #155442.
2025-08-26 11:05:32 -07:00
Fabian Mora
5d172965c0 [mlir][GPU] Update CODEOWNERS (#155258)
Updating the CODEOWNERS file to more easily perform the MLIR GPU dialect
maintainer role.
2025-08-25 13:36:09 -04:00
Baranov Victor
ef3ce0dcb2 [Github] Remove redundant 'START_REV', 'END_REV' env variables (NFC) (#154218)
After https://github.com/llvm/llvm-project/pull/133023, `START_REV` and
`END_REV` env variables became redundant.
2025-08-19 11:41:37 +03:00
Aiden Grossman
8a0b3cc089 [CI] Ignore upload artifact failures (#154196)
Some CI runs are seeing issues with failures running the artifact upload
step. They seem related to
https://github.com/actions/upload-artifact/issues/569. We should
continue the workflow and ignore errors in the upload artifact step if
it fails so that users do not see a red CI that is not due to their
changes.

Fixes #154155.
2025-08-18 14:10:23 -07:00
Aiden Grossman
6960bf556c [Github] Drop llvm-project-tests
All users of this have been claned up so we can now drop it fully.

Reviewers: cmtice, tstellar

Reviewed By: cmtice

Pull Request: https://github.com/llvm/llvm-project/pull/153877
2025-08-18 10:20:31 -07:00
Aiden Grossman
2497864e09 [Github] Remove call to llvm-project-tests from libclang tests
This allows for removing llvm-project-tests.yml. This significantly
reduces the complexity of this workflow (including the complexity of
llvm-project-tests.yml) at the cost of a little bit of duplication with
the other workflows that were also using llvm-project-tests.yml.

Reviewers: tstellar, DeinAlptraum

Reviewed By: DeinAlptraum

Pull Request: https://github.com/llvm/llvm-project/pull/153876
2025-08-18 07:07:26 -07:00
Aiden Grossman
f8cd582534 [Github] Remove call to llvm-project-tests.yml from mlir-spirv-tests.yml
This will eventually allow for removing llvm-project-tests.yml. This
should significantly reduce the complexity of this workflow (including
the complexity of llvm-project-tests.yml) at the cost of a little bit of
duplication.

Reviewers: IgWod-IMG, kuhar

Reviewed By: kuhar

Pull Request: https://github.com/llvm/llvm-project/pull/153871
2025-08-18 07:05:39 -07:00
Aiden Grossman
1f5047e430 [Github] Remove call to llvm-project-tests.yml from spirv-tests.yml
This will eventually allow for removing llvm-project-tests.yml. This
should significantly reduce the complexity of these workflows at the
cost of a little bit of duplication standard to github actions.

Reviewers: michalpaszkowski, sudonatalie

Reviewed By: sudonatalie

Pull Request: https://github.com/llvm/llvm-project/pull/153869
2025-08-16 15:52:39 -07:00
Fangrui Song
e342dcd589 github: Add llvm:mc label for generic MC interface (#153737)
As a member of github.com/orgs/llvm/teams/pr-subscribers-llvm-mc , I was
not notified about PR #149935.

This commit introduces the `llvm:mc` label to cover the generic MC
interface, excluding target-specific MCTargetDesc files.

- Rename the `mc` label to `llvm:mc` for consistency with other LLVM
subdirectory labels.
- Exclude `llvm/test/MC` from the label scope, as it contains many
target-specific directories.

Admin: please change the name of
https://github.com/orgs/llvm/teams/pr-subscribers-llvm-mc
to "pr-subscribers-llvm:mc", similar to pr-subscribers-llvm:ir
2025-08-15 18:23:24 -07:00
Aiden Grossman
d0b19cf792 [Github][CI] Set CC and CXX in CI Container
We set these explicitly in a bunch of places. That is annoying and it is nice
to get them picked up by default rather than needing to remember.
2025-08-15 21:31:17 +00:00
Aiden Grossman
0b04168948 [CI] Add Basic Bazel Checks (#153740)
Having basic checks (like running buildifier) on the upstream bazel
files would be helpful for contributors maintaining the bazel build. Add
basic checks (currently just buildifier) to a workflow that runs
whenever the bazel build files change.
2025-08-15 08:30:07 -07:00
Aiden Grossman
ca44e11e00 [CI][Github] Bump actions/checkout to v5.0.0 (#153340)
https://github.com/actions/checkout/releases/tag/v5.0.0 was released a
couple of days ago (still new, sufficient bake time that there probably
is not a significant security issue). There are few changes, with the
most notable ones being dependency bumps, specifically the node version
bump to v24. This requires actions runner v2.327.1. I will land this
after all of the infrastructure has been moved over to the new runner
version.
2025-08-13 21:17:53 -07:00
Aiden Grossman
36d31b0c00 [CI][Github] Bump Github Runner Version to 2.328.0
Only some minor changes, but we might as well upgrade now.
2025-08-13 19:37:27 +00:00
Aiden Grossman
dfe18b1a0e [libcxx] Bump clang version to v22 (#153264)
Clang tip of tree is now v22, so bump the versions based on that now
that we have an updated container image.

---------

Co-authored-by: Nikolas Klauser <nikolasklauser@berlin.de>
2025-08-13 09:26:42 +02:00
Aiden Grossman
7f4d201db4 [libcxx] Bump container image to 77cb098 (#153095)
Switch to the next runner set to evaluate switching the container image
to 77cb098.
2025-08-13 09:24:02 +02:00
Aiden Grossman
9ea1d39ead [CI][Github] Remove Outdated Comments
5fc3e76ec4 made the pipelines fail on
errors and also removed the TODO comments, but did not remove the
explanatory comments on why things were set up that way. Given things no
longer succeed on error, these comments are outdated and should be
removed.
2025-08-08 15:59:15 +00:00
Davide Grohmann
3fa34f17e8 [mlir][spirv] Add mlir-spirv-tests CI to run for mlir-spv target tests (#152124)
This should execute also the MLIR SPIRV Target tests which require the
SPIRV-Tools validator

---------

Signed-off-by: Davide Grohmann <davide.grohmann@arm.com>
2025-08-07 10:51:32 -04:00
Aiden Grossman
d8c43e6236 [Github][CI] Add python-is-python3 to CI container
This patch adds the python-is-python3 package to the CI container.
Windows by default uses python instead of python3, which prevents
code sharing without additionaly hackery. This should fix that and
allow for #152199 to land.
2025-08-06 15:55:50 +00:00
Aiden Grossman
c9eff91ef1 [CI][Github] Only run CI Checks Workflow on Push for Main
Currently the check-ci workflow runs on the push event as well
regardless of the branch which means the workflow runs twice on stacked
PRs. Not a big deal, but a bit weird to see the same workflow running
twice in a PR.
2025-08-06 15:49:17 +00:00
Martin Storsjö
fe0d67b754 [libcxx] [ci] Update Clang on Windows (#152206)
Update clang-cl/LLVM to 20.1.8.

Update to llvm-mingw 20250709 (with also is built on LLVM 20.1.8). This
release of llvm-mingw is the first release to be built with PGO, making
it significantly faster for the CI runs (on par with the clang-cl
cases); running the current tests in around 1 h rather than 1 h 20 min.
2025-08-06 10:06:29 +03:00
Aiden Grossman
34c2ea326c [libc][Github] Remove ccache variant logic (#152042)
https://github.com/hendrikmuhs/ccache-action/issues/279 has now been
resolved, so we can use sccache for the arm tests too and do not need to
differentiate between platforms.
2025-08-05 06:34:51 -07:00
Aiden Grossman
318d639ea1 [libc] Update clang to v22 in the fullbuild tests (#152039)
The apt repository has been updated so installing version 22 actually
works now.

Fixes #151215.
2025-08-04 15:24:20 -07:00
David Spickett
e8b7183d86 [llvm][release] Add links to commonly used release packages (#147719)
This adds download links to the GitHub release pages for common
platforms. The automatically built packages' links are automatically
revealed once the builds are complete. For packages built by hand,
hidden links are included in the text for release uploaders to reveal
later.

The approach taken:
* "LLVM x.y.z Release" becomes the title for this links section.
* Automatically built packages are commented out with special markers so
we can find them to uncomment them later.
* There is placeholder text for the time between release creation and
release tasks finishing.
* Hand built packages have release links but these will need to be
un-commented by release uploaders.
* I have used vendor names for the architectures, that casual users
would recognise.
* Their signature file is linked as well. I expect most will ignore this
but better to show it to remind people it exists.
* I called it "signature" as a generic term to cover the .jsonl and .sig
files. Instructions to use these were added to the text in a previous
change.
2025-07-29 12:35:15 +01:00