Tapir-LLVM icon indicating copy to clipboard operation
Tapir-LLVM copied to clipboard

Installation Issues

Open ljian006 opened this issue 6 years ago • 3 comments

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

ljian006 avatar Sep 13 '18 17:09 ljian006

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

neboat avatar Sep 13 '18 18:09 neboat

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

ljian006 avatar Sep 13 '18 19:09 ljian006

Try sudo make install

ehein6 avatar Oct 09 '18 23:10 ehein6