Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit dd9b5e8

Browse files
committed
Update install instructions in docs and github issue template
1 parent d12ed79 commit dd9b5e8

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ When submitting a bug report, please include the following information (where re
1515
- Docker image (if using docker):
1616
- GCC/GXX version (if compiling from source):
1717
- LLVM/Tapir git hash used (if compiling from source):
18+
19+
To get the hash, run: `$HOME/clang+llvm-tapir5.0/bin/clang --version`
20+
1821
- Commit hash of our repo and submodules (if compiling from source):
1922

2023
In addition, including the following information will also be very helpful for us to diagnose the problem:

docs/source/installation_conda.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ Now, Install cuDNN v6.0 (skip if you have it already):
136136
$ CUDNN_TAR_FILE="cudnn-8.0-linux-x64-v6.0.tgz"
137137
$ wget http://developer.download.nvidia.com/compute/redist/cudnn/v6.0/${CUDNN_TAR_FILE}
138138
$ tar -xzvf ${CUDNN_TAR_FILE}
139-
$ sudo cp -P cuda/include/cudnn.h /usr/local/cuda/include
140-
$ sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
141-
$ sudo chmod a+r /usr/local/cuda/lib64/libcudnn*
139+
$ cp -P cuda/include/cudnn.h /usr/local/cuda/include
140+
$ cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
141+
$ chmod a+r /usr/local/cuda/lib64/libcudnn*
142142
143143
Set environment variables:
144144

@@ -161,7 +161,7 @@ to install the protobuf.
161161
162162
$ mkdir -p /tmp/proto-install && cd /tmp/proto-install
163163
$ wget --quiet https://github.com/google/protobuf/archive/v3.4.0.zip -O proto.zip && unzip -qq proto.zip -d .
164-
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && sudo make install && sudo ldconfig
164+
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && make install && ldconfig
165165
166166
Now check your proto version by running:
167167

docs/source/installation_non_conda.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ Step 1: Install some build dependencies
1313
.. code-block:: bash
1414
1515
$ apt-get update
16-
$ apt-get install -y libgoogle-glog-dev curl build-essential cmake git automake libgmp3-dev libtool ssh libyaml-dev realpath wget valgrind software-properties-common unzip
16+
$ apt-get install -y libgoogle-glog-dev curl build-essential cmake git automake libgmp3-dev libtool ssh libyaml-dev realpath wget valgrind software-properties-common unzip libz-dev
1717
1818
.. note::
1919

20-
You might additionally need to install :code:`cmake3` and :code:`libz-dev`, if these packages are not found by apt-get, you can proceed otherwise install them by running :code:`apt-get install libz-dev`
20+
You might additionally need to install :code:`cmake3`, if this package is not found by apt-get, you can proceed.
2121

2222
Step 2: Setup gcc / g++
2323
^^^^^^^^^^^^^^^^^^^^^^^
@@ -97,9 +97,9 @@ Now, Install cuDNN v6.0 (skip if you have it already):
9797
$ CUDNN_TAR_FILE="cudnn-8.0-linux-x64-v6.0.tgz"
9898
$ wget http://developer.download.nvidia.com/compute/redist/cudnn/v6.0/${CUDNN_TAR_FILE}
9999
$ tar -xzvf ${CUDNN_TAR_FILE}
100-
$ sudo cp -P cuda/include/cudnn.h /usr/local/cuda/include
101-
$ sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
102-
$ sudo chmod a+r /usr/local/cuda/lib64/libcudnn*
100+
$ cp -P cuda/include/cudnn.h /usr/local/cuda/include
101+
$ cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
102+
$ chmod a+r /usr/local/cuda/lib64/libcudnn*
103103
104104
Set environment variables:
105105

@@ -118,7 +118,7 @@ to install the protobuf.
118118
119119
$ mkdir -p /tmp/proto-install && cd /tmp/proto-install
120120
$ wget --quiet https://github.com/google/protobuf/archive/v3.4.0.zip -O proto.zip && unzip -qq proto.zip -d .
121-
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && sudo make install && sudo ldconfig
121+
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && make install && ldconfig
122122
123123
Now check your proto version by running:
124124

@@ -136,7 +136,7 @@ dependencies and updating your Python:
136136

137137
.. code-block:: bash
138138
139-
$ sudo apt-get install -y python3-dev python3-pip python3-setuptools
139+
$ apt-get install -y python3-dev python3-pip python3-setuptools
140140
$ pip3 install --upgrade pip
141141
$ pip3 install numpy pyyaml
142142

0 commit comments

Comments
 (0)