Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Jenkins setting #12

Merged
merged 1 commit into from
Mar 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tvm_multilib = "build/libtvm.so, " +
// command to start a docker container
docker_run = 'docker/bash.sh'
// timeout in minutes
max_time = 60
max_time = 120

// initialize source codes
def init_git() {
Expand Down Expand Up @@ -102,7 +102,7 @@ stage('Build') {
echo set\\(CMAKE_CXX_COMPILER g++\\) >> config.cmake
echo set\\(CMAKE_CXX_FLAGS -Werror\\) >> config.cmake
"""
make('tvmai/ci-gpu', 'build', '-j2')
make('tvmai/ci-gpu', 'build', '-j4')
pack_lib('gpu', tvm_multilib)
// compiler test
sh """
Expand All @@ -116,7 +116,7 @@ stage('Build') {
echo set\\(CMAKE_CXX_COMPILER clang-6.0\\) >> config.cmake
echo set\\(CMAKE_CXX_FLAGS -Werror\\) >> config.cmake
"""
make('tvmai/ci-gpu', 'build2', '-j2')
make('tvmai/ci-gpu', 'build2', '-j4')
}
}
},
Expand All @@ -136,7 +136,7 @@ stage('Build') {
echo set\\(CMAKE_CXX_COMPILER g++\\) >> config.cmake
echo set\\(CMAKE_CXX_FLAGS -Werror\\) >> config.cmake
"""
make('tvmai/ci-cpu', 'build', '-j2')
make('tvmai/ci-cpu', 'build', '-j4')
pack_lib('cpu', tvm_lib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} tvmai/ci-cpu ./tests/scripts/task_cpp_unittest.sh"
Expand All @@ -163,7 +163,7 @@ stage('Build') {
echo set\\(CMAKE_CXX_COMPILER g++\\) >> config.cmake
echo set\\(CMAKE_CXX_FLAGS -Werror\\) >> config.cmake
"""
make('tvmai/ci-i386', 'build', '-j2')
make('tvmai/ci-i386', 'build', '-j4')
pack_lib('i386', tvm_multilib)
}
}
Expand Down