Commit Graph

350 Commits

Author SHA1 Message Date
Tom Stellard
89b83d2d3f [git] Add hashes to requirements.txt for extra security (#92305)
https://pip.pypa.io/en/stable/topics/secure-installs/
2024-05-17 06:49:27 -07:00
Timm Bäder
e27f9bb319 [github] Add keith back to bazel codeowners
Wrongly removed in 45cc6bdea9.
2024-05-16 08:28:25 +02:00
Timm Bäder
45cc6bdea9 [clang][Interp] Implement __builtin_shufflevector 2024-05-16 08:26:59 +02:00
Tom Stellard
d06270ee00 [workflows] Fix libclang-abi-tests to work with new version scheme (#91865) 2024-05-15 06:08:29 -07:00
Keith Smiley
18ba0cc26e [github] Add keith to bazel owners (NFC) (#92164)
I'm interested in being CC'd on these changes
2024-05-14 12:24:32 -07:00
Tom Stellard
c99d1156c2 [workflows] Add a job for requesting a release note on release branch PRs (#91826)
We have been collecting release notes from the PRs for most of the
18.1.x releases and this just helps automate the process.
2024-05-13 16:31:21 -07:00
Matthias Gehre
29a986bc09 new-prs-labeler.yml: Include conversion passes of TOSA/emitc (#91921) 2024-05-13 15:36:46 +02:00
Tom Stellard
720dfd94df workflows: Fix missing GITHUB_TOKEN in release-doxygen.yml upload step (#91091)
We were accidentally setting the GITHUB_TOKEN environment variable in
the previous step.
2024-05-09 20:30:29 -07:00
Tom Stellard
0d31ac8893 workflows: Remove top-level permissions from release-tasks.yml (#91088)
This is the recommend best practice and we also don't need write access
for all jobs.
2024-05-09 20:29:25 -07:00
Renato Golin
db4cf7c0fc Update CODEOWNERS
Adding myself to linalg dialect
2024-05-08 13:33:20 +01:00
Nikita Popov
7098cd215b [NFC] Add myself as code owner for llvm/IR/Core.cpp
In practice I end up reviewing most changes to the C API.
2024-05-08 11:03:43 +09:00
Tom Stellard
abac98479b [Workflows] Re-write release-binaries workflow (#89521)
This updates the release-binaries workflow so that the different build
stages are split across multiple jobs. This saves money by reducing the
time spent on the larger github runners and also makes it easier to
debug, because now it's possible to build a smaller release package
(with clang and lld) using only the free GitHub runners.

The workflow no longer uses the test-release.sh script but instead uses
the Release.cmake cache. This gives the workflow more flexibility and
ensures that the binary package will always be created even if the tests
fail.

This idea to split the stages comes from the "LLVM Precommit CI through
Github Actions" RFC:

https://discourse.llvm.org/t/rfc-llvm-precommit-ci-through-github-actions/76456
2024-05-04 15:10:12 -07:00
Nathan Lanza
ad1e10ae11 [github] Add ClangIR codeowners (#86089) 2024-04-27 19:05:00 -04:00
Amir Ayupov
e71ce0020f [github] Add BOLT to new-prs-labeler.yml (#90114) 2024-04-25 13:13:55 -07:00
Louis Dionne
fcf86673b8 [libc++] Tag PRs that modify libc++ workflows appropriately (#89798) 2024-04-25 09:24:54 -04:00
Mark de Wever
9e95951830 [libc++][CI] Removes clang-tidy references. (#89092)
The clang-tidy selection has been made automatic recently so this is not
longer needed.

Thanks to Louis for spotting this.
2024-04-23 19:46:40 +02:00
Théo Degioanni
efe0a2eddb [nfc][github] subscribe myself to MLIR Mem2Reg PRs 2024-04-20 19:23:25 +02:00
Oleksandr "Alex" Zinenko
e06fb82b40 [github] notify me about mlir python changes 2024-04-18 14:43:31 +02:00
Guray Ozen
42348b6918 [github] Add myself as default code reviewer (#89099) 2024-04-18 09:24:14 +02:00
Shilei Tian
800f1050e1 [GitHub] Add a new mapping for offload subproject (#89118)
Fix #89071.
2024-04-17 14:53:01 -04:00
Nathan Lanza
ed741ffe89 [github] Add ClangIR to new-prs-labeler.yml (#86088) 2024-04-17 14:06:01 -04:00
Maksim Levental
84ec2d3b38 [mlir][python] add to CODEOWNERS (#88561) 2024-04-14 17:20:05 -05:00
Marius Brehler
a952c12388 [GitHub] Set top level token permission (#87326) 2024-04-11 22:58:47 +02:00
Schuyler Eldridge
8a8ab8f70c [lit][ci] Publish lit wheels (#88072)
Add wheel publishing in addition to existing source distribution
publishing of lit.

Fixes #63369. This also uses the exact fix proposed by @EFord36 in
#63369.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
2024-04-09 11:55:17 -04:00
Mark de Wever
b798c2af8b [libc++][CI] Updates to Clang 19. (#85301)
Since we have released Clang 16 is no longer actively supported. However
the FreeBSD runner is still using this, so some tests still guard
against Clang 16.
2024-04-04 20:48:23 +02:00
Tom Stellard
817c6915ae [workflows] Use issue-write workflow for warning about private emails (#87399)
This allows us to use the less privileged pull_request event for the
validate_email job, since this workflow no longer writes a comment
directly.
2024-04-02 13:36:08 -07:00
Daniel Grumberg
4c7de02bc0 [ExtractAPI] Add @daniel-grumberg into CODEOWNERS 2024-04-02 16:35:52 +01:00
Aiden Grossman
f6c87be1dd [Github] Fix typo in PR code formatting job
The recent change to split the PR code formatting job accidentally
misspelled the repository field when specifying the repository to fetch
the code formatting utils from. This patch fixes the spelling so that
the job does not throw a warning and clones the tools from the specified
repository.
2024-04-02 00:33:50 -07:00
Tom Stellard
649f9603a2 [workflows] issue-write: Avoid race condition when PR branch is deleted (#87118)
Fixes #87102 .
2024-04-01 15:17:24 -07:00
Tom Stellard
6b136ce738 [workflows] issue-write: Exit early if there are no comments (#87114)
This will eliminate some unnecessary REST API calls.
2024-04-01 14:35:39 -07:00
Tom Stellard
2fa46ca922 [workflows] Update the version of the scorecard-action (#86753)
I'm hoping this will fix the errors we've been seeing the last few days:

2024-03-19T20:44:07.4841482Z 2024/03/19 20:44:07 error signing scorecard
json results: error signing payload: getting key from Fulcio: verifying
SCT: updating local metadata and targets: error updating to TUF remote
mirror: invalid key
2024-03-27 06:25:10 -07:00
Tom Stellard
de917dc20e [workflow] Don't add a comment when the first run of the formatter passes (#86335)
This was inadvertently changed in
2120f57410.
2024-03-25 15:04:11 -07:00
Tom Stellard
2120f57410 Reapply [workflows] Split pr-code-format into two parts to make it more secure (#78215) (#80495)
Actions triggered by pull_request_target events have access to all
repository secrets, so it is unsafe to use them when executing untrusted
code. The pr-code-format workflow does not execute any untrusted code,
but it passes untrused input into clang-format. An attacker could use
this to exploit a flaw in clang-format and potentially gain access to
the repository secrets.
    
By splitting the workflow, we can use the pull_request target which is
more secure and isolate the issue write permissions in a separate job.
The pull_request target also makes it easier to test changes to the
code-format-helepr.py script, because the version of the script from the
pull request will be used rather than the version of the script from
main.
    
Fixes #77142
2024-03-22 11:45:51 -07:00
Oleksandr "Alex" Zinenko
db33444ffa CODEOWNERS: extend scope of MLIR transform dialect
There are a bunch of related directories in another dialects.
2024-03-22 12:03:28 +01:00
Cyndy Ishida
dc74bf7a54 Add myself as codeowner for InstallAPI & TextAPI 2024-03-21 15:43:27 -07:00
Diego Caballero
8d1affb871 Update @dcaballe in CODEOWNERS (#86177)
It fixes a few rules that don't seem to be working and adding myself to a few paths where I've been contributing and can offer my review. Also minor sorting changes.
2024-03-21 15:28:36 -07:00
Guray Ozen
cc9186060a [mlir][nvgpu][nvvm] Add myself as a primary reviewer for nvgpu and nvvm dialects (#85414) 2024-03-20 19:21:19 +01:00
Tom Stellard
d93363a0e8 workflows: Fix baseline version for llvm abi checks (#85166)
The baseline version calculations was assuming the minor release would
always be 0.
2024-03-19 06:55:10 -07:00
Owen Pan
6f39c1e284 [GitHub][workflows] Use latest clang-format version 18.1.1 (#85502) 2024-03-16 04:23:15 -07:00
Aiden Grossman
f1ca0b6ce8 Revert "[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)"
This reverts commit dec63221d5.

This probably needs more discussion before we can land it. The consensus
(from what I can gather) in https://discourse.llvm.org/t/rfc-clang-format-all-the-things/76614
is that we should be careful with version upgrades for consistency.
2024-03-16 02:45:27 -07:00
Owen Pan
dec63221d5 [GitHub][workflows] Use latest clang-format version 18.1.1 (#85502) 2024-03-16 02:17:49 -07:00
Justin Bogner
1b0072734f [new-prs-labeler] Add "DXContainer" patterns to the backend:DirectX label (#85446)
This should make sure PRs like #84409 get labelled.
2024-03-15 11:45:27 -07:00
Jordan Rupprecht
accf0af6ee [bazel] Add workflows to label and assign bazel PRs (#85352)
Bazel PRs aren't being tagged or auto assigned, so they're easily
missed, especially for those created by contributors w/o triage or
commit access.

I'm putting myself as the default auto reviewer, but only for the
purposes of making sure PRs don't get lost.
2024-03-15 09:39:25 -05:00
Timm Bäder
0b0798b702 [NFC] Subscribe myself to changes to {lib,test}/AST/Interp/ 2024-03-14 16:55:38 +01:00
Tom Stellard
175b533720 workflows: Add workaround for lld failures on MacOS (#85021)
See #81967
2024-03-13 10:44:12 -07:00
Tom Stellard
8d220d109d workflows: Fix incorrect input name in release-binaries.yml (#84604)
In aa02002491 the input name was changed
from tag to release-version, but the code was never updated.
2024-03-11 16:03:32 -07:00
Tom Stellard
0be1c3b92b [workflows] Mention the correct user who makes a /cherry-pick comment (#82680)
We were mentioning the creator of the issue with the comment rather than
the creator of the comment.

Fixes #82580
2024-03-09 14:20:15 -08:00
Tom Stellard
51207756b0 workflows: Fixes for building the release binaries (#83694)
Since aa02002491 we weren't installing the
correct dependencies, and since 2836d8edbf
we must pass a custom token to github-upload-release.py for verifying
permissions.
2024-03-08 11:13:34 -08:00
Aiden Grossman
9f5be5f009 [Github] Add repository checks to release-binaries workflow (#84437)
This patch adds repository checks to the release-binaries workflow jobs.
People were observing that the job was running on a schedule in their
forks. This only happens on old forks, but those probably exist in great
number given how prolific LLVM is. This is also good practice anyways,
on top of solving the direct problem of these jobs running with the cron
schedule on people's forks.
2024-03-08 00:13:11 -08:00
Vlad Serebrennikov
e85470232b Subscribe @Endilll to changes in Clang's Sema.h 2024-03-06 13:49:43 +03:00