Skip to content

BuildFile dependency cleaning, 1st round#50916

Open
dan131riley wants to merge 2 commits into
cms-sw:masterfrom
dan131riley:dependencies-cleanup
Open

BuildFile dependency cleaning, 1st round#50916
dan131riley wants to merge 2 commits into
cms-sw:masterfrom
dan131riley:dependencies-cleanup

Conversation

@dan131riley
Copy link
Copy Markdown
Contributor

@dan131riley dan131riley commented May 11, 2026

PR description:

This PR is the first pass of some dependency cleanups.

General changes:

  • Make sure that every package that declares dictionaries has a dependency on rootcling. See Add missing dependence on ROOT to CondFormats/MLObjects #50692 for motivation.
  • Change many uses of DataFormats/Provenance to source_only="1". Outside of IO modules and FWCore, most uses of DataFormats/Provenance are for one of a few elementary types like edm::EventID or edm::Timestamp. These uses do not need the dependency on FWCore/Reflection that DataFormats/Provenance brings in. A future PR may move the core types into a separate package.
  • Narrow ROOT dependencies where possible, especially narrowing rootmath to rootmathcore.
  • Remove unnecessary dependencies on boost and clhep

Specific changes:

Resolves cms-sw/framework-team#1973

PR validation:

Compiles. No changes that should affect physics or computational performance.

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented May 11, 2026

cms-bot internal usage

@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50916/49295

@cmsbuild
Copy link
Copy Markdown
Contributor

A new Pull Request was created by @dan131riley for master.

