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
Cyclic dependency finder based on cmssw source (with or with header only dependencies) #31425
Conversation
…out header only dependencies
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31425/18286
|
A new Pull Request was created by @davidlange6 (David Lange) for master. It involves the following packages: Utilities/ReleaseScripts @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31425/18287
|
please test |
The tests are being triggered in jenkins.
|
Pull request #31425 was updated. @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please check and sign again. |
output on CMSSW_11_2_X_2020-09-08-2300 Building adjacency graph |
+1 |
Comparison job queued. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31425/18309
|
Pull request #31425 was updated. @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please check and sign again. |
@davidlange6 , if you are only doing it using the CMSSW_RELEASE_BASE then why not make use of already created dependency information $CMSSW_RELEASE_BASE/etc/dependencies/uses.out.gz? Each line in this file is src_file space_separated_list_of_all_included_headers |
remind me how that list gets made? (I had forgotten about it even if I probably asked for it or helped create it..) |
We run this https://github.com/cms-sw/cmssw-config/blob/scramv3/SCRAM/findDependencies.py script for every release which basically parses the .d files generated by compiler. So one drawback/feature of this is that it only contains those files which are actually compiled and included. For example any header file which is not included by any source file will not end up in this. |
Thanks!
Then indeed this can replace what I’ve done completely when the option of omitting header only dependencies is selected.
On Sep 11, 2020, at 6:03 PM, Malik Shahzad Muzaffar <notifications@github.com<mailto:notifications@github.com>> wrote:
We run this https://github.com/cms-sw/cmssw-config/blob/scramv3/SCRAM/findDependencies.py script for every release which basically parses the .d files generated by compiler. So one drawback/feature of this is that it only contains those files which are actually compiled and included. For example any header file which is not included by any source file will not end up in this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#31425 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABGPFQ66ARXMUZEAIJ2IP5LSFJC3TANCNFSM4RE33NMQ>.
|
@davidlange6 if I understand correctly, we close this PR. Is it correct? |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5e3961/16060/summary.html Comparison SummarySummary:
|
+core |
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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
usage: cmssw_cycle_finder.py [-h] [--ignore_header_only] [--status_bar]
CMSSW Cyclic dependency finder
optional arguments:
-h, --help show this help message and exit
--ignore_header_only Ignore cycles due to header only dependencies
--status_bar Show progress bar when running
Requires python3.