-
Notifications
You must be signed in to change notification settings - Fork 2.5k
halide: initial integration #10107
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
halide: initial integration #10107
Conversation
64bac4b
to
7ebb13e
Compare
TODOs:
|
Halide is critical to the global IT infrastructure and has;
|
18dffe5
to
4eb7473
Compare
projects/halide/project.yaml
Outdated
homepage: "https://halide-lang.org/" | ||
language: c++ | ||
# TODO: Find primary contact | ||
primary_contact: "" |
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.
@alexreinking would it make sense for you to be the primary contact for this repo? if so do you have a google/gmail or github associated email that I can put here?
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.
Probably better to put @steven-johnson as OSS-Fuzz is a Google project and he works at Google.
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.
If you would like I can add you to the auto_ccs instead and that'll give you access to the dashboard/stats/bug tracker etc. I think the primary contact has a few more privileges, on top of that but I'm unsure.
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.
Probably better to put @steven-johnson as OSS-Fuzz is a Google project and he works at Google.
SGTM
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
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.
If you would like I can add you to the auto_ccs instead and that'll give you access to the dashboard/stats/bug tracker etc. I think the primary contact has a few more privileges, on top of that but I'm unsure.
That would be good!
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.
Easy, should I use your @gmail from the git log or a different email. Note that it does need to be a gmail account for you to get full access to the bug tracker/dashboard.
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.
Yeah, alex.reinking@gmail.com
is the best address
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
236a9b1
to
3b76ec4
Compare
Build failures should be fixed in halide/Halide#7542 |
I'm just confirming the change by creating a PR against silvergasp/main and cloning from that rather than upstream halide. CI results here nathaniel-brough#8 |
Is this ready to merge. We approve adding it to OSS-Fuzz. |
Since half the tests seem to be failing, I'm gonna guess "no" |
Yeah, this not quite ready. Although I think I just need to re-trigger the CI as I fixed some issues in the CmakeLists upstream. I'll try the close/re-open hack to re-trigger. |
While I've got your attention @jonathanmetzman have you ever seen an error like this? It almost looks like a bug in libfuzzer, the stack trace comes from I haven't seen this problem while building the fuzzers outside of the oss-fuzz container with the same build commands, and the fuzzers runs for at least a couple hours (before I've manually killed them) while I've been testing. https://github.com/silvergasp/oss-fuzz/actions/runs/4855944456/jobs/8654990302?pr=8
|
See also halide/Halide#7546, which must be fixed before this can land |
Ok so it looks like the bad-build failure might be a false positive bug in llvm/ASAN see llvm/llvm-project#60384 which looks similar. I'm not really that familiar with llvm internals so I'm not confident enough to say, "yes it is a bug" and that we should just disable container overflow checks for now... I'll investigate further, it's fairly easy to disable this ASAN check but not sure if that's the right approach. |
So after A LOT of fiddling/waiting 3 or so hours to rebuild I've finally got this working. It turns out ASAN has a bunch of false positives if you are linking non-ASAN-instrumented code with ASAN instrumented code. But LLVM doesn't necessarily like to build directly with the flags provided by the OSS-fuzz build environment, and it needs it's own cmake configuration to build libclang and libllvm with a sanitized build. It'll be another few hours until the CI is finished but I'm pretty confident that it'll all be green as I've tested it locally. |
@jonathanmetzman I think this one is ready to go, the build failure is because the github runner ran out of disk space while building LLVM and doesn't appear to be related to the fuzzer itself. As long as the machines that oss-fuzz uses for builds have the disk space to build everything, then this should be good to go. Otherwise the bad-build checks are all passing. |
@jonathanmetzman friendly ping |
@silvergasp is integrating a new project: |
@jonathanmetzman Friendly ping :) The CI is still failing because the github builder is running out of disk space while building llvm. |
920a9da
to
bfb1cd2
Compare
Signed-off-by: Nathaniel Brough <nathaniel.brough@gmail.com>
bfb1cd2
to
672efad
Compare
No description provided.