← Back to team overview

dolfin team mailing list archive

Re: scons / dorsal

 

On Mon, June 8, 2009 15:55, Johannes Ring wrote:
> Hi,
>
> I have added a configuration step to the DOLFIN build process, making it a
> three step process as requested:
>
>     scons configure
>     scons
>     scons install
>
> The last two steps can still be done in one single step, but it is not
> advisable since if the compilation fails, only parts of DOLFIN will be
> installed.
>
> All options must now be specified during the configuration step, that is,
> one can no longer do things like
>
>     scons install prefix=/some/path
>
> but one rather have to run the configure step again (with the prefix
> option) and then install:
>
>     scons configure prefix=/some/path
>     scons install
>
> (The options veryClean and DESTDIR still works outside of configure.)
> The configuration options are only available in the configure step, so
>
>     scons configure --help
>
> will list these options, while
>
>     scons --help
>
> will only list the standard SCons options.
>
> I have made no changes to simula-scons, only SConstruct and the main
> SConscript are changed, however, there are plans to move more of the code
> in these two files into simula-scons later.
>
> How does this sound? I will wait with the push until we agree that this is
> the behavior we want because these changes also requires me to do some
> updates to the buildbot.

I went off and pushed the changes. Let me know if there are any problems.
I will update the buildbot now.

Johannes



References