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

[ci] Split out C++ unittests #13335

Merged
merged 2 commits into from
Nov 18, 2022
Merged

[ci] Split out C++ unittests #13335

merged 2 commits into from
Nov 18, 2022

Conversation

driazati
Copy link
Member

@driazati driazati commented Nov 9, 2022

This makes C++ unittests follow the normal flow of build -> upload
artifacts -> download and run tests. To simplify the changes there is a
new utility for interacting with S3.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 9, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@@ -208,7 +231,9 @@ stage('Build') {
script: "${docker_run} ${ci_hexagon} ./tests/scripts/task_config_build_hexagon.sh build",
label: 'Create Hexagon cmake config',
)
make(ci_hexagon, 'build', '-j2')
cmake_build(ci_hexagon, 'build', '-j2')
make_standalone_crt(ci_hexagon, 'build')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would want to remove make_standalone_crt() here for the hexagon build.

cc: @mehrdadh

@driazati driazati marked this pull request as ready for review November 10, 2022 21:21
@driazati driazati force-pushed the split_cpp branch 10 times, most recently from 59fab28 to 93e6112 Compare November 12, 2022 05:48
@driazati driazati force-pushed the split_cpp branch 2 times, most recently from 607d10d to 38b484f Compare November 16, 2022 16:02
@mehrdadh
Copy link
Member

@driazati can you push your branch to a TVM branch to test the jenkins changes?

@driazati
Copy link
Member Author

Certain GitHub forks are configured in Jenkins to be trusted (e.g. those for people on the oss team), so the extra step to push to apache/tvm isn't necessary. You can see the info here: https://ci.tlcpack.ai/job/tvm/indexing/events, when a job comes from an untrusted source it'll say something like

Checking pull request [#13335](https://github.com/apache/tvm/pull/13335)
    (not from a trusted source)
      ‘Jenkinsfile’ found

@driazati driazati force-pushed the split_cpp branch 9 times, most recently from 03d9e44 to 96d73dc Compare November 17, 2022 23:44
This makes C++ unittests follow the normal flow of build -> upload
artifacts -> download and run tests. To simplify the changes there is a
new utility for interacting with S3.
@driazati driazati force-pushed the split_cpp branch 5 times, most recently from ac38e84 to a20c8a0 Compare November 18, 2022 04:51
Copy link
Member

@mehrdadh mehrdadh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for working on this!!

@mehrdadh mehrdadh merged commit 490e0e3 into apache:main Nov 18, 2022
driazati added a commit to driazati/tvm that referenced this pull request Nov 19, 2022
The docs deploy is broken following apache#13335:
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4754/pipeline

This avoids downloading the whole docs directory (which is just used to
host documentation previews for PRs) and just grabs the `docs.tgz` which
is actually used to deploy the docs.
driazati added a commit to driazati/tvm that referenced this pull request Nov 19, 2022
The docs deploy is broken following apache#13335:
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4754/pipeline

This avoids downloading the whole docs directory (which is just used to
host documentation previews for PRs) and just grabs the `docs.tgz` which
is actually used to deploy the docs.
masahi pushed a commit that referenced this pull request Nov 21, 2022
The docs deploy is broken following #13335:
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4754/pipeline

This avoids downloading the whole docs directory (which is just used to
host documentation previews for PRs) and just grabs the `docs.tgz` which
is actually used to deploy the docs.

Co-authored-by: driazati <driazati@users.noreply.github.com>
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
* [ci] Split out C++ unittests

This makes C++ unittests follow the normal flow of build -> upload
artifacts -> download and run tests. To simplify the changes there is a
new utility for interacting with S3.

* Comments

Co-authored-by: driazati <driazati@users.noreply.github.com>
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
The docs deploy is broken following apache#13335:
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4754/pipeline

This avoids downloading the whole docs directory (which is just used to
host documentation previews for PRs) and just grabs the `docs.tgz` which
is actually used to deploy the docs.

Co-authored-by: driazati <driazati@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants