Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
3ee13fc5
Commit
3ee13fc5
authored
Nov 09, 2018
by
Andrew Tulloch
Committed by
Tianqi Chen
Nov 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add NNPACK to CI (#2085)
parent
fc83c7f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
docker/Dockerfile.ci_cpu
+4
-0
docker/install/ubuntu_install_nnpack.sh
+13
-0
No files found.
docker/Dockerfile.ci_cpu
View file @
3ee13fc5
...
@@ -35,4 +35,8 @@ RUN bash /install/ubuntu_install_redis.sh
...
@@ -35,4 +35,8 @@ RUN bash /install/ubuntu_install_redis.sh
COPY install/ubuntu_install_golang.sh /install/ubuntu_install_golang.sh
COPY install/ubuntu_install_golang.sh /install/ubuntu_install_golang.sh
RUN bash /install/ubuntu_install_golang.sh
RUN bash /install/ubuntu_install_golang.sh
# NNPACK deps
COPY install/ubuntu_install_nnpack.sh /install/ubuntu_install_nnpack.sh
RUN bash /install/ubuntu_install_nnpack.sh
ENV PATH $PATH:$CARGO_HOME/bin:/usr/lib/go-1.10/bin
ENV PATH $PATH:$CARGO_HOME/bin:/usr/lib/go-1.10/bin
docker/install/ubuntu_install_nnpack.sh
0 → 100644
View file @
3ee13fc5
apt-get update
&&
apt-get install
-y
--no-install-recommends
--force-yes
git cmake
git clone https://github.com/Maratyszcza/NNPACK NNPACK
cd
NNPACK
# TODO: specific tag?
git checkout 1e005b0c2
cd
-
mkdir
-p
NNPACK/build
cd
NNPACK/build
cmake
-DCMAKE_INSTALL_PREFIX
:PATH
=
.
-DNNPACK_INFERENCE_ONLY
=
OFF
-DNNPACK_CONVOLUTION_ONLY
=
OFF
-DNNPACK_BUILD_TESTS
=
OFF
-DCMAKE_POSITION_INDEPENDENT_CODE
=
ON ..
&&
make
-j4
&&
make install
cd
-
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment