-
Notifications
You must be signed in to change notification settings - Fork 23
Building Halide
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)
-
installing dependencies
sudo apt-get install build-essential git zlib1g-dev libedit-dev libpng-dev libjpeg-dev
-
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
-
downloading codebase
git clone git@github.com:jingpu/Halide-HLS.git
-
building Halide
cd [path to Halide-HLS] make -j