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

[Build] Fix misleading error messages #13887

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Conversation

lucifer1004
Copy link
Contributor

Currently, in FindLLVM.cmake, when the llvm-config commands fail, the error message might be Fatal error executing: ON --libfiles (since USE_LLVM=ON), which is misleading.

In this PR, ${use_llvm} is changed to ${LLVM_CONFIG}, and the error messages will be more comprehensible.

Currently, in `FindLLVM.cmake`, when the `llvm-config` commands fail, the error message might be `Fatal error executing: ON --libfiles` (since `USE_LLVM=ON`), which is misleading.

In this commit, `${use_llvm}` is changed to `${LLVM_CONFIG}`, and the error messages will be more comprehensible.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Feb 1, 2023

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.

  • No users to tag found in teams: build See #10317 for details

Generated by tvm-bot

Copy link
Contributor

@echuraev echuraev 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

@echuraev echuraev merged commit 7db77ad into apache:main Feb 1, 2023
@lucifer1004 lucifer1004 deleted the patch-1 branch February 1, 2023 14:25
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