It involves the following packages:

  • AnalysisDataFormats/SUSYBSMObjects (analysis)
  • AnalysisDataFormats/TrackInfo (analysis)
  • CalibCalorimetry/EBPhase2TPGTools (alca, l1)
  • CalibCalorimetry/EcalLaserCorrection (alca)
  • CalibCalorimetry/EcalTrivialCondModules (alca)
  • CalibCalorimetry/HcalAlgos (alca)
  • CalibFormats/CaloObjects (alca)
  • CalibTracker/SiPixelQuality (alca)
  • Calibration/EcalTBTools (alca)
  • CommonTools/UtilAlgos (reconstruction)
  • CondCore/Utilities (db)
  • CondFormats/Alignment (alca, db)
  • CondFormats/BTauObjects (alca, db)
  • CondFormats/BeamSpotObjects (alca, db)
  • CondFormats/CSCObjects (alca, db)
  • CondFormats/Calibration (alca, db)
  • CondFormats/CastorObjects (alca, db)
  • CondFormats/Common (alca, db)
  • CondFormats/DQMObjects (db, dqm)
  • CondFormats/EcalCorrections (alca, db)
  • CondFormats/EgammaObjects (alca, db)
  • CondFormats/External (db)
  • CondFormats/GEMObjects (db)
  • CondFormats/GeometryObjects (alca, db)
  • CondFormats/HGCalObjects (alca, db)
  • CondFormats/HLTObjects (alca, db, hlt)
  • CondFormats/HcalObjects (alca, db)
  • CondFormats/L1TObjects (alca, db, l1)
  • CondFormats/MFObjects (alca)
  • CondFormats/OptAlignObjects (alca, db)
  • CondFormats/PCLConfig (alca, db)
  • CondFormats/RPCObjects (alca, db)
  • CondFormats/RecoMuonObjects (alca, db)
  • CondFormats/RunInfo (alca, db)
  • CondFormats/SiPixelObjects (alca, db)
  • CondFormats/SiStripObjects (alca, db)
  • CondTools/BTau (db)
  • CondTools/DT (db)
  • CondTools/Ecal (db)
  • DPGAnalysis/SiStripTools (analysis)
  • DPGAnalysis/Skims (pdmv)
  • DQMServices/Components (dqm)
  • DQMServices/StreamerIO (dqm)
  • DataFormats/Alignment (alca)
  • DataFormats/AlpakaCommon (heterogeneous)
  • DataFormats/BTauReco (reconstruction)
  • DataFormats/BeamSpot (reconstruction)
  • DataFormats/CLHEP (core)
  • DataFormats/CSCDigi (simulation)
  • DataFormats/CSCRecHit (reconstruction)
  • DataFormats/CTPPSDetId (simulation)
  • DataFormats/CTPPSDigi (reconstruction, simulation)
  • DataFormats/CTPPSReco (reconstruction)
  • DataFormats/CaloRecHit (reconstruction)
  • DataFormats/CaloTowers (reconstruction)
  • DataFormats/Candidate (reconstruction)
  • DataFormats/CastorReco (reconstruction)
  • DataFormats/Common (core)
  • DataFormats/DTDigi (simulation)
  • DataFormats/DTRecHit (reconstruction)
  • DataFormats/DetId (simulation)
  • DataFormats/EcalDetId (simulation)
  • DataFormats/EcalDigi (simulation)
  • DataFormats/EcalRawData (simulation)
  • DataFormats/EcalRecHit (reconstruction)
  • DataFormats/EgammaCandidates (reconstruction)
  • DataFormats/EgammaReco (reconstruction)
  • DataFormats/EgammaTrackReco (reconstruction)
  • DataFormats/FEDRawData (daq)
  • DataFormats/FTLDigi (simulation)
  • DataFormats/FTLRecHit (reconstruction)
  • DataFormats/FWLite (core)
  • DataFormats/ForwardDetId (simulation)
  • DataFormats/GEMDigi (simulation)
  • DataFormats/GeometryCommonDetAlgo (simulation)
  • DataFormats/GeometrySurface (simulation)
  • DataFormats/GeometryVector (simulation)
  • DataFormats/GsfTrackReco (reconstruction)
  • DataFormats/HGCDigi (simulation)
  • DataFormats/HGCRecHit (reconstruction)
  • DataFormats/HGCalDigi (simulation)
  • DataFormats/HGCalReco (reconstruction)
  • DataFormats/HLTReco (hlt)
  • DataFormats/HcalCalibObjects (alca)
  • DataFormats/HcalDetId (simulation)
  • DataFormats/HcalDigi (simulation)
  • DataFormats/HcalIsolatedTrack (reconstruction)
  • DataFormats/HcalRecHit (reconstruction)
  • DataFormats/HeavyIonEvent (reconstruction)
  • DataFormats/Histograms (core, dqm)
  • DataFormats/JetMatching (simulation)
  • DataFormats/JetReco (reconstruction)
  • DataFormats/L1CSCTrackFinder (l1)
  • DataFormats/L1CaloTrigger (l1)
  • DataFormats/L1DTTrackFinder (l1)
  • DataFormats/L1GlobalCaloTrigger (l1)
  • DataFormats/L1GlobalMuonTrigger (l1)
  • DataFormats/L1GlobalTrigger (l1)
  • DataFormats/L1Scouting (daq)
  • DataFormats/L1ScoutingRawData (daq)
  • DataFormats/L1TCalorimeter (l1)
  • DataFormats/L1TGlobal (l1)
  • DataFormats/L1TrackTrigger (l1)
  • DataFormats/L1Trigger (l1)
  • DataFormats/LTCDigi (l1)
  • DataFormats/Luminosity (reconstruction)
  • DataFormats/METReco (reconstruction)
  • DataFormats/MuonDetId (simulation)
  • DataFormats/MuonReco (reconstruction)
  • DataFormats/MuonSeed (reconstruction)
  • DataFormats/NanoAOD (xpog)
  • DataFormats/OnlineMetaData (daq, reconstruction)
  • DataFormats/ParticleFlowCandidate (reconstruction)
  • DataFormats/ParticleFlowReco (reconstruction)
  • DataFormats/PatCandidates (reconstruction, xpog)
  • DataFormats/Phase2TrackerDigi (reconstruction)
  • DataFormats/PortableTestObjects (heterogeneous)
  • DataFormats/ProtonReco (reconstruction)
  • DataFormats/Provenance (core)
  • DataFormats/RPCDigi (simulation)
  • DataFormats/RPCRecHit (reconstruction)
  • DataFormats/RecoCandidate (reconstruction)
  • DataFormats/Scalers (daq, l1, reconstruction)
  • DataFormats/Scouting (core)
  • DataFormats/SiPixelCluster (reconstruction)
  • DataFormats/SiPixelClusterSoA (heterogeneous, reconstruction)
  • DataFormats/SiPixelDetId (simulation)
  • DataFormats/SiPixelDigi (simulation)
  • DataFormats/SiPixelDigiSoA (heterogeneous, reconstruction)
  • DataFormats/SiPixelRawData (simulation)
  • DataFormats/SiStripCluster (reconstruction)
  • DataFormats/SiStripClusterSoA (heterogeneous, reconstruction)
  • DataFormats/SiStripCommon (reconstruction)
  • DataFormats/SiStripDetId (simulation)
  • DataFormats/SiStripDigi (simulation)
  • DataFormats/SiStripDigiSoA (heterogeneous, reconstruction)
  • DataFormats/SoATemplate (heterogeneous)
  • DataFormats/StdDictionaries (core)
  • DataFormats/Streamer (core)
  • DataFormats/TCDS (daq, reconstruction)
  • DataFormats/TauReco (reconstruction)
  • DataFormats/TestObjects (core)
  • DataFormats/TotemReco (reconstruction)
  • DataFormats/TrackCandidate (reconstruction)
  • DataFormats/TrackReco (reconstruction)
  • DataFormats/TrackSoA (heterogeneous, reconstruction)
  • DataFormats/TrackerCommon (reconstruction)
  • DataFormats/TrackerRecHit2D (reconstruction)
  • DataFormats/TrackingRecHit (reconstruction)
  • DataFormats/TrackingRecHitSoA (heterogeneous, reconstruction)
  • DataFormats/TrajectorySeed (reconstruction)
  • DataFormats/TrajectoryState (reconstruction)
  • DataFormats/V0Candidate (reconstruction)
  • DataFormats/VertexReco (reconstruction)
  • DataFormats/VertexSoA (heterogeneous, reconstruction)
  • DataFormats/WrappedStdDictionaries (core)
  • FWCore/AbstractServices (core)
  • FWCore/Common (core)
  • FWCore/FWLite (core)
  • FWCore/MessageService (core)
  • FWCore/Modules (core)
  • FWCore/ParameterSet (core)
  • FWCore/PrescaleService (core)
  • FWCore/PythonParameterSet (core)
  • FWCore/ServiceRegistry (core)
  • FWCore/Services (core)
  • FWCore/Sources (core)
  • FWStorage/Services (core)
  • FastSimDataFormats/External (fastsim)
  • FastSimDataFormats/PileUpEvents (fastsim)
  • FastSimulation/Event (fastsim)
  • Geometry/CaloGeometry (geometry)
  • HLTrigger/HLTcore (hlt)
  • HLTrigger/Timer (hlt)
  • HeterogeneousCore/CUDAServices (heterogeneous)
  • HeterogeneousCore/MPICore (heterogeneous)
  • HeterogeneousCore/ROCmServices (heterogeneous)
  • HeterogeneousCore/SonicTriton (heterogeneous)
  • HeterogeneousCore/TrivialSerialisation (heterogeneous)
  • IOMC/RandomEngine (core)
  • IORawData/CSCCommissioning (daq)
  • IORawData/DTCommissioning (alca)
  • JetMETCorrections/JetCorrector (reconstruction)
  • JetMETCorrections/Modules (reconstruction)
  • L1Trigger/GlobalTriggerAnalyzer (l1)
  • L1Trigger/L1TGlobal (l1)
  • L1Trigger/L1THGCalUtilities (l1)
  • L1Trigger/L1TNtuples (l1)
  • L1Trigger/Phase2L1GT (l1)
  • L1TriggerScouting/Utilities (daq)
  • Mixing/Base (simulation)
  • OnlineDB/EcalCondDB (db)
  • PhysicsTools/BPHNano (xpog)
  • PhysicsTools/CondLiteIO (analysis)
  • PhysicsTools/SelectorUtils (reconstruction)
  • PhysicsTools/UtilAlgos (analysis)
  • PhysicsTools/Utilities (analysis)
  • RecoEgamma/EgammaElectronAlgos (reconstruction)
  • RecoEgamma/EgammaPhotonProducers (reconstruction)
  • RecoLuminosity/LumiProducer (reconstruction)
  • RecoParticleFlow/Benchmark (reconstruction)
  • RecoTracker/MeasurementDet (reconstruction)
  • RecoTracker/MkFit (reconstruction)
  • SimDataFormats/Associations (simulation)
  • SimDataFormats/CaloAnalysis (simulation)
  • SimDataFormats/CaloHit (simulation)
  • SimDataFormats/CaloTest (simulation)
  • SimDataFormats/CrossingFrame (simulation)
  • SimDataFormats/DigiSimLinks (simulation)
  • SimDataFormats/EcalTestBeam (simulation)
  • SimDataFormats/Forward (simulation)
  • SimDataFormats/GEMDigiSimLink (simulation)
  • SimDataFormats/HTXS (generators)
  • SimDataFormats/HcalTestBeam (simulation)
  • SimDataFormats/HiGenData (simulation)
  • SimDataFormats/PileupSummaryInfo (simulation)
  • SimDataFormats/RPCDigiSimLink (simulation)
  • SimDataFormats/RandomEngine (simulation)
  • SimDataFormats/Track (simulation)
  • SimDataFormats/TrackerDigiSimLink (simulation)
  • SimDataFormats/TrackingAnalysis (simulation)
  • SimDataFormats/TrackingHit (simulation)
  • SimDataFormats/ValidationFormats (simulation)
  • SimDataFormats/Vertex (simulation)
  • SimGeneral/DataMixingModule (simulation)
  • SimGeneral/MixingModule (simulation)
  • SimTracker/TrackerHitAssociation (simulation)
  • TBDataFormats/EcalTBObjects (analysis)
  • TBDataFormats/HcalTBObjects (analysis)
  • TrackingTools/GsfTracking (reconstruction)
  • TrackingTools/PatternTools (reconstruction)
  • TrackingTools/TrajectoryState (reconstruction)
  • TrackingTools/TransientTrack (reconstruction)
  • TrackingTools/TransientTrackingRecHit (reconstruction)
  • Validation/HGCalValidation (dqm)

