Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
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
Container Registry
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
particle_methods
hysop
Commits
89b492a1
Commit
89b492a1
authored
7 years ago
by
Jean-Baptiste Keck
Browse files
Options
Downloads
Patches
Plain Diff
working bionic dockerfile
parent
0d8c129c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/docker_images/ubuntu/bionic/Dockerfile
+20
-21
20 additions, 21 deletions
ci/docker_images/ubuntu/bionic/Dockerfile
with
20 additions
and
21 deletions
ci/docker_images/ubuntu/bionic/Dockerfile
+
20
−
21
View file @
89b492a1
...
...
@@ -99,27 +99,11 @@ RUN cd /tmp \
&&
cd
-
\
&&
rm
-Rf
/tmp/patchelf
# python graphtools
RUN
cd
/tmp
\
&&
wget https://downloads.skewed.de/graph-tool/graph-tool-2.26.tar.bz2
\
&&
tar
-xvjf
graph-tool-2.26.tar.bz2
\
&&
cd
graph-tool-2.26
\
&&
./autogen.sh
\
&&
mkdir
pycairo
\
&&
find /usr/
-name
'pycairo.h'
-exec
cp
{}
./pycairo/pycairo.h
\;
\
&&
CPPFLAGS
=
-I
.
./configure
\
&&
CPPFLAGS
=
-I
.
make
\
&&
make
install
\
&&
cd
-
\
&&
rm
-Rf
/tmp/graph-tool-2.26
#&& for f in $(grep -Rl '[^:]placeholders::'); do echo '%s/[^:]\zs\zeplaceholders::/std::/g | w' | vim -e $f; done; \
#CPPFLAGS=-I. ./configure \
RUN
echo
'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main'
>>
/etc/apt/sources.list
\
RUN
wget
-O
- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
\
&&
echo
'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main'
>>
/etc/apt/sources.list
\
&&
echo
'deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic main'
>>
/etc/apt/sources.list
\
&&
apt-get update
\
&&
apt-get
install
--assume-yes
--allow-unauthenticated
llvm-3.8 clang-3.8 libllvm3.8 libclang-3.8-dev
&&
apt-get update
\
&&
apt-get
install
--assume-yes
llvm-3.8 clang-3.8 libllvm3.8 libclang-3.8-dev
# Intel OpenCl
RUN
cd
/tmp
\
...
...
@@ -135,7 +119,7 @@ RUN cd /tmp
&&
rm
-Rf
/tmp/intel
# Fix OpenCl ICD
#
RUN ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so
RUN
ln
-s
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so
RUN
ldconfig
# pyopencl
...
...
@@ -183,6 +167,21 @@ RUN cd /tmp \
&&
cd
-
\
&&
rm
-Rf
/tmp/gpyfft
# python graphtools
RUN
cd
/tmp
\
&&
wget https://downloads.skewed.de/graph-tool/graph-tool-2.26.tar.bz2
\
&&
tar
-xvjf
graph-tool-2.26.tar.bz2
\
&&
cd
graph-tool-2.26
\
&&
./autogen.sh
\
&&
mkdir
pycairo
\
&&
find /usr/
-name
'pycairo.h'
-exec
cp
{}
./pycairo/pycairo.h
\;
\
&&
CPPFLAGS
=
-I
.
./configure
\
&&
CPPFLAGS
=
-I
.
make
\
&&
make
install
\
&&
cd
-
\
&&
rm
-Rf
/tmp/graph-tool-2.26
# clean cached packages
RUN
rm
-rf
/var/lib/apt/lists/
*
RUN
rm
-rf
$HOME
/.cache/pip/
*
...
...
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