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

Inline headers in ROOT dictionaries #2

Merged
merged 3 commits into from
Nov 9, 2017

Conversation

brettviren
Copy link
Contributor

@brettviren brettviren commented Nov 9, 2017

Fixes #1

ROOT6 dictionaries are apparently generated with absolute paths to header files hard coded. There's some new autoloading mechanism which wants these headers. If the build source area goes away, these become dangling references.

One solution is to tell rootcling to inline the header file contents which this PR does by passing the option -inlineInputHeader through the cmake macro that runs rootcling.

Another solution is maybe to use -noIncludePaths. I guess this is good that it makes the dictionaries smaller but at the cost that one has to install the header files and set ROOT_INCLUDE_PATH. This doesn't seem like a good tradeoff.

@brettviren brettviren changed the title Fixes #1 Fixes issue #1 Nov 9, 2017
@brettviren brettviren changed the title Fixes issue #1 Inline headers in ROOT dictionaries Nov 9, 2017
@ClarkMcGrew ClarkMcGrew merged commit d0c7df6 into ClarkMcGrew:master Nov 9, 2017
calcuttj pushed a commit to calcuttj/edep-sim that referenced this pull request Oct 4, 2024
Synchronise the bomb and master branches
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