[Scons-users] Automatic Retry
Bill Deegan
bill at baddogconsulting.com
Mon Sep 5 18:00:59 EDT 2016
How is MSVC failing?
Is a dependency of the file not yet generated?
-Bill
On Mon, Sep 5, 2016 at 8:26 AM, Arvid Rosén <arvid at softube.com> wrote:
> Hi,
>
> Yeah, I need to support different platforms, but the problem is happening
> on Windows only. Actually it is the MSVC compiler that fails, so all the
> vcvars32.bat etc need to work. So I would really want the SharedObject tool
> to retry, but I can’t figure out how. If I try to replace it with some
> script I am afraid that I will mess up all logic that handles the different
> vcvars batch scripts etc.
>
> Maybe I could just duplicate the SharedObject builder and pad its action
> with the retry logic somehow.
>
> Cheers,
> Arvid
>
>
> On 05 Sep 2016, at 16:27, Bill Deegan <bill at baddogconsulting.com> wrote:
>
> What platform are you running on?
> You could either wrap your tool with a script which retries on failure N
> times and then call that from scons,
> or change the command being run to have some bash scripted loop.
>
> -Bill
>
> On Sun, Sep 4, 2016 at 10:56 PM, Arvid Rosén <arvid at softube.com> wrote:
>
>> So, I have this unfortunate situation where one of my tools occasionally
>> fails. Right now the only thing I can do is to retry and build the target
>> again.
>>
>> Are there any ways to achieve this easily within SCons rather than having
>> an external script that calls SCons several times?
>>
>> Cheers,
>> Arvid
>>
>> Get Outlook for iOS <https://aka.ms/o0ukef>
>>
>>
>> _______________________________________________
>> 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/20160905/5328fa83/attachment-0001.html>
More information about the Scons-users
mailing list