-
Notifications
You must be signed in to change notification settings - Fork 57
Build and package compiler runtime resources #1046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| run: | | ||
| $litOutput = python ${{ github.workspace }}/SourceCache/llvm-project/llvm/utils/lit/lit.py --version | ||
| $litVersion = ($litOutput | Select-String -Pattern 'lit (\d+)' | ForEach-Object { $_.Matches[0].Groups[1].Value }) | ||
| echo "llvm-version=$litVersion" >> $env:GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't entirely guaranteed to be correct. lit is available as a separate pip project as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure i understand what you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly that I'm not sure if we should be using lit as the source of the version information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@compnerd should we have this as an input to the build? or is there a better way to get the version?
034e8b3 to
33d3228
Compare
We were not building or packaging compiler-rt. this brings the changes in build.ps1 over to CI.
Here is a downstream run:https://github.com/thebrowsercompany/swift-build/actions/runs/18619136557