-
Notifications
You must be signed in to change notification settings - Fork 717
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
ci: add asan runs under gcc #4402
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.
My faith in clang-15 is shaken.
cd third-party-src; | ||
ln -s /usr/local $CODEBUILD_SRC_DIR/third-party-src/test-deps; | ||
fi | ||
- /usr/bin/$COMPILER --version |
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.
Do we expect a certain minimum gcc version to get "enough" asan coverage?
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.
Hmm. I do really like that idea, but I don't want to do it directly in the buildspec. Perhaps it would make sense to add a codebuild script like codebuild/bin/assert_compiler_version_gt $COMPILER "clang-15"
. I'll do that in a different PR to keep this one straightforward.
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.
Right- I'm not asking for it as part of this PR, (totally agree the buildspec probably isn't the right place) just wondering if it's written down anywhere...
I think we might have the override to merge this one. I have manually kicked off all of the codebuild jobs, but the unitNix and ASAN jobs won't report their results successful ASAN CI Update: |
Description of changes:
Add asan jobs for GCC
This PR also turns on Debug info for the builds, which allows line numbers to be included in the stack traces.
Testing:
I'll manually invoke the CI run so it should still show up as passing on this PR, and the compiler version will be verified in the output because of the new
compiler --version
command that I added in the buildspec.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.