gradient-halide
gradient-halide copied to clipboard
Halide installation error
When using make to install halide
/home/zendevil/Desktop/gradient-halide/src/CodeGen_LLVM.cpp:1092:46: error: ‘createThreadSanitizerPass’ was not declared in this scope
pm.add(createThreadSanitizerPass());
^
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1plus: all warnings being treated as errors
Makefile:918: recipe for target 'bin/build/CodeGen_LLVM.o' failed
make: *** [bin/build/CodeGen_LLVM.o] Error 1```
What's your llvm version?
I came across the same problem. I think this fork doesn't work with LLVM 8 -- I've had success with LLVM/Clang 7.0.1 (although I think LLVM 7.1.0 should also work)