[Insight-developers] Remove Testing/Data submodule, require CMake 2.8.5 on Windows

Bill Lorensen bill.lorensen at gmail.com
Fri Sep 23 11:35:34 EDT 2011


Brad,

I agree that we should start requiring 2.8.5. This also fixes a number
of other issues.

Bill

On Fri, Sep 23, 2011 at 10:56 AM, Brad King <brad.king at kitware.com> wrote:
> Hi Folks,
>
> I'm preparing to remove the Testing/Data submodule and replace it with
> a real subdirectory full of ExternalData content links.  My progress
> reports are going here:
>
>  https://itk.icts.uiowa.edu/jira/browse/ITK-2673
>
> I temporarily published a topic branch for this change here:
>
>  https://github.com/bradking/ITK/branches/convert-TestingData
>
> There are two issues that must be resolved before we can merge this change
> and finally drop use of submodules from ITK:
>
> (1) Dashboard submissions must be updated to the new itk_common.cmake
> as I requested here:
>
>  http://www.itk.org/mailman/private/insight-developers/2011-September/020435.html
>
> As of now only a few machines have been updated.
>
> (2) There are many duplicate content links in the new tree because there
> were many duplicate data files in Testing/Data.  These duplicates lead
> to failures in parallel builds due to a bug in CMake's string(RANDOM)
> command in CMake < 2.8.5.  Until now the only workaround has been to
> avoid use of duplicate content links.  I propose instead to use a
> workaround that reads /dev/urandom to get random data:
>
>  http://review.source.kitware.com/#change,2849
>
> which works on all non-Windows platforms.  The only drawback is that we
> will have to start requiring CMake 2.8.5 on Windows.  The benefit is that
> we can get rid of the Testing/Data submodule and not have to make DATA{}
> references less readable by artificially combining duplicate objects.
>
> Comments?
> -Brad
> _______________________________________________
> 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
>


More information about the Insight-developers mailing list