Skip to content

DPL Analysis: fail with an error if ASoA.h is being included in a ROOT dictionary#15548

Open
aalkin wants to merge 2 commits into
AliceO2Group:devfrom
aalkin:protect-from-cling
Open

DPL Analysis: fail with an error if ASoA.h is being included in a ROOT dictionary#15548
aalkin wants to merge 2 commits into
AliceO2Group:devfrom
aalkin:protect-from-cling

Conversation

@aalkin

@aalkin aalkin commented Jun 23, 2026

Copy link
Copy Markdown
Member

Occasionally, ASoA.h will silently get included in ROOT dictionaries in O2Physics, which explodes compilation time and memory usage, and will often mean that we will need to fix this on the side of O2Physics before integrating some changes in Analysis Framework. With this change, the compilation will explicitly fail with an error if ASoA.h is seen by cling.

@aalkin aalkin requested a review from a team as a code owner June 23, 2026 15:23
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 9df288c at 2026-06-23 19:53:

## sw/BUILD/O2Physics-latest/log
/sw/slc9_x86-64/O2/slc9_x86-64-slc9_x86-64-local6/include/Framework/ASoA.h:16:2: error: "Please do no include this file in ROOT dictionary generation"
Error: /sw/slc9_x86-64/ROOT/v6-36-10-alice1-1/bin/rootcling: compilation failure (/sw/BUILD/cd636b1c0af136a202d28a3cad9c4ad81ee9fbf9/O2Physics/PWGCF/JCorran/Core/G__O2PhysicsJCorranb5764ea786_dictUmbrella.h)
ninja: build stopped: subcommand failed.

Full log here.

Comment thread Framework/Core/include/Framework/ASoA.h Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants