When trying to build Halide on Linux system with llvm-10.0 on release/10.x and master branches, facing the below issue

I cloned Halide from release/10.x, and compiled against the LLVM 10.0.0 binaries obtained here. On Ubuntu 20.04 LTS, I had to also apt install libtinfo5 because these binaries are built against old system libraries.

I noticed that the official binaries are not built with RTTI enabled (ugh) and was able to repro and fix. There’s a bug in dependencies/llvm/CMakeLists.txt. Find the line that reads:


and change GCC to GNU. We don’t test with non-RTTI LLVM, which is why this wasn’t caught.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top