[CMake] Ninja on windows ( latest ninja from git, cmake 2.8.9 )

Malfettone, Kris Kris.Malfettone at sig.com
Wed Aug 15 14:48:58 EDT 2012


So I think I found the issue.  When the include directories are specified via the network path ( \\machine\dir\ ) vs. a drive letter ( N:\dir ) ninja always thinks they are out of date.  This is a pretty big hurdle for us since our toolchain files can be mapped to different drives for different users so our builds reference the network paths.

This seems like a bug in ninja, but it could also be a problem with the Windows APIs used to get the information.  Any thoughts?

-Kris

-----Original Message-----
From: Eric Noulard [mailto:eric.noulard at gmail.com]
Sent: Tuesday, August 14, 2012 2:53 PM
To: Malfettone, Kris
Cc: David Cole; cmake at cmake.org
Subject: Re: [CMake] Ninja on windows ( latest ninja from git, cmake 2.8.9 )

2012/8/14 Malfettone, Kris <Kris.Malfettone at sig.com>:
> So I found the "-d explain" option of ninja and it says that it thinks
> my boost libraries / other library includes are "dirty".  The only
> think I can think of here is that they are on a network drive and not
> on my local machine.  Any thoughts on that?

If those two machines have time discrepancy (no time synchronization) then the file on the network share may appear to be "in the future" of your local file, your build tree is local right?

Just try to check the date on the network file server w.r.t. to the time on your local machine.
or
copy the file locally and retry.
--
Erk
Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org

________________________________

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.


More information about the CMake mailing list