-
Notifications
You must be signed in to change notification settings - Fork 68
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
Binding generation for MLIR fails due to C++ being present #470
Comments
need to add a C++ JLL environment to support this. |
maybe we can somehow reuse https://github.com/Gnimuc/ClangCompiler.jl/blob/master/src/platform/system.jl |
@vchuravy what LLVM version are you working on? I tried LLVM16 and it looks like Clang.jl can handle it well. Gnimuc/MLIR.jl@17cb4e6#diff-4eb27dac28b031df3cf7f13beb5184b4d51541faf3a375b9b7704f97f545d9cc |
ok. now I can reproduce the failure in Gnimuc/MLIR.jl@c7b693a
|
The problem seems to be on processing this file: https://github.com/llvm/llvm-project/blob/main/libcxx/include/__config |
I currently don't have time to push this forward but the binding generator in https://github.com/JuliaLabs/MLIR.jl currently runs on top off #435 If I recall the issue the MLIR headers contain some C++ code that make generation fail.
@mofeing could you isolate some examples of what is failing here and maybe @Gnimuc has an idea on how to fix this properly instead of my hobbled together approach in #435
The text was updated successfully, but these errors were encountered: