Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
halide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sander Mathijs van Veen
halide
Commits
ec93328a
Commit
ec93328a
authored
9 years ago
by
Sander Mathijs van Veen
Browse files
Options
Downloads
Patches
Plain Diff
Rebuild halide and update build script for ubuntu 15.04
parent
b25b1173
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+17
-5
17 additions, 5 deletions
Dockerfile
build_halide.sh
+18
-0
18 additions, 0 deletions
build_halide.sh
makefile
+1
-1
1 addition, 1 deletion
makefile
with
36 additions
and
6 deletions
Dockerfile
+
17
−
5
View file @
ec93328a
FROM
ubuntu:1
4.10
FROM
ubuntu:1
5.04
MAINTAINER
smvv@kompiler.org
RUN
apt-get update
\
&&
apt-get
install
-y
\
cmake
\
clang
\
libtbb-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/
;
This diff is collapsed.
Click to expand it.
build_halide.sh
0 → 100755
+
18
−
0
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
This diff is collapsed.
Click to expand it.
makefile
+
1
−
1
View file @
ec93328a
DOCKER
?=
docker
image
:
$(
DOCKER
)
build
-t
smv
v
/halide
_
201
4_10_09
.
$(
DOCKER
)
build
-t
smv
anveen
/halide
:
201
50801
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment