[Insight-developers] Sharing data among several builds ?
Bill Lorensen
bill.lorensen at gmail.com
Mon Sep 26 11:37:41 EDT 2011
Brad,
I just updated my 4 non-dashboard ITK builds to use an external data
object store.
1) I created a directory and set the ExternalData_OBJECT_STORES to point to it.
2) I blew away the ExternalData in each of the build trees.
3) In each build tree I did
make rebuild_cache
make ITKData
Everything worked great!
Thanks,
Bill
On Mon, Sep 26, 2011 at 10:19 AM, Arnaud Gelas
<arnaud_gelas at hms.harvard.edu> wrote:
> On 09/26/2011 10:02 AM, Brad King wrote:
>>
>> On 9/26/2011 9:39 AM, Arnaud Gelas wrote:
>>>
>>> Is it now possible to use a same directory for the data for different
>>> nightly builds?
>>> If yes, how to proceed?
>>
>> Yes. I also updated the itk_common.cmake and itkmodular_common.cmake
>> dashboard scripts to do this automatically for dashboard builds. That
>> is why I asked everyone to update their scripts last week (though not
>> all machines have been updated yet AFAICT). Just pull the latest changes
>> from the ITK.git "dashboard" branch into your local scripts directory.
>>
>> After that a single directory named "ExternalData" will appear next to
>> your source directories. It will persist across multiple nights so you
>> don't end up downloading the same objects over and over. This is safe
>> because the object content is stateless and objects are created
>> atomically.
>>
>> It will also work for personal development builds. There is an advanced
>> cache entry named ExternalData_OBJECT_STORES. Just point it at some
>> directory outside your ITK build trees somewhere on your disk. Point
>> all your build trees to the same location. They will all share objects
>> in a local repository at that location.
>>
>> -Brad
>
> Sounds cool !!!
>
> Thanks,
> Arnaud
> _______________________________________________
> 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