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

[cling] Handle the case if the plugin is passed as a shared object. #2992

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

vgvassilev
Copy link
Member

When cling is embedded and the plugins are linked statically we can rely
on the initialization of the Preprocessor to register the pragmas.

Currently, due to the current implementation deficiency we cannot rely
on the same mechanism when loading the plugins as shared objects.

This patch fixes the failing cling test.

@phsft-bot
Copy link

Starting build on slc6/gcc48, slc6/gcc62, slc6-i686/gcc49, centos7/gcc62, centos7/gcc7, fedora28/native, ubuntu16/native, mac1013/native, windows10/vc15 with flags -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on windows10/vc15.
See console output.

When cling is embedded and the plugins are linked statically we can rely
on the initialization of the Preprocessor to register the pragmas.

Currently, due to the current implementation deficiency we cannot rely
on the same mechanism when loading the plugins as shared objects.

This patch fixes the failing cling test.
@vgvassilev vgvassilev force-pushed the fix_cling_plugin_tests branch from b105a44 to 0cb5744 Compare November 19, 2018 09:40
@phsft-bot
Copy link

Starting build on ROOT-centos7/noimt, ROOT-fedora29/python3, ROOT-ubuntu16/rtcxxmod, mac1014/cxx17, windows10/default with flags -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on ROOT-centos7/noimt.
See console output.

Errors:

  • c++: error: CMakeFiles/RGL.dir/src/TGLContext.cxx.o: No such file or directory
  • c++: error: CMakeFiles/RGL.dir/src/TGLContextPrivate.cxx.o: No such file or directory
  • c++: error: CMakeFiles/RGL.dir/src/TGLFormat.cxx.o: No such file or directory
  • c++: error: CMakeFiles/RGL.dir/src/TGLWidget.cxx.o: No such file or directory
  • error: unable to read PCH file /mnt/build/jenkins/workspace/root-pullrequests-build/build/etc/allDict.cxx.pch: 'No such file or directory'

@vgvassilev
Copy link
Member Author

@phsft-bot build just on fedora29/python3 with flags -Dclingtest=On

@vgvassilev vgvassilev merged commit 3e1aa3a into root-project:master Nov 19, 2018
@vgvassilev vgvassilev deleted the fix_cling_plugin_tests branch November 19, 2018 15:12
@vgvassilev
Copy link
Member Author

@phsft-bot build just on fedora29/python3 with flags -Dclingtest=On

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