chisel icon indicating copy to clipboard operation
chisel copied to clipboard

Running CHISEL with customized LLVM & Clang locations

Open Mohannadcse opened this issue 5 years ago • 1 comments

I'm trying to build CHISEL from source, but I don't want to install LLVM on my machine, instead, I downloaded the binary and source of Clang and LLVM (I didn't build LLVM from source). I exported the paths to LLVM and Clang into the .bashrc file. As shown below.

image

However, I'm still I can't build CHISEL and cmake keeps complaining about not finding the path to LLVM_CONFIG_EXECUTABLE

image

Mohannadcse avatar Mar 19 '20 18:03 Mohannadcse

I also was experiencing this blocker, but passing the config executable path into cmake manually worked for me. Inside the build directory I created after cloning the repo I ran:

cmake -DLLVM_CONFIG_EXECUTABLE=<path to llvm-config> ..

nharris-gt avatar Dec 19 '22 21:12 nharris-gt