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

Add mlir-jl-tblgen #7951

Merged
merged 4 commits into from
Jan 16, 2024
Merged

Add mlir-jl-tblgen #7951

merged 4 commits into from
Jan 16, 2024

Conversation

vchuravy
Copy link
Member

No description provided.

# Dependencies that must be installed before this package can be built
llvm_name = llvm_assertions ? "LLVM_full_assert_jll" : "LLVM_full_jll"
dependencies = [
BuildDependency(PackageSpec(name=llvm_name, version=llvm_version))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add MLIR_jll here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MLIR lib and headers are already in LLVM_full_jll, so... nope


# Bash recipe for building across all platforms
script = raw"""
cd MLIR.jl/deps/tblgen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we move it to another dir? We can do it later, just an opinion

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there is a need for it, we could make it follow the structure a bit more, but right now that seems over the top for two cc files.

Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
@vchuravy vchuravy merged commit 63b306f into master Jan 16, 2024
23 checks passed
@vchuravy vchuravy deleted the vc/mlir-jl-tblgen branch January 16, 2024 14:29
grasph pushed a commit to Moelf/Yggdrasil that referenced this pull request Jul 1, 2024
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
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.

3 participants