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

Fix build and linting #19

Merged
merged 12 commits into from
Jan 7, 2025
Merged

Fix build and linting #19

merged 12 commits into from
Jan 7, 2025

Conversation

raviqqe
Copy link
Member

@raviqqe raviqqe commented Jan 6, 2025

This PR fixes build for Linux + Homebrew environment and lining for the new version of Rust.

@raviqqe raviqqe enabled auto-merge (squash) January 6, 2025 14:18
@raviqqe raviqqe marked this pull request as draft January 6, 2025 14:20
auto-merge was automatically disabled January 6, 2025 14:20

Pull request was converted to draft

@raviqqe
Copy link
Member Author

raviqqe commented Jan 6, 2025

We need to fix the build first for dynamic linking with Homebrew...

@raviqqe raviqqe changed the title Fix linting for newer Rust version Fix build and linting Jan 7, 2025
@raviqqe raviqqe marked this pull request as ready for review January 7, 2025 11:10
@raviqqe raviqqe requested a review from edg-l January 7, 2025 11:16
@edg-l edg-l merged commit 2aa8fda into mlir-rs:master Jan 7, 2025
7 checks passed
raviqqe added a commit that referenced this pull request Jan 7, 2025
This PR changes the `add_source_file` method in Rust to use
`AddIncludeFile` in C++ which resolves given file paths from include
directories.

This PR depends on #19.

# References

- mlir-rs/melior#654
- https://llvm.org/doxygen/classllvm_1_1SourceMgr.html
@raviqqe raviqqe mentioned this pull request Jan 8, 2025
raviqqe added a commit to raviqqe/tblgen-rs-alt that referenced this pull request Jan 8, 2025
This PR fixes build for Linux + Homebrew environment and lining for the
new version of Rust.
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