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

Make statics constexpr in HcalTopology #27249

Merged
merged 1 commit into from Jun 19, 2019

Conversation

Dr15Jones
Copy link
Contributor

PR description:

This fixes a problem when compiling using UBSAN as a static const object is still required to have storage assigned while a constexpr does not have storage.

PR validation:

This compiles and links using CMSSW_11_0_UBSAN_X_2019-06-18-1100 IB.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27249/10447

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

Geometry/CaloTopology

@civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 19, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/1022/console Started: 2019/06/19 10:25

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

This fixes a problem when compiling using UBSAN as a static const
object is still required to have storage assigned while a constexpr
does not have storage.
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@Dr15Jones
Copy link
Contributor Author

[I pushed a commit to the wrong branch, sorry everyone]

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27249/10449

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #27249 was updated. @civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 19, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/1023/console Started: 2019/06/19 11:01

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-706bff/1023/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3254096
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3253760
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@cvuosalo
Copy link
Contributor

+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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@bsunanda
Copy link
Contributor

@Dr15Jones Chris I am making changes to HcalTopology and it has all the fixes suggested by you. I am making the PR for some dense indexing. Could this PR be closed as there will be conflicts. Please let me know

@fabiocos
Copy link
Contributor

@bsunanda the simplest thing is that I merge this PR now and your rebase (if needed) on top of it

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 99597f3 into cms-sw:master Jun 19, 2019
@Dr15Jones Dr15Jones deleted the ubsanCaloTopology branch June 20, 2019 12:29
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.

None yet

5 participants