← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] SConstruct fixes. More may be needed.

 

On Tuesday 07 July 2009 23:39:49 DOLFIN wrote:
> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
>
> changeset:   6444:27b8370cf61c31e66511de5331328a4dcdfadee3
> tag:         tip
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Tue Jul 07 22:39:36 2009 +0100
> files:       SConstruct
> description:
> SConstruct fixes. More may be needed.

Using PathVariable.PathIsDirCreate for all installation directories is a more 
natural choice as SCons will issue a warning if prefix is not a directory and 
will create it if is not there. However SCons make this check during 
configure (or the old scons step). If a user does not have write access to 
the handed directory, and it is not excisting, SCons configure will then 
fail.

I think it is therefore we have chosen not to use 
PathVariable.PathIsDirCreate, but PathVariable.PathAccept instead. We have 
then manually added a makedir during install if the directory is not 
excisting. But I am not sure this is done for all installation directories.

Any comments Johannes?

Johan



>
> changeset:   6443:139dc52bdeb04b6f6d7045b7bc6cf9b1794bd3c0
> user:        Johannes Ring <johannr@xxxxxxxxx>
> date:        Tue Jul 07 23:33:16 2009 +0200
> files:       SConstruct
> description:
> Attempt to fix issue on buildbots.
>
>
> changeset:   6442:c339b97851071b119d6e558be91d4ee727110eaa
> parent:      6440:b47d4031201ddb42ce8615a2ee6b1ac0c886dd12
> parent:      6441:eb35262596a31318cbf5f6df487baf19fa83e634
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Tue Jul 07 21:46:14 2009 +0100
> files:       dolfin/fem/VariationalProblem.cpp
> description:
> merge.
>
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References