cms-sw / cmssw

CMS Offline Software
http://cms-sw.github.io/
Apache License 2.0
1.09k stars 4.32k forks source link

explicitly link pythia6_pdfdummy where needed #46684

Closed smuzaffar closed 1 week ago

smuzaffar commented 1 week ago

This change along with https://github.com/cms-sw/cmsdist/pull/9514 should properly link lhapdf library for ASNEEDED IBs. Currently pythia6 tool also link pythia6_pdfdummy library which provides the pdfset symbol. For ASNEEDED IBs, complier decided to not link lhapdf as the needed pdfset symbol was available via pythia6_pdfdummy. cmsdist PR moves pythia6_pdfdummy in to a separate tool file which is then only linked where it is needed.

Fixes #45747

cmsbuild commented 1 week ago

cms-bot internal usage

smuzaffar commented 1 week ago

test parameters:

cmsbuild commented 1 week ago

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46684/42624

cmsbuild commented 1 week ago

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

It involves the following packages:

@bbilin, @cmsbuild, @lviliani, @menglu21, @mkirsano can you please review it and eventually sign? Thanks. @alberto-sanchez, @mkirsano this is something you requested to watch as well. @antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

smuzaffar commented 1 week ago

please test

smuzaffar commented 1 week ago

please test

smuzaffar commented 1 week ago

please test for CMSSW_14_2_ASNEEDED_X

cmsbuild commented 1 week ago

+1

Size: This PR adds an extra 16KB to repository Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42793/summary.html COMMIT: 363de6544b1c9e1a28479bb2e4a278f34ab72b4f CMSSW: CMSSW_14_2_X_2024-11-12-2300/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46684/42793/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

cmsbuild commented 1 week ago

-1

Failed Tests: UnitTests Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42798/summary.html COMMIT: 363de6544b1c9e1a28479bb2e4a278f34ab72b4f CMSSW: CMSSW_14_2_ASNEEDED_X_2024-11-11-1100/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46684/42798/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42798/git-recent-commits.json https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42798/git-merge-result

Unit Tests

I found 1 errors in the following unit tests:

---> test TestDQMGUIUpload had ERRORS

Comparison Summary

Summary:

smuzaffar commented 1 week ago

please test for CMSSW_14_2_ASNEEDED_X

lets test full cmssw ( i.e all unit tests)

cmsbuild commented 1 week ago

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42815/summary.html COMMIT: 363de6544b1c9e1a28479bb2e4a278f34ab72b4f CMSSW: CMSSW_14_2_ASNEEDED_X_2024-11-13-1100/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46684/42815/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42815/git-recent-commits.json https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a10d50/42815/git-merge-result

Comparison Summary

Summary:

smuzaffar commented 1 week ago

@cms-sw/generators-l2 can you please review and sign this PR? This is just a technical update which will allow us to enable --as-needed link flag for cmssw

lviliani commented 1 week ago

+1

cmsbuild commented 1 week ago

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @mandrenguyen, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) Notice This PR was tested with additional Pull Request(s), please also merge them if necessary: cms-sw/cmsdist#9514

cmsbuild commented 1 week ago

REMINDER @antoniovilela, @sextonkennedy, @mandrenguyen, @rappoccio: This PR was tested with cms-sw/cmsdist#9514, please check if they should be merged together

mandrenguyen commented 1 week ago

+1