diff --git a/README.md b/README.md index f7ff56274..5328d9044 100644 --- a/README.md +++ b/README.md @@ -55,3 +55,10 @@ You can test that all libraries are installed properly by running: ``` Tested on Ubuntu 14.04, CentOS/RHEL 6.3 and OSX + +https://github.com/torch/torch7/issues/1086 + + +export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__" +bash install-deps +yes | bash ./install.sh diff --git a/install-deps b/install-deps index b1d5a4d44..734a75dff 100755 --- a/install-deps +++ b/install-deps @@ -175,7 +175,8 @@ elif [[ "$(uname)" == 'Linux' ]]; then echo "Some portion of the update is failed" fi # python-software-properties is required for apt-add-repository - sudo apt-get install -y python-software-properties + # sudo apt-get install -y python-software-properties + sudo apt-get install -y software-properties-common # for 18.04 LTS echo "==> Found Ubuntu version ${ubuntu_major_version}.xx" if [[ $ubuntu_major_version -lt '12' ]]; then echo '==> Ubuntu version not supported.'