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

[CPP20][SIMULATION] Remove deprecated enum arithmetic #44491

Conversation

iarspider
Copy link
Contributor

PR description:

Some arithmetic and logic operations on enums are deprecated in C++20. This PR aims to fix these.

PR validation:

Bot tests.

@iarspider
Copy link
Contributor Author

please test for CMSSW_14_1_CPP20_X

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 20, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44491/39580

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • SimCalorimetry/EcalSimAlgos (simulation)
  • SimCalorimetry/EcalSimProducers (simulation)
  • SimCalorimetry/HcalSimAlgos (simulation)

@mdhildreth, @civanch can you please review it and eventually sign? Thanks.
@ReyerBand, @abdoulline, @wang0jin, @sameasy, @thomreis, @argiro, @bsunanda, @rchatter, @rovere, @mariadalfonso this is something you requested to watch as well.
@antoniovilela, @sextonkennedy, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6038ec/38291/summary.html
COMMIT: 5dea8f7
CMSSW: CMSSW_14_1_CPP20_X_2024-03-18-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44491/38291/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-6038ec/38291/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6038ec/38291/git-merge-result

Comparison Summary

Summary:

@civanch
Copy link
Contributor

civanch commented Mar 20, 2024

+1

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

@civanch
Copy link
Contributor

civanch commented Mar 20, 2024

@iarspider , I just read a comment from Matti in #44488 , may be better to try it out?

@antoniovilela
Copy link
Contributor

-orp

  • Implementation will be updated.

@antoniovilela
Copy link
Contributor

@iarspider
Hi Ivan, will you update this PR, or should it be closed?
Thanks.

@iarspider iarspider closed this Mar 28, 2024
@iarspider iarspider deleted the cpp20-no-enum-arithmetics-simulation branch March 28, 2024 08:04
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.

4 participants