Skip to content

Commit da529bf

Browse files
committed
[Jenkins] Use 8 and 16 jobs to build for GPU and CPU
1 parent 90e82d3 commit da529bf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Jenkinsfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ stage('Build') {
246246
ws(per_exec_ws('tvm/build-gpu')) {
247247
init_git()
248248
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_config_build_gpu.sh"
249-
make(ci_gpu, 'build', '-j2')
249+
make(ci_gpu, 'build', '-j8')
250250
pack_lib('gpu', tvm_multilib)
251251
// compiler test
252252
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_config_build_gpu_other.sh"
253-
make(ci_gpu, 'build2', '-j2')
253+
make(ci_gpu, 'build2', '-j8')
254254
}
255255
}
256256
},
@@ -263,7 +263,7 @@ stage('Build') {
263263
script: "${docker_run} ${ci_cpu} ./tests/scripts/task_config_build_cpu.sh",
264264
label: "Create CPU cmake config",
265265
)
266-
make(ci_cpu, 'build', '-j2')
266+
make(ci_cpu, 'build', '-j16')
267267
pack_lib('cpu', tvm_multilib_tsim)
268268
timeout(time: max_time, unit: 'MINUTES') {
269269
ci_setup(ci_cpu)
@@ -293,7 +293,7 @@ stage('Build') {
293293
script: "${docker_run} ${ci_wasm} ./tests/scripts/task_config_build_wasm.sh",
294294
label: "Create WASM cmake config",
295295
)
296-
make(ci_wasm, 'build', '-j2')
296+
make(ci_wasm, 'build', '-j16')
297297
timeout(time: max_time, unit: 'MINUTES') {
298298
ci_setup(ci_wasm)
299299
sh (
@@ -316,7 +316,7 @@ stage('Build') {
316316
script: "${docker_run} ${ci_i386} ./tests/scripts/task_config_build_i386.sh",
317317
label: "Create i386 cmake config",
318318
)
319-
make(ci_i386, 'build', '-j2')
319+
make(ci_i386, 'build', '-j16')
320320
pack_lib('i386', tvm_multilib_tsim)
321321
}
322322
}
@@ -343,7 +343,7 @@ stage('Build') {
343343
script: "${docker_run} ${ci_qemu} ./tests/scripts/task_config_build_qemu.sh",
344344
label: "Create QEMU cmake config",
345345
)
346-
make(ci_qemu, 'build', '-j2')
346+
make(ci_qemu, 'build', '-j16')
347347
timeout(time: max_time, unit: 'MINUTES') {
348348
ci_setup(ci_qemu)
349349
sh (

0 commit comments

Comments
 (0)