Changed MDF compression to use ROOT ZLIB instead of the default (@clemenci)
In ROOT 6.14 the default changed from ZLIB to LZ4, and this change ensures reproducibility across versions of ROOT.
Cherry picked from !1380 (merged) on master
Edited by Marco Clemencic
Merge request reports
Activity
- [2018-06-15 00:07] Validation started with lhcb-run2-patches#46
- [2018-06-16 00:08] Validation started with lhcb-run2-patches#47
Edited by Software for LHCbDoes not compile in
run2-patches
:DAQ/MDF/src/RawEventHelpers.cpp:54:17: error: conflicting declaration of C function 'void R__zip(int, int*, const char*, int*, char*, int*)' extern "C" void R__zip (int cxlevel, int *nin, const char *bufin, int *lout, char *bufout, int *nout); ^~~~~~ In file included from DAQ/MDF/src/RawEventHelpers.cpp:46:0: /cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.12.06-0f687/x86_64-slc6-gcc62-opt/include/RZip.h:30:17: note: previous declaration 'void R__zip(int, int*, char*, int*, char*, int*)' extern "C" void R__zip(int cxlevel, int *srcsize, char *src, int *tgtsize, char *tgt, int *irep); ^~~~~~ DAQ/MDF/src/RawEventHelpers.cpp:55:17: error: conflicting declaration of C function 'void R__unzip(int*, const char*, int*, char*, int*)' extern "C" void R__unzip(int *nin, const char *bufin, int *lout, char *bufout, int *nout); ^~~~~~~~ In file included from DAQ/MDF/src/RawEventHelpers.cpp:46:0: /cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.12.06-0f687/x86_64-slc6-gcc62-opt/include/RZip.h:32:17: note: previous declaration 'void R__unzip(int*, unsigned char*, int*, unsigned char*, int*)' extern "C" void R__unzip(int *srcsize, unsigned char *src, int *tgtsize, unsigned char *tgt, int *irep);
See full build log at https://lhcb-nightlies.cern.ch/logs/build/nightly/lhcb-run2-patches/46/x86_64-slc6-gcc62-opt/LHCb/
assigned to @clemenci
mentioned in commit f0e39f0b
Please register or sign in to reply