gradient-halide icon indicating copy to clipboard operation
gradient-halide copied to clipboard

Halide installation error

Open zendevil opened this issue 5 years ago • 2 comments

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```

zendevil avatar May 12 '19 21:05 zendevil

What's your llvm version?

BachiLi avatar May 28 '19 03:05 BachiLi

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)

AnimatedRNG avatar Jul 16 '19 19:07 AnimatedRNG