source: icGREP/icgrep-0.8/README-icgrep-0.8.txt @ 3986

Last change on this file since 3986 was 3851, checked in by cameron, 5 years ago

Open Source License notices

File size: 1.6 KB
Line 
1README-icgrep-0.8.txt
2
3This is the open-source version of icgrep 0.8.   This file includes
4an executable for 64-bit Linux systems (compiled specifically for
5Ubuntu 12.04) as well as instructions for building in other contexts.
6The executable is in icgrep-0.8/icgrep-build/icgrep
7
8To build icgrep, you need an installed LLVM system providing the
9core libraries.    One is included with this distributed in the
10libllvm directory.   
11
12Using the installed LLVM, building icgrep uses the CMake build
13system generator.   
14(IC1)  open a terminal window and cd to the icgrep-build directory
15(IC2)  enter the following command to build the makefiles
16cmake -DCMAKE_CXX_FLAGS="-O3 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS" -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang ../icgrep
17(IC3) Enter the command "make"
18
19To rebuild LLVM,
20(L1) download a source distribution from llvm.org
21and place inside the icgrep-0.8 directory, e.g., llvm-3.4.1.src
22(L2) open a terminal window and cd to the llvm-build directory
23(L3)  enter the following command to build the makefiles
24cmake -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.4.1.src
25(L4) Still in the llvm-build directory, enter the commands "make" and then "make install"
26
27Now complete icgrep installation using steps IC1 to IC3 above.
28
29LLVM files are governed by the LLVM Release License in LLVM-LICENSE.txt.
30icgrep is governed by Open Software License 3.0 in OSL-3.0.txt.
31.
32
Note: See TracBrowser for help on using the repository browser.