提交 a1114411 编写于 作者: T Travis CI

Deploy to GitHub Pages: 0f6bca26

上级 b3c0fbf8
......@@ -22,6 +22,7 @@ To compile the source code, your computer must be equipped with the following de
- **CMake**: CMake >= 3.0 (at least CMake 3.4 on Mac OS X)
- **BLAS**: MKL, OpenBlas or ATLAS
- **Python**: only support Python 2.7
- **Go**
**Note:** For CUDA 7.0 and CUDA 7.5, GCC 5.0 and up are not supported!
For CUDA 8.0, GCC versions later than 5.3 are not supported!
......@@ -107,6 +108,18 @@ As a simple example, consider the following:
sudo apt-get install -y python python-pip python-numpy libpython-dev bison
sudo pip install 'protobuf==3.1.0.post1'
# Install Go
# You can follow https://golang.org/doc/install for a detailed explanation.
wget -O go.tgz https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz && \
tar -C $HOME -xzf go.tgz && \
mkdir $HOME/gopath && \
rm go.tgz
# Setup environment variables
export GOROOT=$HOME/go
export GOPATH=$HOME/gopath
export PATH=$PATH:$GOROOT/bin
# install cmake 3.4
curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \
cd cmake-3.4.1 && ./bootstrap && make -j4 && sudo make install && \
......
......@@ -210,6 +210,7 @@
<li><strong>CMake</strong>: CMake &gt;= 3.0 (at least CMake 3.4 on Mac OS X)</li>
<li><strong>BLAS</strong>: MKL, OpenBlas or ATLAS</li>
<li><strong>Python</strong>: only support Python 2.7</li>
<li><strong>Go</strong></li>
</ul>
<p><strong>Note:</strong> For CUDA 7.0 and CUDA 7.5, GCC 5.0 and up are not supported!
For CUDA 8.0, GCC versions later than 5.3 are not supported!</p>
......@@ -290,6 +291,18 @@ sudo apt-get install -y git curl gcc g++ gfortran make build-essential automake
sudo apt-get install -y python python-pip python-numpy libpython-dev bison
sudo pip install <span class="s1">&#39;protobuf==3.1.0.post1&#39;</span>
<span class="c1"># Install Go</span>
<span class="c1"># You can follow https://golang.org/doc/install for a detailed explanation.</span>
wget -O go.tgz https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz <span class="o">&amp;&amp;</span> <span class="se">\</span>
tar -C <span class="nv">$HOME</span> -xzf go.tgz <span class="o">&amp;&amp;</span> <span class="se">\</span>
mkdir <span class="nv">$HOME</span>/gopath <span class="o">&amp;&amp;</span> <span class="se">\</span>
rm go.tgz
<span class="c1"># Setup environment variables</span>
<span class="nb">export</span> <span class="nv">GOROOT</span><span class="o">=</span><span class="nv">$HOME</span>/go
<span class="nb">export</span> <span class="nv">GOPATH</span><span class="o">=</span><span class="nv">$HOME</span>/gopath
<span class="nb">export</span> <span class="nv">PATH</span><span class="o">=</span><span class="nv">$PATH</span>:<span class="nv">$GOROOT</span>/bin
<span class="c1"># install cmake 3.4</span>
curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz <span class="p">|</span> tar -xz <span class="o">&amp;&amp;</span> <span class="se">\</span>
<span class="nb">cd</span> cmake-3.4.1 <span class="o">&amp;&amp;</span> ./bootstrap <span class="o">&amp;&amp;</span> make -j4 <span class="o">&amp;&amp;</span> sudo make install <span class="o">&amp;&amp;</span> <span class="se">\</span>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册