Initial commit of a Halide Docker container

parents
FROM ubuntu:14.10
MAINTAINER smvv@kompiler.org
RUN apt-get update \
&& apt-get install -y \
clang \
libtbb-dev \
llvm-3.5-dev \
wget
ADD install_halide.sh /root/install_halide.sh
RUN /root/install_halide.sh
#!/bin/bash -ex
cd /root/
wget https://github.com/halide/Halide/releases/download/release_2014_10_09/halide_Linux_64_trunk_c62501f68ab9033d99ae0cc6d0d415646840f303_2014_10_09.tgz
tar xvf halide_Linux_64_trunk_c62501f68ab9033d99ae0cc6d0d415646840f303_2014_10_09.tgz
rm /root/halide_Linux_64_trunk_c62501f68ab9033d99ae0cc6d0d415646840f303_2014_10_09.tgz
mkdir -p /usr/local/include /usr/local/lib
cp halide/bin/* /usr/local/lib/
cp halide/include/* /usr/local/include/
rm -rf halide
DOCKER ?= docker
image:
$(DOCKER) build -t smvv/halide_2014_10_09 .
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment