Skip to content

Commit

Permalink
fix GPU other build (#13235)
Browse files Browse the repository at this point in the history
fixes #12777

Co-authored-by: thead_iot_autotest <thead_iot_autotest@alibaba-inc.com>
Co-authored-by: driazati <9407960+driazati@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 1, 2022
1 parent 2c1fecd commit e9e8c4b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
24 changes: 5 additions & 19 deletions Jenkinsfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ci/jenkins/Build.groovy.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def fsim_test(image) {

def cmake_build(image, path, make_flag) {
sh (
script: "${docker_run} --env CI_NUM_EXECUTORS ${image} ./tests/scripts/task_build.py --sccache-bucket tvm-sccache-prod",
script: "${docker_run} --env CI_NUM_EXECUTORS ${image} ./tests/scripts/task_build.py --sccache-bucket tvm-sccache-prod --build-dir ${path}",
label: 'Run cmake build',
)
}
Expand Down Expand Up @@ -93,9 +93,9 @@ stage('Build') {
{{ m.upload_artifacts(tag='gpu', filenames=tvm_multilib, folders=microtvm_template_projects) }}

// compiler test
sh "${docker_run} --no-gpu ${ci_gpu} ./tests/scripts/task_config_build_gpu_other.sh build2"
make("${ci_gpu} --no-gpu", 'build2', '-j2')
{{ m.upload_artifacts(tag='gpu2', filenames=tvm_multilib) }}
sh "${docker_run} --no-gpu ${ci_gpu} ./tests/scripts/task_clean.sh build",
sh "${docker_run} --no-gpu ${ci_gpu} ./tests/scripts/task_config_build_gpu_other.sh build"
make("${ci_gpu} --no-gpu", 'build', '-j2')
{% endcall %}

{% call m.build_step(
Expand Down

0 comments on commit e9e8c4b

Please sign in to comment.