-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Default WITH_TEST_FUZZ to OFF #7695
Conversation
Just because our compiler supports fuzzing doesn't mean we want to build the fuzz tests, because they won't really build properly without the right preset specified. (This will be followed up with a change to the buildbot to set WITH_TEST_FUZZ to ON for fuzz tests)
want to add to the reasons for not enabling them by default, with fuzzer linked, whenever you call
Not sure about the exact reason, but most likely because libfuzz will insert some kind of |
* Always explicitly set WITH_TEST_FUZZ Needed for halide/Halide#7695 * Update master.cfg
Monday morning review ping |
# Note that we want to default WITH_TEST_FUZZ to OFF, even if HAS_FUZZ_FLAGS | ||
# is true: just because our compiler supports fuzzing doesn't mean we want to | ||
# build the fuzz tests, because they won't really build properly without the | ||
# right preset specified. |
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.
What doesn't work, exactly? The idea was that HAS_FUZZ_FLAGS
was a sufficient condition on the environment for the fuzz tests to be expected to work. What is the true condition?
The fuzzer tests must be built using the |
That's kind of my question... why? What does the preset do that's special? The only non-standard thing I see is that it uses static Halide (so |
I believe it's the new flag making it special: Halide/cmake/toolchain.linux-x64-fuzzer.cmake Lines 20 to 25 in fd9bfc8
|
Yep, |
e.g. it injects its own int main! |
* Fix for top-of-tree LLVM * Default WITH_TEST_FUZZ to OFF Just because our compiler supports fuzzing doesn't mean we want to build the fuzz tests, because they won't really build properly without the right preset specified. (This will be followed up with a change to the buildbot to set WITH_TEST_FUZZ to ON for fuzz tests)
Just because our compiler supports fuzzing doesn't mean we want to build the fuzz tests, because they won't really build properly without the right preset specified.
(This will be followed up with a change to the buildbot to set WITH_TEST_FUZZ to ON for fuzz tests)
attn: @TH3CHARLie