[Insight-users] Size of build?
Luis Ibanez
luis.ibanez at kitware.com
Thu May 21 13:23:02 EDT 2009
Hi Johannes,
You are looking inside the ./bin directory,
therefore you are accounting only for the
final libraries and a few executables.
If you look from the top of the Binary build
then you will account as well for all the .obj
files that are generated during compilation.
The 322MB that I mentioned, including the
Python wrapping libraries, which you don't
seem to be building at this point.
Maybe we should step back and ask if you
you are concerned about the size of the
final installed ITK or about the amount of
disk space that you need to build it.
Those are two different things...
Luis
--------------------------------------------------------
On Thu, May 21, 2009 at 11:26 AM, Johannes Serup <tulsoba at gmail.com> wrote:
> Hm I just started from scratch again and now the whole
> InsightToolkit-3.12.0 dir is only 526 MB including the build and the
> bin folder.
>
> When I specify the source path to cmake I do:
>
> G:\local\InsightToolkit-3.12.0\
>
> When I specify the build dir I do:
>
> G:\local\InsightToolkit-3.12.0\build
>
> I then open the ITK.sln located in the above build dir. From visual
> studio I then choose build (F7). After this has completed I get this
> folder:
>
> G:\local\InsightToolkit-3.12.0\build\bin\Debug
>
> that contains the follwoing .exe files:
>
> itksysEncodeExecutable.exe
> itksysProcessFwd9x.exe
> itkTestDriver.exe
>
> and a lot of other files. The whole Debug dir is 247 MB.
>
> I don't see that this matches either the 2GB size (without examples
> and testing) or the 322 MB installed ITK size you mentioned.
>
>
>
> On Thu, May 21, 2009 at 3:09 PM, Luis Ibanez <luis.ibanez at kitware.com>
> wrote:
> >
> > Hi John,
> >
> >
> > The Nightly build of ITK in redwal.kitware, which is a
> > Windows 64 bits, using Visual Studio 9, is:
> >
> > 8.14 Gb
> >
> > Note that usually you don't need to buidl Examples and
> > Testing, unless you are planning to graciously contribute
> > a build to the ITK Dashboard.
> >
> > The Testing tree takes
> >
> > 6.09 Gb
> >
> >
> > this is how we get 1600 tests to run Nightly and how we
> > get 83% of code coverage.
> >
> >
> > while the Examples tree takes
> >
> > 723 Mb
> >
> > This includes abou 400 examples that make up the content
> > of the ITK Software Guide.
> >
> >
> > If you just build ITK, without Examples and Testing,
> > it should come down to about 2 Gb.
> >
> >
> > Then, if you take only what is needed, (that is, only
> > the libraries) by making an Installed ITK, you only
> > need 300Mb.
> >
> >
> > To be more precise, a fully installed ITK including
> > all libraries and even Python wrapping takes
> >
> > 322 Mb
> >
> >
> >
> > If you are building with Examples and Testing OFF, the
> > build shouldn't reach 15 Gb.
> >
> > I would suggest that you delete that binary tree and
> > start from scratch.
> >
> > Let us konw if you still find such a large build size.
> >
> > BTW: A nice tool for looking at where the memory goes
> > is the Treesize application.
> >
> >
> > http://en.wikipedia.org/wiki/TreeSize
> >
> > You may want to give it a try.
> >
> > and if you find anything anomalous,
> > please let us know.
> >
> >
> > Thanks,
> >
> >
> > Luis
> >
> >
> >
> > --------------------
> > John Drescher wrote:
> >>
> >> On Thu, May 21, 2009 at 5:28 AM, Johannes Serup <tulsoba at gmail.com>
> wrote:
> >>
> >>> I have just downloaded ITK and followed these instruction:
> >>>
> >>> http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf
> >>>
> >>> I have just build the code using MS Visual Studion 2008. The total
> >>> size 15 GB. In cmake I did turn BUILD_EXAMPLES, BUILD_SHARED_LIBS and
> >>> BUILD_TESTING off.
> >>>
> >>> Is it meant to be that large?
> >>>
> >>
> >>
> >> Under xp64 and vs2005 ITK-3.12 is 9.66 GB (10,381,442,708 bytes)
> >>
> >> That is just itk and no InsightApplications.
> >>
> >> John
> >> _____________________________________
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.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-users
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090521/d3d3abe2/attachment.htm>
More information about the Insight-users
mailing list