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

Set MLIR_LINK_MLIR_DYLIB to not link shared libMLIR #19613

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

marbre
Copy link
Member

@marbre marbre commented Jan 6, 2025

With llvm/llvm-project@10ef20f, support for MLIR_LINK_MLIR_DYLIB was introduced. With LLVM_LINK_LLVM_DYLIB set to ON at

set(LLVM_BUILD_LLVM_DYLIB ON CACHE BOOL "")
, this setting is propagated to MLIR_LINK_MLIR_DYLIB. This break the BYO LLVM workflow, see #19549, hence, setting to OFF.

@marbre marbre changed the title Do not link against shared libMLIR Set MLIR_LINK_MLIR_DYLIB to not link shared libMLIR Jan 6, 2025
@marbre
Copy link
Member Author

marbre commented Jan 6, 2025

BYO LLVM build status, see https://github.com/iree-org/iree/actions/runs/12638450895.

@marbre marbre marked this pull request as ready for review January 6, 2025 21:09
@marbre marbre requested a review from ScottTodd as a code owner January 6, 2025 21:09
@marbre
Copy link
Member Author

marbre commented Jan 6, 2025

The BYO LLVM workflow went beyond building LLVM and MLIR. Merging therefore.

@marbre marbre merged commit 1445cef into main Jan 6, 2025
41 checks passed
@marbre marbre deleted the users/marbre/byo-llvm branch January 6, 2025 22:18
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.

2 participants