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
[MDBF-443] Create BuildBot worker image with MSAN #72
Conversation
|
And the build failed due to hadolint( but I've intentionally used |
It's ok to disable that check just before the |
I suggest we follow MSAN default install/build docs, so, if that's the case, that's fine. |
|
I found a way to avoid using |
|
Regarding the install PATH, I guess it should be fine, but we need to test it out first. Thanks for the contribution! |
.github/workflows/bb_containers.yml
Outdated
| image: ubuntu:22.04 | ||
| branch: 10.7 | ||
| tag: msanubuntu22 | ||
| platforms: linux/amd64, linux/arm64/v8, linux/ppc64le, linux/s390x |
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.
We only need MSAN for amd64
|
also, there are other libs that need to be instrumented in order not to prevent failures (see build-msan2.sh) in the Jira task: |
1636a99
to
00af657
Compare
|
@grooverdan , thank you so much for your help in completing this task. |
|
Thanks @AlexPykavy for starting it and @vladbogo for pointing to how to finish it. Its built according to spec now, but I haven't tired it in action. |
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.
LGTM, but based on experience probably some there will be some other small issues that need to be resolved
|
@AlexPykavy after some time off I dumbly restarted this work without remembering that you already almost finished it (the msan builder came again in a slack discussion)! Your PR is better since it uses upstream sources, but I think that it would be cleaner to put the script in the Dockerfile, I don't see any complex bash syntax that would be too difficult to maintain in a Dockerfile. Can you based on #72 integrate the bash script in the Dockerfile please. Then I will comment directly in the code since I have found some small errors. |
ad189f6
to
7865de9
Compare
|
I've also changed the order a bit to sequentially download and extract each sources package to the current directory, build it, copy output to the |
MSAN has been built according to the https://libcxx.llvm.org/BuildingLibcxx.html instructions
|
That's looking very good now! Thanks a lot @AlexPykavy for your contribution and sorry for the time it took to review your PR. I will now merge it since the prod use the tag |
MSAN has been built according to the https://libcxx.llvm.org/BuildingLibcxx.html instructions
There is also an issue with debian source package llvm/llvm-project#59240 which leads to some warnings during libcxx build.
And I've run
make installwhich moved built libraries and headers to the/usr/local. Is it fine or they have to reside somewhere else?