From 825b5eaee7fca1a47bada0bec05b50249f16a25f Mon Sep 17 00:00:00 2001
From: cpchung <chakpongchung@gmail.com>
Date: Mon, 26 Nov 2018 10:23:37 -0500
Subject: [PATCH 1/2] Update install-deps

for 18.04 LTS
---
 install-deps | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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.'

From 200530b8e9f483a3500510f4e7825dbe76a81827 Mon Sep 17 00:00:00 2001
From: cpchung <chakpongchung@gmail.com>
Date: Mon, 26 Nov 2018 12:14:58 -0500
Subject: [PATCH 2/2] Update README.md

---
 README.md | 7 +++++++
 1 file changed, 7 insertions(+)

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