-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Enable CppInterOp #16814
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
Enable CppInterOp #16814
Conversation
9392e07
to
2d038e7
Compare
Test Results 18 files 18 suites 4d 6h 46m 40s ⏱️ Results for commit 2887ee4. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The direction looks good to me! In addition to the test failures that need fixing, some comments inline for consideration
ef871f9
to
86246a7
Compare
196c4ff
to
9977082
Compare
ab52fd8
to
540c6fc
Compare
c08b40e
to
2a684e1
Compare
93afacc
to
b48a22e
Compare
6f2ac11
to
7e53b7b
Compare
eca5f31
to
8b5def2
Compare
496960e
to
08a79a9
Compare
@smuzaffar, can you check if cmssw works after this pr? |
To be honest, I don't really see why this is relevant to check: In this PR, CppInterOp is just added and not actually used... |
3f0dbb6
to
755868a
Compare
by linking clangCppInterOp in libCling
755868a
to
2887ee4
Compare
I understand, and nevertheless I'd like to get a green light on this. |
cms tests are running here cms-sw#218 |
cmssw tests passed |
Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. Once we merge I will create a new release of CppInterOp.
CppInterOp exposes API from Clang and LLVM in a mostly backward compatibe way. The API support downstream tools that utilize interactive C++ by using the compiler as a service.
This PR is the first step in using pure clang based reflection API in meta, and part of eventually integrating the JITCall and DynamicLibraryManager infrastructure.
Adopting more of CppInterOp in ROOT will help simplify the LLVM migration process and allow us to upstream more patches to either CppInterOp or LLVM.
TODO:
builtin_llvm=off
andbuiltin_clang=off