Re: only perfom when the output is missing

2021-04-17 Thread Robert Goldman
On 17 Apr 2021, at 17:09, Faré wrote: One way to avoid unneeded regeneration in the future without lying about the dependency would be to modify the script to: 1. Remember in the output the hash of the input. 2. In the regeneration script, have a shortcut that leaves the output unchanged if the

Re: only perfom when the output is missing

2021-04-17 Thread Attila Lendvai
thanks for the ideas Robert! > I was wondering why it was important to avoid the build when the .h file > is newer than the .spec file. This shouldn't happen very often, should > it? Is it because: > the problem is much more down to earth: generating the spec file requires launching a libllvm

Re: only perfom when the output is missing

2021-04-17 Thread Robert Goldman
On 14 Apr 2021, at 18:38, Attila Lendvai wrote: FTR, i have managed to solve it with this: (defclass generate-lisp-op (selfward-operation) ((selfward-operation :initform '( ; we will specify it in our own COMPONENT-DEPENDS-ON (defmethod component-depends-on ((op generate-lisp-op) (c