-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[cxxmodules] Don't declare strings from rootmap for modules #3043
[cxxmodules] Don't declare strings from rootmap for modules #3043
Conversation
Starting build on |
Build failed on windows10/default. |
@phsft-bot build! |
Starting build on |
Build failed on windows10/default. |
3680ca3
to
47fbb8b
Compare
Starting build on |
47fbb8b
to
d3c7830
Compare
Starting build on |
d3c7830
to
5f2e54b
Compare
Starting build on |
Build failed on ROOT-ubuntu16/rtcxxmod. Errors:
And 399 more |
5f2e54b
to
6ead6cb
Compare
Starting build on |
Build failed on ROOT-ubuntu16/rtcxxmod. Errors:
And 59 more |
6ead6cb
to
62c773e
Compare
The failures seem unrelated. |
@vgvassilev how so? |
@phsft-bot build just on mac1014/cxx17 |
Starting build on |
Yup, @vgvassilev - build failures were unrelated! :-) And fixed! |
What about Travis CI failure? |
@amadio, it also seems unrelated. |
f84acab
to
5d90a90
Compare
Starting build on |
5d90a90
to
16b698a
Compare
Starting build on |
It gives more correct information whether we need a rootmap file.
This feature is used by clang to append the correct -l flags if a module is used. For example if we deserialize a from module A which has a link directive libA.so, clang will append -lA.so. ROOT and cling has dynamic linker. We should disable the default clang feature because it clashes with our implementation.
This patch allows given a name to deduce the library it is defined in. It uses the information provided in by the link directive in the module definition. This is useful to implement the TCling::AutoLoad interface for modules.
The usecase allows users to specify the headers only as #includes in the LinkDef file. This causes many subtleties such as incomplete modulemaps and inaccurate cmake dependencies.
The implementation of class->library mapping makes a call to the LookupHelper::findScope. This makes the recursive invocations to LookupHelper::findScope -> ... -> LookupHelper::findScope happen more often.
16b698a
to
73c3f5f
Compare
Starting build on |
@phsft-bot build with flags -DCTEST_TEST_EXCLUDE_NONE=On |
Starting build on |
Build failed on mac1014/cxx17. Errors:
|
@phsft-bot build with flags -DCTEST_TEST_EXCLUDE_NONE=On |
Starting build on |
We don't need any input_line declration from rootmap for startup time. However it may cause a failure on tests when they have custom dictionaries.
Should give 5MB improvements for modules.
Patch by Yuka Takahashi and me!