[Scons-users] Automatic Retry
Arvid Rosén
arvid at softube.com
Mon Sep 5 19:05:29 EDT 2016
Hi,
It is actually another tool the generate same erroneous assembly code and then calls the Microsoft tool to create an object file. I still need the whole vcvars thing though.
So the source is present, but the target is not generated.
Arvid
Get Outlook for iOS<https://aka.ms/o0ukef>
_____________________________
From: Bill Deegan <bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>>
Sent: tisdag, september 6, 2016 12:01 fm
Subject: Re: [Scons-users] Automatic Retry
To: SCons users mailing list <scons-users at scons.org<mailto:scons-users at scons.org>>
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<mailto: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<mailto: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<mailto: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<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto: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/de35b9e1/attachment.html>
More information about the Scons-users
mailing list