Skip to content

Fix build on Windows#93

Open
joa wants to merge 1 commit into
mlir-rs:mainfrom
joa:main
Open

Fix build on Windows#93
joa wants to merge 1 commit into
mlir-rs:mainfrom
joa:main

Conversation

@joa

@joa joa commented Jun 9, 2026

Copy link
Copy Markdown
  1. libMLIR*.a is called MLIR*.lib on Windows
  2. parse_static_lib_name("LLVMCore.lib") returns None, so it gets skipped. Need to handle the ".lib" case as well.

Successfully tested this with patched melior/mlir-sys/tblgen-rs on Windows and LLVM 22.1.7 built from source.

1. libMLIR*.a is called MLIR*.lib on Windows
2. parse_static_lib_name("LLVMCore.lib") returns None, so it gets
   skipped. Need to handle the ".lib" case as well.
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.

1 participant