forked from llvm-mirror/dragonegg
-
Notifications
You must be signed in to change notification settings - Fork 1
Build
Leslie Zhai edited this page Sep 5, 2017
·
1 revision
switch to llvm-3.3 source code directory, then
$ make build
$ cd build
$ export CC=gcc
$ export CXX=c++
$ ../configure \
--libdir=/usr/lib64/llvm33 \
--includedir=/usr/include/llvm33 \
--disable-polly \
--disable-libcpp \
--enable-cxx11 \
--enable-clang-arcmt \
--enable-clang-static-analyzer \
--enable-clang-rewriter \
--enable-optimized \
--disable-profiling \
--disable-assertions \
--disable-werror \
--disable-expensive-checks \
--enable-debug-runtime \
--enable-keep-symbols \
--enable-jit \
--enable-docs \
--disable-doxygen \
--enable-threads \
--enable-pthreads \
--enable-zlib \
--enable-pic \
--enable-shared \
--disable-embed-stdcxx \
--enable-timestamps \
--enable-backtraces \
--enable-targets=x86,arm,aarch64 \
--enable-bindings=none \
--enable-libffi \
--enable-ltdl-install
$ make -j4
checkout dragonegg release_33 branch, then
$ make LLVM_CONFIG=/opt/llvm33/bin/llvm-config
$ make
$ make LLVM_CONFIG=/usr/bin/llvm-config-3.3
checkout to dragonegg gcc-8-branch, then
$ make ENABLE_LLVM_PLUGINS=1