-
Notifications
You must be signed in to change notification settings - Fork 13.6k
updated buildkite pipeline generation #65574
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
Conversation
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.
the commit title doesn't make sense, can you make it something like "Various fixes to buildkite pipeline generation"
rm -rf ${BUILD_DIR} | ||
|
||
ccache --zero-stats | ||
ccache --show-config | ||
|
||
if [[ -n "${CLEAR_CACHE:-}" ]]; then |
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.
how can you set this?
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.
you can do that when creating a build in buildkite UI or triggering through API with "environment" varaibles. It's not available for "normal" users
- 'C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64' | ||
- 'bash .ci/monolithic-windows.sh "clang-tools-extra;flang;libclc;lld;llvm;mlir;polly;pstl" "check-all"' | ||
- C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64 | ||
- bash .ci/monolithic-windows.sh "clang-tools-extra;flang;libclc;lld;llvm;mlir;polly;pstl;clang" "check-all" |
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.
make alphabetical just to be consistent and look nice
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.
Done.
agents: | ||
queue: 'linux' | ||
- artifacts/**/* | ||
- '*_result.json' |
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.
quoting is inconsistent, I believe all of these don't need quotes
(other files 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.
Done.
- fixed build for linux (clang was missing) - removed /monolithic-.. from build directory - it does not add anything and makes path longer for windows which is not great; - added env-based configuration to control cache and agent targeting; - print (s)ccache stats to file not to pullute normal log.
This seems broken: https://buildkite.com/llvm-project/github-pull-requests/builds/1350#018a8848-f70e-47f4-8aec-0bb48c49a7ca
This seems to match the |
thanks for the heads up @joker-eph ! That should be fixed now but you need to rebase your PR to see the change. I guess noop commit update should do |
ah you've merged it already 😄 |
@metaflow The reason for not adding clang to the monolithic pipeline is that clang now has its own pipeline like libc++. After your patch we will be building and testing clang twice for no reason. Can you remove it again? |
@ldionne w/o clang flang will not compile. Do you also check flang and all dependencies of clang in clang pipeline? |
I think it's fine to add We don't check |
FYI, the script for premerge generates invocations like:
So even though |
The scheduled build script does call |
- fixed build for linux (clang was missing) - removed /monolithic-.. from build directory - it does not add anything and makes path longer for windows which is not great; - added env-based configuration to control cache and agent targeting; - print (s)ccache stats to file not to pullute normal log.
fixed build for linux (clang was missing)
removed /monolithic-.. from build directory - it does not add anything and makes path longer for windows which is not great;
added env-based configuration to control cache and agent targeting;
print (s)ccache stats to file not to pullute normal log.