[Insight-developers] itkObjectFactoryTest2 and CMake 2.9

Bill Lorensen bill.lorensen at gmail.com
Wed Jan 13 11:40:58 EST 2010


Brad,

The ChangeInformation failure is definitely a dependency issue. It's
input depends on another test's output. I was going to fix it, but
there is another dependency on a large data test that I don't run.

It should be fairly easy to fix,

Bill

On Wed, Jan 13, 2010 at 11:27 AM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Just FYI, I have been running cmake 2.9 ( a version from a couple weeks
> after the 2.8 release ) on my minis. I just installed 2.8 as advised for the
> other system, since I had no reason no to be running the official release.
>
> Also this test began failing as soon as I added the ctest -j2 option:
> http://www.cdash.org/CDash/testSummary.php?project=2&name=ChangeInformationTest1&date=2010-01-13
> It's likely a simple dependency issue, but I have not looked into to find
> the problem.
> Brad
> On Jan 13, 2010, at 11:15 AM, Luis Ibanez wrote:
>
> Bill,
>
> Yeap,
> We have to look back at how to do this right in Macs.
>
>
>     Luis
>
>
> ----------------------------------------------
> On Wed, Jan 13, 2010 at 9:58 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>
> Guys,
>
> Six macs don't like the recent change. Looks like they are not loading
>
> the shared library.
>
> http://www.cdash.org/CDash/testSummary.php?project=2&name=itkObjectFactoryTest2&date=2010-01-13
>
> Bill
>
> On Wed, Jan 13, 2010 at 12:59 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>
> New failure here:
>
> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=513466
>
> On Tue, Jan 12, 2010 at 6:03 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>
> Fantastic!
>
> On Tue, Jan 12, 2010 at 5:39 PM, Luis Ibanez <luis.ibanez at kitware.com>
> wrote:
>
> Bill,
>
>
> Brad just showed me how to add the right flag to
>
> the ITK CMakeLists.txt file (the flag is for the
>
> executable that loads the shared library).
>
>
> It comes down to the following patch:
>
>
> macondo [308] cvs diff
>
> cvs diff: Diffing .
>
> Index: CMakeLists.txt
>
> ===================================================================
>
> RCS file: /cvsroot/Insight/Insight/Testing/Code/Common/CMakeLists.txt,v
>
> retrieving revision 1.249
>
> diff -r1.249 CMakeLists.txt
>
> 653a654
>
> SET_TARGET_PROPERTIES(itkCommonTests2 PROPERTIES ENABLE_EXPORTS 1)
>
> 660c661
>
> < ADD_LIBRARY(FactoryTestLib SHARED ${FactoryTest_Source})
>
> ---
>
> ADD_LIBRARY(FactoryTestLib MODULE ${FactoryTest_Source})
>
>
>
> This should work for all versions of CMake.
>
>
> I'm running an Experimental in "macondo.kitware"
>
> and if it turns out green I'll commit the patch.
>
> This should make Kevin's builds green again...
>
>
>     Luis
>
>
> -----------------------------
>
> On Tue, Jan 12, 2010 at 5:02 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>
> Sounds great. Thanks, Luis and I spent at least 3 hours apiece on this
>
> one in SLC.
>
> Bill
>
> On Tue, Jan 12, 2010 at 4:37 PM, Bill Hoffman <bill.hoffman at kitware.com>
> wrote:
>
> Kevin H. Hobbs wrote:
>
> On 01/12/2010 12:48 PM, Bill Lorensen wrote:
>
> Luis,
>
> I just built cmake2.9 and configured my linux itk build with it. Sure
>
> enough, itkObjectFactoryTest2 fails. Each hooperlab system that is
>
> failing is using ctest2.9.
>
> I'm not sure what is going on here. Perhaps you can fill Bill Hoffman
>
> in on our findings in Salt Lake. I'm going to build a cmake2.8 and see
>
> if the problem persists.
>
> Bill
>
>
> I'd be glad to run tests on the hooperlab machines if that would be
>
> helpful.
>
>
>
> We found the problem.   We are working on a fix.  The -rdynamic flag was
>
> removed from CMake.   I think the dashboard can be left on CVS CMake, it
>
> might fail one more night, but I will make sure it is fixed by tomorrow.
>
> -Bill
>
> --
>
> Bill Hoffman
>
> Kitware, Inc.
>
> 28 Corporate Drive
>
> Clifton Park, NY 12065
>
> bill.hoffman at kitware.com
>
> http://www.kitware.com
>
> 518 881-4905 (Direct)
>
> 518 371-3971 x105
>
> Fax (518) 371-4573
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
> ========================================================
>
> Bradley Lowekamp
>
> Lockheed Martin Contractor for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>


More information about the Insight-developers mailing list