-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Modularized FWCore, DataFormats #17943
Conversation
A new Pull Request was created by @Teemperor (Raphael Isemann) for master. It involves the following packages: DataFormats/CLHEP @perrotta, @smuzaffar, @civanch, @Dr15Jones, @mdhildreth, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
This PR is work-in-progress and is part of this issue that tracks the progress of modularizing CMSSW. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
@Teemperor what's the aspect of "work in progress"? If, OTOH, this is "essentially done", then this PR can stay. |
-1 Tested at: ebd15cf You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build ClangBuild
I found an error when building: >> Compiling LCG dictionary: tmp/slc6_amd64_gcc530/src/DataFormats/SiStripCluster/src/DataFormatsSiStripCluster/a/DataFormatsSiStripCluster_xr.cc >> Building LCG reflex dict from header file src/DataFormats/TrackerCommon/src/classes.h >> Compiling LCG dictionary: tmp/slc6_amd64_gcc530/src/SimDataFormats/GeneratorProducts/src/SimDataFormatsGeneratorProducts/a/SimDataFormatsGeneratorProducts_xr.cc In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/CLHEP/interface/AlgebraicObjects.h:16:0, from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/BeamSpot/src/BeamSpot.cc:14: /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/CLHEP/interface/Migration.h:5:57: fatal error: DataFormats/Math/interface/AlgebraicObjects.h: No such file or directory compilation terminated. Entering library rule at DataFormats/EcalDetId Entering library rule at DataFormats/L1GlobalTrigger >> Building LCG reflex dict from header file src/DataFormats/EcalDetId/src/classes.h >> Building LCG reflex dict from header file src/DataFormats/L1GlobalTrigger/src/classes.h
I found a compilation error while trying to compile with clang: In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/TrackReco/interface/Track.h:19: In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/TrackReco/interface/TrackBase.h:51: In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/TrackReco/interface/HitPattern.h:124: In file included from /cvmfs/cms-ib.cern.ch/nweek-02463/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/TrackingRecHit/interface/TrackingRecHit.h:4: In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/CLHEP/interface/AlgebraicObjects.h:16: /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/CLHEP/interface/Migration.h:5:10: fatal error: 'DataFormats/Math/interface/AlgebraicObjects.h' file not found #include "DataFormats/Math/interface/AlgebraicObjects.h" ^ >> Compiling /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/Provenance/test/indexIntoFile3_t.cppunit.cc In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/TrackReco/src/HitPattern.cc:1: In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-15-1100/src/DataFormats/TrackReco/interface/HitPattern.h:124: |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
-1 looks incomplete |
fyi - more info here https://indico.cern.ch/event/623308/ |
@@ -40,6 +40,7 @@ | |||
|
|||
#include "DataFormats/Provenance/interface/ProductID.h" | |||
#include "DataFormats/Common/interface/EDProductGetter.h" | |||
#include "FWCore/Framework/interface/Event.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about replacing this with
#include "FWCore/Common/interface/EventBase.h"
and then in the places which were using edm::Event
change it to edm::EventBase
?
As suggested, I'll split this up in multiply smaller PRs. Closing this. |
First step to modularize FWCore (and the DataFormats libraries used by FWCore). This patch adds all missing includes and removes cyclic includes that cause FWCore to fail compiling with per-header modules.