Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
3baa162f
提交
3baa162f
authored
5月 30, 2017
作者:
Frédéric Bastien
提交者:
GitHub
5月 30, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5940 from slefrancois/jenkins_docker
dockerfile for jenkins buildbot
上级
df2aa750
0428516c
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
46 行增加
和
9 行删除
+46
-9
Dockerfile
.jenkins/docker_cuda_theano/Dockerfile
+46
-0
jenkins_pretest.sh
.jenkins/jenkins_pretest.sh
+0
-3
jenkins_test1.sh
.jenkins/jenkins_test1.sh
+0
-3
jenkins_test2.sh
.jenkins/jenkins_test2.sh
+0
-3
没有找到文件。
.jenkins/docker_cuda_theano/Dockerfile
0 → 100644
浏览文件 @
3baa162f
FROM
nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
ENV
DEBIAN_FRONTEND noninteractive
# Install tools
RUN
apt-get update
RUN
apt-get
install
-y
build-essential apt-utils wget git dvipng
time
# Install magma lib
RUN
apt-get
install
-y
libopenblas-dev
RUN
wget http://icl.cs.utk.edu/projectsfiles/magma/downloads/magma-2.2.0.tar.gz
RUN
tar
xvf magma-2.2.0.tar.gz
RUN
cp
magma-2.2.0/make.inc-examples/make.inc.openblas magma-2.2.0/make.inc
ENV
OPENBLASDIR /usr
ENV
CUDADIR /usr/local/cuda
RUN
(
cd
magma-2.2.0
&&
make
&&
make
install
prefix
=
/usr/local
)
RUN
ldconfig
# Setup conda python for Theano
RUN
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
RUN
bash Miniconda2-latest-Linux-x86_64.sh
-p
/miniconda
-b
ENV
PATH=/miniconda/bin:${PATH}
RUN
conda
install
numpy scipy sympy mkl nose pydot-ng graphviz cython cmake
RUN
conda update
-y
conda
RUN
pip
install
nose-timer parameterized
"flake8<3"
"sphinx==1.5.2"
sphinx_rtd_theme
RUN
pip
install
--upgrade-strategy
only-if-needed git+https://github.com/lebedov/scikit-cuda.git
# Setup latex for doc test
RUN
apt-get
install
-y
texlive-latex-base texlive-latex-extra
# Install SSH server and Java runtime for Jenkins
RUN
apt-get
install
-y
openssh-server default-jre-headless
# Add jenkins user and setup environment
RUN
useradd
-m
-s
/bin/bash jenkins
RUN
echo
jenkins:jenkins | chpasswd
RUN
echo
"export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/miniconda/bin:
\$
PATH"
>>
/home/jenkins/.bashrc
RUN
echo
"export LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:
\$
LD_LIBRARY_PATH"
>>
/home/jenkins/.bashrc
# Copy jenkins slave.jar into container
RUN
wget
-P
home/jenkins http://earlgrey.iro.umontreal.ca:8080/jnlpJars/slave.jar
RUN
chown
-R
jenkins:jenkins /home/jenkins/
*
# Set launch command as Jenkins slave.jar
CMD
java -jar /home/jenkins/slave.jar
\ No newline at end of file
.jenkins/jenkins_pretest.sh
浏览文件 @
3baa162f
...
@@ -5,9 +5,6 @@
...
@@ -5,9 +5,6 @@
# Print commands as they are executed
# Print commands as they are executed
set
-x
set
-x
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
# Test flake8
# Test flake8
echo
"===== Testing flake8"
echo
"===== Testing flake8"
bin/theano-nose theano/tests/test_flake8.py
--with-xunit
--xunit-file
=
theano_pre_tests.xml
||
exit
1
bin/theano-nose theano/tests/test_flake8.py
--with-xunit
--xunit-file
=
theano_pre_tests.xml
||
exit
1
...
...
.jenkins/jenkins_test1.sh
浏览文件 @
3baa162f
...
@@ -5,9 +5,6 @@
...
@@ -5,9 +5,6 @@
# Print commands as they are executed
# Print commands as they are executed
set
-x
set
-x
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
echo
"===== Testing theano core"
echo
"===== Testing theano core"
# Test theano core
# Test theano core
...
...
.jenkins/jenkins_test2.sh
浏览文件 @
3baa162f
...
@@ -5,9 +5,6 @@
...
@@ -5,9 +5,6 @@
# Print commands as they are executed
# Print commands as they are executed
set
-x
set
-x
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
# CUDA
# CUDA
export
PATH
=
/usr/local/cuda/bin:
$PATH
export
PATH
=
/usr/local/cuda/bin:
$PATH
export
CPATH
=
/usr/local/cuda/include/:
$CPATH
export
CPATH
=
/usr/local/cuda/include/:
$CPATH
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论