Tapir-LLVM
Tapir-LLVM copied to clipboard
Installation Issues
Hello,
I tried to follow the steps on Cilk Hub (http://cilk.mit.edu/download/) to install Tapir/LLVM compiler on Ubantu 14.04.1, but when I was running command "cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host -DLLVM_BINUTILS_INCDIR=/usr/include .." to build Tapir/LLVM, it showed that "The snappy compression library is required to build Cilksan". Under such situations, I tried to download the source code of snappy (https://github.com/google/snappy ) and use cmake command to build it. Unfortunately, after snappy had been built successfully, the same error was still there. Could you please give me some suggestions to fix this issue?
Thank you very much for your help. Look forward to you reply.
Bests, Lin
Hey Lin,
A couple of questions:
- After you built snappy from source, did you install snappy onto your system?
- Assuming you installed snappy, did you then clear out the build directory for Tapir/LLVM and then rerun the cmake command you mentioned? Clearing out this build directory is necessary for fixing cmake's cache.
Cheers, TB
Hello,
Thanks for your reply. After I built snappy from source, is there any commands to install it onto my Ubantu system? I used this command to build snappy ("mkdir build cd build && cmake ../ && make"), which is the same as the guide on the snappy Github repository. Thanks.
Bests, Lin
Try sudo make install