Skip to content

Add CMake summary#9696

Merged
masahi merged 2 commits intoapache:mainfrom
driazati:driazati/cmake_summary
Dec 14, 2021
Merged

Add CMake summary#9696
masahi merged 2 commits intoapache:mainfrom
driazati:driazati/cmake_summary

Conversation

@driazati
Copy link
Member

@driazati driazati commented Dec 10, 2021

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via tvm_option) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...). To avoid spewing in people's build output it's behind a flag but can be enabled with cmake -DSUMMARIZE=1 ... or turning the config option on.

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via `tvm_option`) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...)
@jroesch
Copy link
Member

jroesch commented Dec 10, 2021

LGTM, this is on by default in CI?

@driazati
Copy link
Member Author

It is now with e680e69 (test run)

@driazati driazati marked this pull request as ready for review December 13, 2021 19:46
@jroesch
Copy link
Member

jroesch commented Dec 14, 2021

@driazati Great I feel like this will come in handy when debugging CI problems.

@masahi masahi merged commit b4d595c into apache:main Dec 14, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
* Add CMake summary

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via `tvm_option`) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...)

* Add SUMMARIZE=ON to CI cmake configs

Co-authored-by: driazati <driazati@users.noreply.github.com>
yangulei pushed a commit to yangulei/tvm that referenced this pull request Jan 11, 2022
* Add CMake summary

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via `tvm_option`) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...)

* Add SUMMARIZE=ON to CI cmake configs

Co-authored-by: driazati <driazati@users.noreply.github.com>
yangulei pushed a commit to yangulei/tvm that referenced this pull request Jan 12, 2022
* Add CMake summary

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via `tvm_option`) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...)

* Add SUMMARIZE=ON to CI cmake configs

Co-authored-by: driazati <driazati@users.noreply.github.com>
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
* Add CMake summary

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via `tvm_option`) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...)

* Add SUMMARIZE=ON to CI cmake configs

Co-authored-by: driazati <driazati@users.noreply.github.com>
qsqqsqqsq-intellif pushed a commit to qsqqsqqsq-intellif/tvm that referenced this pull request Apr 29, 2022
* Add CMake summary

This adds a printout at the end of CMake's configuration that prints out all the user options (anything declared via `tvm_option`) plus some extra metadata about CMake itself (version, system, etc). This makes it easier to see what CMake is doing without guessing from config files (i.e. is the build release or debug mode, is CUDA on, ...)

* Add SUMMARIZE=ON to CI cmake configs

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.

3 participants