Closed njkrichardson closed 3 years ago
Hi there,
Was browsing issues regarding the build, and saw #5175. Looks like this codebase doesn't like newer LLVM versions, where they decided to remove the explicit conversion of llvm::StringRef
to std::string
. You can get down the rabbit hole of trying to fix the compilation, or you can install clang 7 (also works with 8, for others I do not know). You should be able to do that with brew
, then select the correct version of clang. One easy way to do that is set the environment variables CC
and CXX
to clang-7
and clang++-7
(or whichever version you use). Then fix the path of the LLVM tools configured in your CMake. I use ccmake
to do that. The variables I had to edit are LIBJIT_LLVM_LINK_BIN
and LLVM_DIR
.
Hope that helps.
I've followed the instructions in the readme exactly, but experience a build failure on MacOS Catalina. Am I doing something incorrectly or should different instructions be followed for MacOS users? Again, I followed the instructions in the readme exactly (using Homebrew as a package manager). Any help would be much appreciated.