-DENABLE_SOLVER_Z3=ON
-DENABLE_UNIT_TESTS=OFF
-DENABLE_SYSTEM_TESTS=OFF
-DENABLE_POSIX_RUNTIME=OFF
-DENABLE_KLEE_UCLIBC=OFF
-DLLVM_CONFIG_BINARY=/home/ercoppa/Desktop/code/llvm-3.4-cmake/bin/llvm-config
-DLLVM_TOOLS_BINARY_DIR=/home/ercoppa/Desktop/code/llvm-3.4-cmake/bin/
-DCMAKE_PREFIX_PATH=/home/ercoppa/Desktop/code/llvm-3.4-cmake/
Last active
February 21, 2018 14:03
-
-
Save ercoppa/3a81e39c8c58e850cb9cce4841b55dad to your computer and use it in GitHub Desktop.
LLVM 3.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
export PATH=/home/ercoppa/Desktop/code/llvm-3.4-cmake/bin:$PATH | |
./configure --make-llvm-lib | |
make | |
``` |
- Get LLVM 3.4, clang 3.4, compiler-rt 3.4, clang-tools. Put clang in
llvm/tools
, rt inllvm/projects
, clang-tools inllvm/tools/clang/tools
- Patch llvm-config to fix output: [PATCH] [Bug]
unset LIBRARY_PATH CPATH C_INCLUDE_PATH PKG_CONFIG_PATH CPLUS_INCLUDE_PATH INCLUDE
mkdir llvm-3.4-cmake; cd llvm-3.4-cmake; cmake -DCMAKE_BUILD_TYPE="Debug" ~/Downloads/llvm-3.4.2.src; make -j2
export REQUIRE_RTTI=1
~/Downloads/llvm-3.4.2.src/configure --disable-optimized REQUIRE_RTTI=1
make REQUIRE_RTTI=1 -j3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone [email protected]:stp/minisat.git | |
cd minisat | |
mkdir build | |
cd build | |
cmake -DSTATIC_BINARIES=ON -DCMAKE_INSTALL_PREFIX=../build-install/ ../ | |
git clone https://github.com/stp/stp.git | |
mkdir build | |
cd build | |
cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DENABLE_PYTHON_INTERFACE:BOOL=OFF -DMINISAT_LIBRARY=/home/ercoppa/Desktop/code/minisat/build-install/lib/libminisat.a -DMINISAT_INCLUDE_DIR=/home/ercoppa/Desktop/code/minisat/build-install/include .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment