[Insight-developers] Gaps in Wrapping
Hans Johnson
hjohnson at psychiatry.uiowa.edu
Mon Jan 10 12:03:41 EST 2005
Luis,
I've got a dashboard for brains2 (see
http://developer.psychiatry.uiowa.edu/Testing/Dashboard.html) where we
want warnings to propogate from day to day, but do not want clean builds
every day. I've written a little shell script that looks through the
Build.xml files and touches all files that have had a build warning in
the last 7 days. This forces a rebuild only on the files that had
warnings.
I hope this helps.
Hans
### Touch files that previously had warnings to force them to rebuild.
for i in $( find /scratch/purify/src/brains2/${ARCH}/${ABI} -name
Build.xml -type f -mtime -7 -exec grep "<Text>" {} \; |sed
's#^.*<Text>\([^:]*\):.*#\1#g'|sort -u ); do
case "${i}" in ##Files to ignore because we are not going to fix them.
*netcdf_convenience.c)
;;
*3ddata.h)
;;
*mrilib.h)
;;
*thd_compress.h)
;;
*vecmat.h)
;;
*)
#echo "-------------------------- touch $i"
touch $i
esac
done
On Mon, 2005-01-10 at 10:18, Luis Ibanez wrote:
> Brad, Kent,
>
> The Python, Tcl and Java wrapping builds on
>
> - zion.kitware
> - terminus.kitware
>
> are not clean builds,
>
> so many of the warnings will not appear in zion
> or terminus until a change in the source code
> triggers recompilation.
>
> I may setup occasional clean builds in zion if
> that helps. It is difficult to setup nightly clean
> builds in these two machines because they are
> running about 10 different builds.
>
>
>
> Luis
>
>
>
> ------------------
> Brad King wrote:
> > Kent Williams wrote:
> >
> >> Hans Johnson has assigned me the task of fixing all of the compiler
> >> warnings like this:
> >>
> >> *Warning itk::UnaryFunctorImageFilter<itk::Image<unsigned int,
> >> 2>,itk::Image<float, 2>,itk::Functor::Cast<unsigned int, float> >
> >> *has a class hierarchy that has wrapping gaps.
> >> The class hierarchy wrapping is as follows:
> >> Not wrapped: itk::InPlaceImageFilter<(itk::Image<(unsigned
> >> int,2)>,itk::Image<(float,2)>)>
> >> Wrapped: itk::ImageToImageFilter<(itk::Image<(unsigned
> >> int,2)>,itk::Image<(float,2)>)>
> >> Wrapped: itk::ImageSource<(itk::Image<(float,2)>)>
> >> Wrapped: itk::ProcessObject
> >>
> >> The only build that is spitting these warnings is hythloth.kitware.
> >> I'd like to know is what flags to set where to get my build to emit
> >> these warning.
> >
> >
> > I don't think it uses any special flags to enable these warnings. They
> > should be part of the standard output of the wrapping process. All
> > flags for that build are in the cache included as a build note with the
> > dashboard submission:
> >
> > http://www.itk.org/Testing/Sites/hythloth.kitware/Linux-gcc-3.3/20050110-0500-Nightly/Notes.html
> >
> >
> > -Brad
> > _______________________________________________
> > Insight-developers mailing list
> > Insight-developers at itk.org
> > http://www.itk.org/mailman/listinfo/insight-developers
> >
> >
>
>
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
More information about the Insight-developers
mailing list