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

Remove use of boost::mpl from Ref.h #30876

Merged
merged 4 commits into from Jul 27, 2020
Merged

Conversation

Dr15Jones
Copy link
Contributor

PR description:

Using C++17 features allowed implementing the same traits check in a relatively simple manner.

This was done based on a discussion in the Core meeting about the difficulty boost::mpl poses for ROOT modules.

PR validation:

The code compiles. Checks were done on the edm::has_key_compare implementation using compiler explorer.

Using C++17 features allowed implementing the same traits check in a relatively simple manner.
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@Dr15Jones
Copy link
Contributor Author

@davidlange6 FYI

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30876/17250

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

DataFormats/Common

@makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @rovere, @wddgit this is something you requested to watch as well.
@silviodonato, @dpiparo 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 Jul 22, 2020

The tests are being triggered in jenkins.

@Dr15Jones
Copy link
Contributor Author

See https://godbolt.org/z/f36GPb

@cmsbuild
Copy link
Contributor

-1

Tested at: 7622e30

CMSSW: CMSSW_11_2_X_2020-07-22-1200
SCRAM_ARCH: slc7_amd64_gcc820

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-c39730/8229/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c39730/8229/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c39730/8229/summary.html

I found follow errors while testing this PR

Failed tests: Build HeaderConsistency

  • Build:

I found compilation error when building:

>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/FastSimulation/Event/src/FSimVertex.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/FastSimulation/Event/src/KineParticleFilter.cc
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/DataFormats/HepMCCandidate/interface/GenParticleFwd.h:6,
                 from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/FastSimulation/Event/interface/FSimEvent.h:6,
                 from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/FastSimulation/Event/src/FSimEvent.cc:2:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/DataFormats/Common/interface/FwdRef.h:129:29: error: 'remove_cv' in namespace 'boost' does not name a template type
     typedef typename boost::remove_cv::type>::type key_type;
                             ^~~~~~~~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-07-22-1200/src/DataFormats/Common/interface/FwdRef.h:129:38: error: expected unqualified-id before '<' token
     typedef typename boost::remove_cv::type>::type key_type;
                                      ^


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-c39730/8229/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c39730/8229/git-merge-result

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

+1
Tested at: 3c697ab
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c39730/8253/summary.html
CMSSW: CMSSW_11_2_X_2020-07-23-1100
SCRAM_ARCH: slc7_amd64_gcc820

@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-c39730/8253/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2526188
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2526140
  • DQMHistoTests: Total skipped: 47
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 144 log files, 17 edm output root files, 34 DQM output files

@makortel
Copy link
Contributor

+1

@slava77
Copy link
Contributor

slava77 commented Jul 23, 2020

+1

for #30876 3c697ab

  • the change in reco category is almost trivial, to add a cmath include in RecoLocalCalo/HcalRecAlgos/interface/HBHEPulseShapeFlag.h

@smuzaffar
Copy link
Contributor

@smuzaffar is there a way I can run the header consistency check in my own work area?

yes @Dr15Jones , scram b -k check-headers

@Dr15Jones
Copy link
Contributor Author

ping @cms-sw/l1-l2 the change in your area is just the inclusion of a missing header.

@silviodonato
Copy link
Contributor

merge

@rekovic
Copy link
Contributor

rekovic commented Jul 28, 2020

+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 be automatically merged.

@Dr15Jones Dr15Jones deleted the removeMPLfromRef branch July 28, 2020 15:42
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

7 participants