[Insight-developers] infinite loop in cmake

Lorensen, William E (CRD) lorensen@crd.ge.com
Thu, 10 Jan 2002 14:10:28 -0500


I have updated to today's cmake and things seem to be working. We need to decide what to do for the
beta. What version of cmake should we recommend? Obviously, the one I was using from December is
broken.

I recall that Luis made recent changes that required a cmake update. I think I updated then so the
nightlies that we build would work.

Someone (Kitware?) should start doing nigthlies with the recommended cmake version to make sure the
system builds as advertised.

Bill


-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
Sent: Thursday, January 10, 2002 1:25 PM
To: Lorensen, William E (CRD); 'Luis Ibanez'
Cc: insight-Developers
Subject: RE: [Insight-developers] infinite loop in cmake


If this happens again, before you remove anything, can we try to figure out
what exactly causes the problem?

I am suspecting a bad clock on the machine, but I am not able to reproduce
the problem so that I can debug it.

The makefiles depend on the CMakeCache file, so if it changes the makefiles are
re-generated.   However, none of this should be infinite.  However, I think if the
makefile is re-generated on gnu make it will reload it and try again, which could
cause the loop.   Perhaps there is some way to disable that feature in gmake.

So, if anyone sees this problem, let me know so we can debug it.

-Bill


At 12:47 PM 1/10/2002 -0500, Lorensen, William E (CRD) wrote:
>Looks like something incompatible in my CMakeCache.
>
>I did a fresh checkout.
>I blew away my build directory (except for my cache)
>I ran cmake
>I ran gmake... to inifinity and beyond
>
>Then I removed my CMakeCache file.
>I ran cmake
>I ran gmake... all is well.
>
>Now I'm recreating my CMakeCache one feature at a time...
>
>-----Original Message-----
>From: Luis Ibanez [mailto:ibanez@choroid.cs.unc.edu]
>Sent: Thursday, January 10, 2002 12:41 PM
>To: Lorensen, William E (CRD)
>Cc: insight-Developers
>Subject: [Insight-developers] infinite loop in cmake
>
>
>
>Was it an update of CMake ?
>
>The update from today's ITK is working for me 
>but I haven't updated CMake today
>
>
>  Luis
>
>==========
>
>> Folks,
>> I did an Update an hour or so ago, reran cmake and the gmake.
>>
>> The gmake is running though the dependency build cycle over and over.
>>
>> Is it me or recent changes?
>>
>> Bill
>
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers