forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #354 from Xilinx/bump_to_5855237
Bump to 5855237 (Aug 7, needs onnx-mlir bump) (1)
- Loading branch information
Showing
14,446 changed files
with
750,965 additions
and
316,064 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Get LLVM Version | ||
description: >- | ||
Get the LLVM version from the llvm-project source tree. This action assumes | ||
the llvm-project sources have already been checked out into GITHUB_WORKSPACE. | ||
outputs: | ||
major: | ||
description: LLVM major version | ||
value: ${{ steps.version.outputs.major }} | ||
minor: | ||
description: LLVM minor version | ||
value: ${{ steps.version.outputs.minor }} | ||
patch: | ||
description: LLVM patch version | ||
value: ${{ steps.version.outputs.patch }} | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Get Version | ||
shell: bash | ||
id: version | ||
run: | | ||
for v in major minor patch; do | ||
echo "$v=`llvm/utils/release/get-llvm-version.sh --$v`" >> $GITHUB_OUTPUT | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import github | ||
import sys | ||
|
||
def main(): | ||
token = sys.argv[1] | ||
|
||
gh = github.Github(login_or_token=token) | ||
repo = gh.get_repo("llvm/llvm-project") | ||
|
||
uploaders = set( | ||
[ | ||
"DimitryAndric", | ||
"stefanp-ibm", | ||
"lei137", | ||
"omjavaid", | ||
"nicolerabjohn", | ||
"amy-kwan", | ||
"mandlebug", | ||
"zmodem", | ||
"androm3da", | ||
"tru", | ||
"rovka", | ||
"rorth", | ||
"quinnlp", | ||
"kamaub", | ||
"abrisco", | ||
"jakeegan", | ||
"maryammo", | ||
"tstellar", | ||
"github-actions[bot]", | ||
] | ||
) | ||
|
||
for release in repo.get_releases(): | ||
print("Release:", release.title) | ||
for asset in release.get_assets(): | ||
created_at = asset.created_at | ||
updated_at = ( | ||
"" if asset.created_at == asset.updated_at else asset.updated_at | ||
) | ||
print( | ||
f"{asset.name} : {asset.uploader.login} [{created_at} {updated_at}] ( {asset.download_count} )" | ||
) | ||
if asset.uploader.login not in uploaders: | ||
with open('comment', 'w') as file: | ||
file.write(f'@{asset.uploader.login} is not a valid uploader.') | ||
sys.exit(1) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
Oops, something went wrong.