diff options
author | Soumith Chintala <soumith@fb.com> | 2015-10-26 02:07:38 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2015-10-26 02:07:38 +0300 |
commit | c0ab4a32edbaff41e11278ed289d227608910cad (patch) | |
tree | 778ff232e0aa0402b0eac35fa9fd8e6ea95bb1b6 /.travis.yml | |
parent | 9ae988c9c41bdb6b4f3cc95d7b85969d16d1733a (diff) |
multi-core openblas build. No openblas build output in log.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ea9a4dd..6d15c45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ addons: before_script: - export ROOT_TRAVIS_DIR=$(pwd) - export INSTALL_PREFIX=~/torch/install -- ls $HOME/OpenBlasInstall/lib || (cd /tmp/ && git clone https://github.com/xianyi/OpenBLAS.git -b master && cd OpenBLAS && make NO_AFFINITY=1 -j2 && make PREFIX=$HOME/OpenBlasInstall install) +- ls $HOME/OpenBlasInstall/lib || (cd /tmp/ && git clone https://github.com/xianyi/OpenBLAS.git -b master && cd OpenBLAS && (make NO_AFFINITY=1 -j$(getconf _NPROCESSORS_ONLN) 2>/dev/null >/dev/null) && make PREFIX=$HOME/OpenBlasInstall install) - git clone https://github.com/torch/distro.git ~/torch --recursive - cd ~/torch && git submodule update --init --recursive - mkdir build && cd build |