Ignore:
Timestamp:
Oct 4, 2016, 7:55:11 AM (3 years ago)
Author:
cameron
Message:

Simplify build to allow easier determination/selection of LLVM library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/README-icgrep.txt

    r5043 r5178  
    3434sudo apt-get install libboost-all-dev
    3535
     36
    3637To build LLVM,
    3738(L1) open a terminal window and cd to the llvm-build directory
    3839(L2) enter the following command to build the makefiles
    39 cmake -DCMAKE_INSTALL_PREFIX=../libllvm -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_TOOLS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang ../llvm-3.8.0.src
     40cmake -DCMAKE_INSTALL_PREFIX=../libllvm -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_TOOLS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release ../llvm-3.8.0.src
    4041(L3) Still in the llvm-build directory, enter the commands "make" and then "make install"
    4142
     
    4445(IC1)  open a terminal window and cd to the icgrep-build directory
    4546(IC2)  enter the following command to build the makefiles
    46 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang ../icgrep
     47cmake -DCMAKE_PREFIX_PATH=../libllvm -DCMAKE_BUILD_TYPE=Release ../icgrep
    4748(IC3) Enter the command "make"
    4849
Note: See TracChangeset for help on using the changeset viewer.