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

[CMake] Support LLVM-16 static linking #15164

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

junrushao
Copy link
Member

LLVM static linking in TVM relies on default flags provided by llvm-config, which however does not depend on modern CMake features, namely, imported targets, leading to a series of issues on builds particularly on macOS and Windows. This PR strengthens CMake configuration process to avoid such behavior.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jun 27, 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: cmake See #10317 for details

Generated by tvm-bot

@junrushao junrushao marked this pull request as ready for review June 27, 2023 05:36
@junrushao junrushao force-pushed the feature/2023-06-26/llvm-16-shared branch from de4b199 to 1a8377a Compare June 30, 2023 04:12
LLVM static linking in TVM relies on default flags provided by
llvm-config, which however does not depend on modern CMake features,
namely, imported targets, leading to a series of issues on builds
particularly on macOS and Windows. This PR strengthens CMake
configuration process to avoid such behavior.
@junrushao junrushao force-pushed the feature/2023-06-26/llvm-16-shared branch from 1a8377a to c5bec87 Compare June 30, 2023 18:04
@yzh119 yzh119 merged commit e1013f1 into apache:main Jul 1, 2023
6 checks passed
@wplf
Copy link

wplf commented Aug 7, 2023

thanks

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