Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install-deps #273

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down