@AdrianoDee, @Alejandro1400, @BenjaminRS, @DickyChant, @Dr15Jones, @JanChyczynski, @Martin-Grunewald, @Moanwar, @antoniovagnerini, @arunhep, @atpathak, @battibass, @bsunanda, @civanch, @cmsbuild, @ctarricone, @emeschi, @francescobrivio, @ftorrresd, @fwyzard, @gabrielmscampos, @jfernan2, @kfjack, @kpedro88, @lviliani, @makortel, @mandrenguyen, @mdhildreth, @miquork, @mkirsano, @mmusich, @nothingface0, @perrotta, @quinnanm, @rseidita, @sensrcn, @smorovic, @smuzaffar, @srimanob, @sroychow, @ssekmen, @theofil, @tvami can you please review it and eventually sign? Thanks.
@24LopezR, @AlexDeMoor, @CeliaFernandez, @Fedespring, @GiacomoSguazzoni, @HuguesBrun, @IzaakWN, @JanChyczynski, @Martin-Grunewald, @Ming-Yan, @Mmiglio, @PonIlya, @Prasant1993, @ReyerBand, @Sam-Harper, @Senphy, @VinInn, @VourMa, @a-kapoor, @abbiendi, @abdoulline, @afiqaize, @ahinzmann, @alesaggio, @amagitte, @amarini, @andrzejnovak, @apsallid, @argiro, @azotz, @barvic, @battibass, @bellan, @bsunanda, @castaned, @cericeci, @clelange, @cseez, @denizsun, @dgulhan, @dkotlins, @echabert, @elusian, @erikbutz, @eyigitba, @fabferro, @fabiocos, @felicepantaleo, @ferencek, @fsimone91, @fwyzard, @giovanni-mocellin, @gkasieczka, @gouskos, @gpetruc, @grzanka, @hatakeyamak, @jainshilpi, @jandrea, @jbsauvan, @jdamgov, @jdolen, @jhgoh, @jlidrych, @jshlee, @kpedro88, @lecriste, @lgray, @llunerti, @makortel, @mandrenguyen, @mariadalfonso, @martinamalberti, @matt-komm, @mbluj, @missirol, @mmarionncern, @mmasciov, @mmusich, @mroguljic, @mtosi, @nhanvtran, @pavlo-kashko, @pfs, @philippgadow, @ptcox, @ram1123, @rappoccio, @rchatter, @riga, @robervalwalsh, @rovere, @rsreds, @salimcerci, @sameasy, @sbein, @schoef, @seemasharmafnal, @sethzenz, @slomeo, @sobhatta, @sviret, @thomreis, @threus, @tocheng, @trocino, @tsusa, @valsdav, @vandreev11, @varuns23, @venturia, @wang0jin, @watson-ij, @wddgit, @wmtford, @yetkinyilmaz, @yslai, @yuanchao this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@tvami
Copy link
Copy Markdown
Contributor

tvami commented May 11, 2026

@cmsbuild please test

@gabrielmscampos
Copy link
Copy Markdown
Member

+dqm

symbols that would be resolved from DataFormats/Provenance.  As a result:

- Several instances setting `source_only` were reverted to linking to the
shared object, especially FWCore
- Many packages were missing dependencies on `DataFormats/Provenance`,
which have now been added.
- An apparently spurious dependency on `ModuleDescription` was removed
from RecoTracker/DeDx
@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50916/49376

@tvami
Copy link
Copy Markdown
Contributor

tvami commented May 18, 2026

+1

@quinnanm
Copy link
Copy Markdown
Contributor

+l1

@Moanwar
Copy link
Copy Markdown
Contributor

Moanwar commented May 19, 2026

+1

1 similar comment
@civanch
Copy link
Copy Markdown
Contributor

civanch commented May 19, 2026

+1

@gabrielmscampos
Copy link
Copy Markdown
Member

+dqm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment