Skip to content
Jing Pu edited this page Jun 13, 2017 · 4 revisions

The following has been tested on Ubuntu 14.04LTS (should also work with 16.04LTS)

  1. installing dependencies

     sudo apt-get install build-essential git zlib1g-dev libedit-dev libpng-dev libjpeg-dev
    
  2. installing LLVM 3.8 and Clang 3.8 (should also work with version 3.6 and 3.7 and for Ubuntu 16.04).

     wget http://llvm.org/releases/3.8.1/clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz
     tar xvf clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz
     mv clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-14.04 $LLVM_INSTALL_DIR
     export LLVM_CONFIG=${LLVM_INSTALL_DIR}/bin/llvm-config
     export CLANG=${LLVM_INSTALL_DIR}/bin/clang
    
  3. downloading codebase

     git clone git@github.com:jingpu/Halide-HLS.git
    
  4. building Halide

     cd [path to Halide-HLS]
     make -j
    
Clone this wiki locally