[Scons-users] Command builder multiple targets and multiple sources for a single command

Bill Deegan bill at baddogconsulting.com
Fri Jan 31 13:22:33 EST 2020


Glad you resolved it!

On Fri, Jan 31, 2020 at 9:26 AM Daan De Meyer <daan.j.demeyer at gmail.com>
wrote:

> I've managed to find the issue. It turned out I accidentally added a
> single directory in the list of output header files. This caused scons to
> produce more than 9000 internal errors, each saying "error no dependency
> cycle found ..." However, I believe this has already been fixed in a more
> recent version of scons so I don't think there's anything actionable to be
> done here.
>
> Regards,
>
> Daan De Meyer
>
> On Fri, Jan 31, 2020, 5:57 PM Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
>> Daan,
>>
>> Please post a simple working example or at least the SConstruct with the
>> command so we can see what you've coded up.
>>
>> -Bill
>>
>> On Fri, Jan 31, 2020 at 6:40 AM Daan De Meyer <daan.j.demeyer at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Is it possible to run a Command builder that produces multiple targets
>>> and takes multiple sources for a single command?
>>>
>>> As an example, I'm in a scenario where I have to run a make build in
>>> scons. My idea of doing this was with the command builder where I list the
>>> archive containing the source code along with a set of patch files as the
>>> sources and everything produced by the make install step as the targets.
>>> The actual command is then a string of shell commands that unpack the
>>> archive, call ./configure and then call make install. However, scons fails
>>> saying there are dependency cycles between the header files that I list as
>>> the command outputs. Is this correct usage of the command builder or am I
>>> using it wrong?
>>>
>>> Regards,
>>>
>>> Daan De Meyer
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200131/f1c17f0c/attachment-0001.html>


More information about the Scons-users mailing list