I just realized that this is on a network drive. Could that be an issue? On Thu, Mar 16, 2017 at 3:26 PM, Thomas Costigliola <[email protected]> wrote:
> Attached is a small test program and Tupfile. I load the VS environment > with: > > %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ > vcvarsall.bat"" amd64 > > > then run tup, which is in my PATH. > > Now if I run tup again immediately it does not rebuild, but if more than a > few seconds pass then it thinks the exe is modified. For example: > > U:\Documents\code\test>time && tup > The current time is: 15:22:02.90 > Enter the new time: > [ tup ] [0.001s] Scanning filesystem... > [ tup ] [0.037s] Reading in new environment variables... > [ tup ] [0.039s] No Tupfiles to parse. > [ tup ] [0.039s] No files to delete. > [ tup ] [0.040s] No commands to execute. > [ tup ] [0.040s] Updated. > > U:\Documents\code\test>time && tup > The current time is: 15:22:03.83 > Enter the new time: > [ tup ] [0.002s] Scanning filesystem... > [ tup ] [0.038s] Reading in new environment variables... > [ tup ] [0.039s] No Tupfiles to parse. > [ tup ] [0.039s] No files to delete. > [ tup ] [0.040s] No commands to execute. > [ tup ] [0.041s] Updated. > > U:\Documents\code\test>time && tup > The current time is: 15:22:04.74 > Enter the new time: > [ tup ] [0.002s] Scanning filesystem... > [ tup ] [0.038s] Reading in new environment variables... > [ tup ] [0.039s] No Tupfiles to parse. > [ tup ] [0.040s] No files to delete. > [ tup ] [0.041s] No commands to execute. > [ tup ] [0.042s] Updated. > > U:\Documents\code\test>time && tup > The current time is: 15:22:05.65 > Enter the new time: > [ tup ] [0.001s] Scanning filesystem... > [ tup ] [0.037s] Reading in new environment variables... > [ tup ] [0.039s] No Tupfiles to parse. > [ tup ] [0.040s] No files to delete. > [ tup ] [0.040s] No commands to execute. > [ tup ] [0.041s] Updated. > > U:\Documents\code\test>time && tup > The current time is: 15:22:06.57 > Enter the new time: > [ tup ] [0.001s] Scanning filesystem... > tup warning: generated file 'bin\test.exe' was modified outside of tup. > This file will be overwritten on the next update, unless the rule that > creates it is also removed. > [ tup ] [0.082s] Reading in new environment variables... > [ tup ] [0.083s] No Tupfiles to parse. > [ tup ] [0.083s] No files to delete. > [ tup ] [0.085s] Executing Commands... > 1) [0.342s] cl /nologo /MT build\main.obj /Febin\test.exe > [ ] 100% > [ tup ] [0.495s] Updated. > > > > > > > On Thursday, March 16, 2017 at 12:16:16 PM UTC-4, [email protected] wrote: >> >> On Thu, Mar 16, 2017 at 11:56 AM, Thomas Costigliola <[email protected]> >> wrote: >> > I am building with Tup from the Visual Studio 2013 command prompt. I >> output >> > a DLL and an EXE and tup always thinks they were modified outside of >> Tup on >> > the next build even when they are not. It seems there was some issue >> > previously but it was supposedly fixed: >> > https://github.com/gittup/tup/issues/256 >> >> Hi Thomas, >> >> Do you have a small example you can post that reproduces the problem? >> It looks like the issue you linked to is specific to 'ar', but it >> sounds like you're just using the VS toolchain. >> >> -Mike >> > -- > -- > tup-users mailing list > email: [email protected] > unsubscribe: [email protected] > options: http://groups.google.com/group/tup-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "tup-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
