Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
halide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sander Mathijs van Veen
halide
Commits
ec93328a
Commit
ec93328a
authored
Aug 01, 2015
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebuild halide and update build script for ubuntu 15.04
parent
b25b1173
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
6 deletions
+36
-6
Dockerfile
Dockerfile
+17
-5
build_halide.sh
build_halide.sh
+18
-0
makefile
makefile
+1
-1
No files found.
Dockerfile
View file @
ec93328a
FROM
ubuntu:1
4.10
FROM
ubuntu:1
5.04
MAINTAINER
smvv@kompiler.org
MAINTAINER
smvv@kompiler.org
RUN
apt-get update
\
RUN
apt-get update
\
&&
apt-get
install
-y
\
&&
apt-get
install
-y
\
cmake
\
clang
\
clang
\
libtbb-dev
\
llvm-3.5-dev
\
llvm-3.5-dev
\
wget
wget
\
zlib1g-dev
\
libedit-dev
ADD
install_halide.sh /root/install_halide.sh
RUN
cd
/root
;
\
wget
--progress
=
dot:mega
\
https://github.com/halide/Halide/archive/master.tar.gz
;
\
tar
xzf master.tar.gz
;
RUN
/root/install_halide.sh
ADD
build_halide.sh /root/build_halide.sh
RUN
/root/build_halide.sh
RUN
cd
/root/Halide-master/build
;
\
mkdir
-p
/usr/local/include /usr/local/lib
;
\
cp
lib/
*
/usr/local/lib/
;
\
cp
include/
*
/usr/local/include/
;
build_halide.sh
0 → 100755
View file @
ec93328a
#!/bin/bash -ex
cd
/root/
;
cd
Halide-master
;
mkdir
build
;
cd
build
;
export
LLVM_ROOT
=
/usr/lib/llvm-3.6
cmake
\
-DLLVM_BIN
=
${
LLVM_ROOT
}
/bin
\
-DLLVM_INCLUDE
=
${
LLVM_ROOT
}
/include
\
-DLLVM_LIB
=
${
LLVM_ROOT
}
/lib
\
-DLLVM_VERSION
=
36
\
..
make
-j4
makefile
View file @
ec93328a
DOCKER
?=
docker
DOCKER
?=
docker
image
:
image
:
$(DOCKER)
build
-t
smv
v/halide_2014_10_09
.
$(DOCKER)
build
-t
smv
anveen/halide:20150801
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment