Skip to content
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

Added extra Invalid = -1 enum to avoid llvm16 build errors #41458

Merged
merged 1 commit into from
Apr 30, 2023

Conversation

smuzaffar
Copy link
Contributor

I am trying to test LLVM 16.0.3 for CLANG IBs and there are few build [a] errors. Looks like llvm 16 does not like to set -1 for an enum. ThisPR proposes to add the extra Invalid = -1 enum value. Local tests with this change and llvm16 passed

[a]

CondFormats/L1TObjects/src/L1GtDefinitions.cc:53:78: error: integer value -1 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion]
                                                                    {nullptr, (L1GtBoardType)-1}};
CondFormats/L1TObjects/src/L1GtDefinitions.cc:81:74: error: integer value -1 is outside the valid range of values [0, 31] for this enumeration type [-Wenum-constexpr-conversion]
                                                                {nullptr, (L1GtPsbQuad)-1}};

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41458/35321

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

  • CondFormats/L1TObjects (l1, db, alca)
  • DataFormats/L1GlobalTrigger (l1)
  • L1Trigger/L1TGlobal (l1)

@epalencia, @cmsbuild, @saumyaphor4252, @aloeliger, @francescobrivio, @cecilecaillol, @tvami can you please review it and eventually sign? Thanks.
@rovere, @Martin-Grunewald, @missirol, @tocheng, @mmusich, @seemasharmafnal this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3e377f/32244/summary.html
COMMIT: 0ef2861
CMSSW: CMSSW_13_1_X_2023-04-28-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/41458/32244/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 9 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3460877
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3460854
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor Author

@cms-sw/l1-l2 @cms-sw/db-l2 , can you please review this. This would allow us to integrate llvm 16 in clang builds

@francescobrivio
Copy link
Contributor

+db

  • technical
  • I believe the only failure in the tests is unrelated to this PR (it's in HLT/SiStrips)

@aloeliger
Copy link
Contributor

+l1

  • Adds option for testing against invalid boards, no substantial changes expected.

@tvami
Copy link
Contributor

tvami commented Apr 30, 2023

+alca

@cmsbuild
Copy link
Contributor

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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 86b6f5f into cms-sw:master Apr 30, 2023
@cmsbuild cmsbuild mentioned this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants