summaryrefslogtreecommitdiff
path: root/bin/module-deps.pl
AgeCommit message (Collapse)Author
2021-12-14Fail module-deps.pl on more errorsJan-Marek Glogowski
* Fail on the error code returned from make * Collect dependency errors in the tree and fail and print them The "perldoc -f open" has an example in the "Opening a filehandle into a command" section, which uses waitpid in the parent. Since we parse the pipe output, there seems to be no need for waitpid, because we end when the pipe is closed by the writer. waitpid always returns -1 at this point and since there aren't any zombie processes, it seems to be fine to ignore. Additionally strace shows, clone, execve and waitpid calls, so the explicit exit in the example seems bogus, if the process is actually overwritten. And the pipe is just open in the parent process anyway. Change-Id: I2e77aa33a0eaa5d6d3e06904bb0af53f4b66ef91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126789 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-09-29Fix naming of makefile to mend make dump-deps.Michael Meeks
Also add error message to make this more clear in the future. Change-Id: Ic9e3a2c89119ef1ec3e6cc1074b7419f7ee268b7 Reviewed-on: https://gerrit.libreoffice.org/29375 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-02-25Avoid hard-coded perl path, check with envcoypu
Change-Id: If39a4991b487b14d21572d6e3d785df4c287f190 Reviewed-on: https://gerrit.libreoffice.org/22238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-28modules-deps.pl cleanupPeter Foley
Change-Id: Ic450869c18991b9ed715bb31052dfb911fe3c789 Reviewed-on: https://gerrit.libreoffice.org/21508 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2015-09-07module-deps now distinguishes merged-libs in its output.Michael Meeks
Change-Id: Icc3a965e59f5b2d4e23e0e5a4d0400b6b175c9c1 Reviewed-on: https://gerrit.libreoffice.org/18346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-03-20Remove library urelibs. It was more just a temporary hack and is not used.Matúš Kukan
Change-Id: I7566dcf21aae6b800adb58d8c94e350bb0da720c
2014-04-11Do not mishandle further libs without dependenciesStephan Bergmann
...besides sal/Library_sal.mk, like i18npool/Library_collator_data.mk. Change-Id: I2d86540bd8123410972496047fdb59ebcf35968f
2014-02-17Add toposort feature to module-deps.plStephan Bergmann
Change-Id: Id839eae62ad53189c44f7ca5a498bf7113c2536a
2013-07-15Prune some leaves for a cleaner top-to-bottom view of deps.Michael Meeks
Change-Id: I98e803bee37359405f0e06a62c063fbe9da82ea0
2013-04-14fix weird Circular Dep messagesPeter Foley
Change-Id: Ib8e442740a421d3ed86202813e97aa0239fb2299
2013-04-11add a env variable to keep the libraries w/ module-deps.plPeter Foley
Change-Id: Id9279b7e0dea2231db12997e571fe13ae240b914
2013-03-26fix postgresql buildPeter Foley
Change-Id: I379029dbf600769e415582aa7162f320e707c3da
2013-03-26make module-deps.pl work in separate builddirPeter Foley
Change-Id: I951e5b760fa4749cb712a927110e702949e0eaa3
2013-03-26speed-up module-deps.plPeter Foley
Change-Id: Idf703b1b5e26e32a0e8276c6f2eba51cd80f1b0b
2013-03-16perl defined is deprecatedPeter Foley
Change-Id: Ibe63cf7c70dc12ae76a6d21ef8c05c58c684eb82
2013-03-11module-deps: optimize dependency tree after library collapsingDavid Ostrovsky
Change-Id: I251572564422f99f56021275afd6294e958bbff9
2013-03-09module-deps.pl: extend dependency graph generationDavid Ostrovsky
Induce the module name from the library name. Report the libraries that can not be mapped to a module. Make the resulting module dependency graph unique. Add diagnostic options: --help --verbose --version Add convenience options (primary for caching): --from-file --to-file Add output option --output Provide a manual page with hints how to hack on it. Change-Id: Ib5c029c6ea197ca4f66fe6958ecbc3f78452c603
2013-03-06make debugging / cache better and kill a warning.Michael Meeks
2013-03-06significantly faster and less lame module dep collapsing.Michael Meeks
2013-03-05world's lamest code for generating graphviz from module deps.Michael Meeks
2013-03-05initial gnumake module deps dumping.Michael Meeks