forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TVM Version and CI scripts (apache#46)
- Loading branch information
1 parent
975a64d
commit 01d9fd2
Showing
21 changed files
with
74 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,3 @@ Contents | |
api/python/index | ||
dev/index | ||
api_links | ||
genindex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# For lint test | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update && apt-get install -y python-pip sudo | ||
RUN apt-get update && apt-get install -y sudo wget | ||
COPY install/ubuntu_install_python.sh /install/ubuntu_install_python.sh | ||
RUN bash /install/ubuntu_install_python.sh | ||
RUN apt-get install -y doxygen graphviz | ||
RUN pip install cpplint pylint | ||
RUN pip3 install cpplint pylint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apt-get install -y --no-install-recommends --force-yes make bison flex | ||
wget ftp://icarus.com/pub/eda/verilog/v10/verilog-10.1.tar.gz | ||
tar xf verilog-10.1.tar.gz | ||
cd verilog-10.1 | ||
./configure --prefix=/usr | ||
make install -j8 | ||
cd .. | ||
rm -rf verilog-10.1 verilog-10.1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
apt-get update && apt-get install -y openjdk-8-jdk maven |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apt-get update --fix-missing | ||
|
||
apt-get install -y --no-install-recommends --force-yes \ | ||
libgl1-mesa-dev libglfw3-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# install python and pip, don't modify this, modify install_python_package.sh | ||
apt-get update && apt-get install -y python-pip python-dev python3-dev | ||
apt-get update && apt-get install -y python-dev | ||
|
||
# the version of the pip shipped with ubuntu may be too lower, install a recent version here | ||
cd /tmp && wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && python2 get-pip.py | ||
# python 3.6 | ||
apt-get update && yes | apt-get install software-properties-common | ||
add-apt-repository ppa:jonathonf/python-3.6 &&\ | ||
apt-get update && apt-get install -y python-pip python-dev python3.6 python3.6-dev | ||
|
||
rm -f /usr/bin/python3 && ln -s /usr/bin/python3.6 /usr/bin/python3 | ||
|
||
# Install pip | ||
cd /tmp && wget https://bootstrap.pypa.io/get-pip.py && python2 get-pip.py && python3.6 get-pip.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# install libraries for python package on ubuntu | ||
pip2 install nose pylint numpy nose-timer cython decorator scipy tornado | ||
pip3 install nose pylint numpy nose-timer cython decorator scipy tornado | ||
pip3 install nose pylint numpy nose-timer cython decorator scipy tornado typed_ast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pip install sphinx sphinx-gallery sphinx_rtd_theme matplotlib Image commonmark>=0.7.3 docutils>=0.11 | ||
pip3 install sphinx sphinx-gallery sphinx_rtd_theme matplotlib Image commonmark>=0.7.3 docutils>=0.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
#!/bin/bash | ||
echo "Build TVM..." | ||
cd nnvm/tvm | ||
cp make/config.mk . | ||
echo USE_CUDA=0 >> config.mk | ||
echo LLVM_CONFIG=llvm-config-4.0 >> config.mk | ||
echo USE_RPC=1 >> config.mk | ||
echo USE_BLAS=openblas >> config.mk | ||
echo USE_GRAPH_RUNTIME=1 >> config.mk | ||
cd tvm | ||
cp cmake/config.cmake . | ||
echo set\(USE_LLVM llvm-config-5.0\) >> config.cmake | ||
echo set\(USE_RPC ON\) >> config.cmake | ||
echo set\(USE_BLAS openblas\) >> config.cmake | ||
echo set\(USE_GRAPH_RUNTIME ON\) >> config.cmake | ||
make "$@" | ||
make cython | ||
make cython3 | ||
cd .. | ||
|
||
echo "Build NNVM..." | ||
make "$@" | ||
|
||
cd .. | ||
|
||
echo "Build VTA..." | ||
make "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#!/bin/bash | ||
echo "Cleanup data..." | ||
cd nnvm | ||
make clean | ||
|
||
cd tvm | ||
make clean | ||
|
||
cd ../.. | ||
cd .. | ||
make clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters