AliceO2Group / AliceO2

O2 software project for the ALICE experiment at CERN
GNU General Public License v3.0
100 stars 436 forks source link

Build-time testing macros in the interpreted mode #1351

Open shahor02 opened 6 years ago

shahor02 commented 6 years ago

Hi,

In different PRs build tests we have some root -n -b -l -q -e ".L ${MACRO_FILE}" checks failing. Digging with @sawenzel we saw that this happens due to some included classes not having dictionaries, e.g. those in the DataFormats/Headers/include/Headers, DPL etc. Since these are templated classes, obligatory creation of dictionaries for them would be too complicated. Should we instead change the macro's check to a compiled mode in O2/Makefile, as root -n -b -l -q -e ".L ${MACRO_FILE}+" ?

Cheers, Ruben

ktf commented 6 years ago

For DPL my goal would be to remove any of those, so that ROOT can parse the header just fine. I am not there yet, but that's on the medium term plan. This is of course orthogonal to running the macros in compiled mode.