root icon indicating copy to clipboard operation
root copied to clipboard

Drop llvm::GlobalValue in DeferredDeclsToEmit

Open junaire opened this issue 2 years ago • 4 comments

The previous cling patches wraps DeferredDeclsToEmit(vector<GlobalDecl>) into a struct that contains a llvm::GlobalVlaue, but it seems that this field is useless and can be dropped. I have tested this patch in Cling and spotted no new tests failing, so let's give ROOT a try.

Signed-off-by: Jun Zhang [email protected]

junaire avatar Jul 31 '22 06:07 junaire

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14 How to customize builds

phsft-bot avatar Jul 31 '22 06:07 phsft-bot

Build failed on mac1015/cxx17. Running on macitois21.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Jul 31 '22 08:07 phsft-bot

@Axel-Naumann, do you remember the use case or the test we had where this fix helps? Our current understanding is that it is not needed anymore.

vgvassilev avatar Jul 31 '22 18:07 vgvassilev

@smuzaffar, can you integrate this PR with cmssw?

vgvassilev avatar Aug 01 '22 17:08 vgvassilev

ping @smuzaffar, can you integrate this PR with cmssw?

junaire avatar Aug 21 '22 10:08 junaire

testing here https://github.com/cms-sw/root/pull/174 for cmssw

smuzaffar avatar Aug 21 '22 15:08 smuzaffar

@smuzaffar, I suspect that's good to go on your end?

vgvassilev avatar Aug 28 '22 06:08 vgvassilev

ping @smuzaffar, can we land this?

junaire avatar Sep 02 '22 04:09 junaire

yes, tests results https://github.com/cms-sw/root/pull/174#issuecomment-1221750811 look good

smuzaffar avatar Sep 02 '22 07:09 smuzaffar

LGTM, @junaire which was that patch in our spreadsheet again?

It occurs in several ones, I collected them and merge them all into this one.

junaire avatar Sep 02 '22 09:09 junaire

LGTM, @junaire which was that patch in our spreadsheet again?

It occurs in several ones, I collected them and merge them all into this one.

Can you add comments so we can mark these patches in green in the doc?

vgvassilev avatar Sep 02 '22 09:09 vgvassilev

LGTM, @junaire which was that patch in our spreadsheet again?

It occurs in several ones, I collected them and merge them all into this one.

Can you add comments so we can mark these patches in green in the doc?

Sure, I'll figure it out and add some notes, it's been a while...

junaire avatar Sep 02 '22 09:09 junaire