-
Notifications
You must be signed in to change notification settings - Fork 183
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
Can we avoid maintaining CMSSW dependencies in BuildFiles? #5992
Comments
A new Issue was created by @davidlange6 David Lange. @Dr15Jones, @silviodonato, @dpiparo, @smuzaffar, @makortel can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign core |
New categories assigned: core @Dr15Jones,@smuzaffar,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks |
@davidlange6 How about we test BuildFile.xml for dependencies as part of the pull request checks? In that way we do not have to calculate the dependencies each time someone checks out the code. |
Well, we’d first have to fix all the build files. Indeed, if dependency grepping slows down “scram b” or other commands noticeably then thats definitely a reason not to do what I suggest.
On Jun 25, 2020, at 4:41 PM, Chris Jones <[email protected]<mailto:[email protected]>> wrote:
@davidlange6<https://github.com/davidlange6> How about we test BuildFile.xml for dependencies as part of the pull request checks? In that way we do not have to calculate the dependencies each time someone checks out the code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#5992 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABGPFQ3SASWS3OA4BFGUQA3RYNO2NANCNFSM4OIM5TDA>.
|
yes it takes some time to find the correct dependencies specially if you have
I agree with @Dr15Jones , we can run something for PR tests to make sure the dependency on CMSSW packages is clean. Externel tool deps is bit hard specially if there are multiple tools ( just like |
hi @smuzaffar (mostly)
having "cleaned up" (hopefully) a lot of CMSSW build files - I wonder if we can avoid altogether having developers maintain the lists of CMSSW packages in them? Eg, its easy to write a script (I did one) to find the set of packages with header dependencies and separately, those with dependencies in src (and plugins, etc).
BuildFiles could express external dependencies and other needed flags (well, many of those can be automated too but more complicated).
As an added bonus, this could allow us to separate include and lib dependencies if we wanted.
The text was updated successfully, but these errors were encountered: