提交 9e4b1296 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Make sure the PR have the proper MKL setting.

上级 1901d980
...@@ -12,6 +12,7 @@ environment: ...@@ -12,6 +12,7 @@ environment:
BINSTAR_TOKEN: BINSTAR_TOKEN:
secure: 58KqJcKtfCBVCuIzpnkLm4XZLQqKq95Hs8Ly20HWaMSla67nusrp3y4sy6XzZOBQ secure: 58KqJcKtfCBVCuIzpnkLm4XZLQqKq95Hs8Ly20HWaMSla67nusrp3y4sy6XzZOBQ
CONDA_LOC: "C:\\Miniconda-x64" CONDA_LOC: "C:\\Miniconda-x64"
MKL_THREADING_LAYER: GNU
install: install:
# This breaks conda-build because of git # This breaks conda-build because of git
......
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
# Print commands as they are executed # Print commands as they are executed
set -x set -x
# To make MKL work
export MKL_THREADING_LAYER=GNU
# Copy cache from master # Copy cache from master
BASECOMPILEDIR=$HOME/.theano/pr_theano BASECOMPILEDIR=$HOME/.theano/pr_theano
rsync -a $HOME/cache/ $HOME/.theano/pr_theano rsync -a $HOME/cache/ $HOME/.theano/pr_theano
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
# Print commands as they are executed # Print commands as they are executed
set -x set -x
export MKL_THREADING_LAYER=GNU
# Copy cache from master # Copy cache from master
BASECOMPILEDIR=$HOME/.theano/pr_theano BASECOMPILEDIR=$HOME/.theano/pr_theano
rsync -a $HOME/cache/ $HOME/.theano/pr_theano rsync -a $HOME/cache/ $HOME/.theano/pr_theano
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
# Print commands as they are executed # Print commands as they are executed
set -x set -x
export MKL_THREADING_LAYER=GNU
# 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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论