|
From: | Max Nikulin |
Subject: | bug#62762: Incremental builds and Lisp files dependencies pulling a new version of the code |
Date: | Sun, 7 May 2023 09:45:20 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 06/05/2023 23:26, Eli Zaretskii wrote:
Date: Sat, 6 May 2023 22:50:22 +0700 From: Max Nikulin On 06/05/2023 14:51, Eli Zaretskii wrote:This doesn't really work, not as long as we use Make: some *.elc files might not exist yet, for whatever reasons, so Make will try to generate them first, thus disrupting the order of generation that you^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^will try to encode in the dependencies. We already tried that, and it^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^didn't work, not even just for Org.Could you, please, be more precise? Do you suspect that Make may start building a target before completion of all rules for its prerequisites?No, I mean that the order in which Make builds the targets might not be what you think, if all you tell it that all org/*.elc files depend on org-macs.elc.
Sorry, but it is still not clear to we what "doesn't really work" and I feel that it may be important for further discussion.
If a Makefile contains a dependency like org/ol.elc: org/org-macs.elcand org/org-macs.elc needs update then the rule for org/ol.elc is executed after completion of the rule for org/org-macs.elc. The purpose of dependencies is to define order of execution of build rules.
However I suggested dependencies on org-macs.el, not on org-macs.elc: Sat, 6 May 2023 13:00:38 +0700
they should be at least that all lisp/org/*.elc files depend on lisp/org/org-version.el and lisp/org/org-macs.el.
[Prev in Thread] | Current Thread | [Next in Thread] |