try by copying libgomp

This commit is contained in:
ixaxaar 2017-12-01 13:11:16 +05:30
parent 0df4eb8d4c
commit dc05308b38

View File

@ -6,8 +6,6 @@ before_install:
- sudo apt-get -qq update
- sudo apt-get install software-properties-common
- sudo apt-get install libopenblas-dev
- sudo apt-get install libgomp1
- sudo apt-get install swig
- sudo ln -s /usr/lib/libopenblas.so /usr/lib/libopenblas.so.3
- wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb -O /tmp/cuda.deb
- sudo dpkg -i /tmp/cuda.deb
@ -19,5 +17,6 @@ install:
- pip install visdom
# command to run tests
script:
- cp /usr/local/lib/python3.6/dist-packages/torch/lib/libgomp-ae56ecdc.so.1.0.0 /usr/lib/libgomp.so.1
- pip install -e .
- pytest ./test