Skip to content
Leslie Zhai edited this page Sep 5, 2017 · 1 revision

Build

release_33 branch

Fedora 15

llvm release_33 branch

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

Fedora 15

$ make LLVM_CONFIG=/opt/llvm33/bin/llvm-config

Fedora 19

$ make

Ubuntu 14

$ make LLVM_CONFIG=/usr/bin/llvm-config-3.3

gcc-8-branch

Fedora 25

checkout to dragonegg gcc-8-branch, then

$ make ENABLE_LLVM_PLUGINS=1
Clone this wiki locally