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
eb3fc6c6
Commit
eb3fc6c6
authored
Jul 10, 2017
by
Tianqi Chen
Committed by
GitHub
Jul 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] Add JVM Env (#237)
* [CI] Add JVM Env * add update
parent
32121865
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
tests/ci_build/Dockerfile.cpu
+3
-0
tests/ci_build/Dockerfile.gpu
+4
-2
tests/ci_build/ci_build.sh
+1
-1
tests/ci_build/install/ubuntu_install_java.sh
+1
-0
No files found.
tests/ci_build/Dockerfile.cpu
View file @
eb3fc6c6
...
...
@@ -11,3 +11,6 @@ RUN bash /install/ubuntu_install_python.sh
COPY install/ubuntu_install_iverilog.sh /install/ubuntu_install_iverilog.sh
RUN bash /install/ubuntu_install_iverilog.sh
COPY install/ubuntu_install_java.sh /install/ubuntu_install_java.sh
RUN bash /install/ubuntu_install_java.sh
tests/ci_build/Dockerfile.gpu
View file @
eb3fc6c6
...
...
@@ -25,6 +25,9 @@ RUN bash /install/ubuntu_install_sphinx.sh
RUN git clone https://github.com/rtfd/recommonmark
RUN cd recommonmark; python setup.py install
COPY install/ubuntu_install_java.sh /install/ubuntu_install_java.sh
RUN bash /install/ubuntu_install_java.sh
# Environment variables
ENV PATH=/usr/local/nvidia/bin:${PATH}
ENV PATH=/usr/clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin:${PATH}
...
...
@@ -32,4 +35,4 @@ ENV PATH=/usr/local/cuda/bin:${PATH}
ENV CPLUS_INCLUDE_PATH=/usr/local/cuda/include:${CPLUS_INCLUDE_PATH}
ENV C_INCLUDE_PATH=/usr/local/cuda/include:${C_INCLUDE_PATH}
ENV LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/nvidia/lib64:${LIBRARY_PATH}
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH}
\ No newline at end of file
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH}
tests/ci_build/ci_build.sh
View file @
eb3fc6c6
...
...
@@ -115,7 +115,7 @@ echo ${DOCKER_BINARY}
${
DOCKER_BINARY
}
run
--rm
--pid
=
host
\
-v
${
WORKSPACE
}
:/workspace
\
-w
/workspace
\
-e
"CI_BUILD_HOME=
${
WORKSPACE
}
"
\
-e
"CI_BUILD_HOME=
/workspace
"
\
-e
"CI_BUILD_USER=
$(
id
-u
-n
)
"
\
-e
"CI_BUILD_UID=
$(
id
-u
)
"
\
-e
"CI_BUILD_GROUP=
$(
id
-g
-n
)
"
\
...
...
tests/ci_build/install/ubuntu_install_java.sh
0 → 100644
View file @
eb3fc6c6
apt-get update
&&
apt-get install
-y
openjdk-7-jdk maven
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