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

Fix clang build problem in AdaptiveVertexFitter #7195

Merged

Conversation

Dr15Jones
Copy link
Contributor

clang does not permit a variable sized array to be passed to a lambda.
So instead we pass a pointer to the first element of the array. An
optimizing compiler should make the two implementations into the same
machine code.

clang does not permit a variable sized array to be passed to a lambda.
So instead we pass a pointer to the first element of the array. An
optimizing compiler should make the two implementations into the same
machine code.
@cmsbuild
Copy link
Contributor

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

Fix clang build problem in AdaptiveVertexFitter

It involves the following packages:

RecoVertex/AdaptiveVertexFit

@cmsbuild, @cvuosalo, @nclopezo, @slava77 can you please review it and eventually sign? Thanks.
@imarches, @makortel, @acaudron, @GiacomoSguazzoni, @rovere, @VinInn, @appeltel, @ferencek, @cerati, @pvmulder, @dgulhan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.

@davidlt
Copy link
Contributor

davidlt commented Jan 15, 2015

The package compiles fine under pre-3.6 Clang in DEVEL IB. A number of failing packages in CLANG IB are fine with new Clang IIRC.

@Dr15Jones
Copy link
Contributor Author

Great, but I'm afraid we need the clang build to be clean now so that the static analyzer report is complete.

@cmsbuild
Copy link
Contributor

-1
Tested at: 9c51948
When I ran the RelVals I found an error in the following worklfows:
1306.0 step3

runTheMatrix-results/1306.0_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVESTUP15+MINIAODMCUP15/step3_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVESTUP15+MINIAODMCUP15.log

25202.0 step3

runTheMatrix-results/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15+MINIAODMCUP15/step3_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15+MINIAODMCUP15.log

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

@Dr15Jones
Copy link
Contributor Author

The test failures are unrelated to this pull request.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Jan 16, 2015

+1

for #7195 9c51948
looks ok, and runs/clean in jenkins

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged.

cmsbuild added a commit that referenced this pull request Jan 16, 2015
…rtexFitter

Fix clang build problem in AdaptiveVertexFitter
@cmsbuild cmsbuild merged commit 819d6a0 into cms-sw:CMSSW_7_4_X Jan 16, 2015
@Dr15Jones Dr15Jones deleted the fixClangProblemWIthAdaptiveVertexFitter branch January 23, 2015 16:31
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

4 participants