-
Notifications
You must be signed in to change notification settings - Fork 183
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
Update DD4Hep to latest commit on master #6315
Conversation
please test with cms-sw/cmssw#31770
The tests are being triggered in jenkins.
|
A new Pull Request was created by @mrodozov (Mircho Rodozov) for branch IB/CMSSW_11_2_X/master. @cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks. |
Resolves: #6308 |
-1 Tested at: 2e8e941 CMSSW: CMSSW_11_2_X_2020-10-15-1100 I found follow errors while testing this PR Failed tests: Build ClangBuild
I found compilation error when building: Copying tmp/slc7_amd64_gcc820/src/Alignment/CocoaApplication/bin/cocoa/cocoa to productstore area: Entering library rule at Alignment/CocoaApplication >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/SealModule.cc /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc: In member function 'std::vector CocoaAnalyzer::getAllParameterValuesFromSpecParSections(const DDSpecParRegistry&, const string&, const string&)': /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:584:25: error: base operand of '->' has non-pointer type 'const std::pair, const dd4hep::SpecPar*>' if (mySpecParSection->hasPath(nodePath)) { ^~ /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:585:30: error: base operand of '->' has non-pointer type 'const std::pair, const dd4hep::SpecPar*>' return mySpecParSection->value>(parameterName); ^~
I found compilation error while trying to compile with clang. Command used:
>> Entering Package Alignment/CocoaApplication >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/bin/cocoa.cpp Entering library rule at Alignment/CocoaApplication >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/SealModule.cc /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:584:25: error: member reference type 'const std::pair, std::allocator >, const dd4hep::SpecPar *>' is not a pointer; did you mean to use '.'? if (mySpecParSection->hasPath(nodePath)) { ~~~~~~~~~~~~~~~~^~ . /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-15-1100/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:584:27: error: no member named 'hasPath' in 'std::pair, std::allocator >, const dd4hep::SpecPar *>' if (mySpecParSection->hasPath(nodePath)) { |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
@mrodozov - the fix for these errors is to use: if (mySpecParSection.second->hasPath(nodePath)) { return mySpecParSection.second->value>(parameterName); Could you, please, apply the changes? Alternatively, I can provide a PR for that. Please, let me know. Thanks. |
@mrodozov - I have a patch for it: Piggybacked on it and cleaned up the header and SealModule. |
Ok, there are more files need similar changes. I'll make a PR soon. |
Fixed in cms-sw/cmssw#31821 |
please test with cms-sw/cmssw#31821 |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
@smuzaffar - please, consider this update for 11:00 am IB. There are several people who need this for their development. Thanks! |
@ianna , same question, is it safe to merge it without cmssw changes? If not then I am afraid I can not merge it and break IB for all. |
@smuzaffar - no, it has to go along with cms-sw/cmssw#31879, however, the code checks block its proper integration. |
Comparison is ready Comparison Summary:
|
@ianna , I have approved the code checks ( after testing it locally using new dd4hep) |
+externals |
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_11_2_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
merge |
please test with cms-sw/cmssw#31770