← Back to team overview

syfi team mailing list archive

Re: SCons based build-system for SyFi

 

On Thu, September 11, 2008 20:21, kent-and@xxxxxxxxx wrote:
>> Hi,
>>
>> For some time ago Kent asked me to switch the build-system for SyFi from
>> autotools to a SCons based build-system (as we did for DOLFIN earlier
>> this
>> year). Finally, I have something that works for me and that I think is
>> ready for testing by others.
>>
>> To make the transition easier for me, I took the freedom to restructure
>> the folders and moving things around a bit. If you don't like it, feel
>> free to do it your way or tell me and I will try to make some changes.
>>
>> If you would like to test, here is what you got to do:
>>
>> 1. Clone syfi-scons from the repository located at
>> http://www.fenics.org/hg/dev/syfi-scons. This will create a new folder
>> syfi-scons. Create an environment variable SYFIUPDATES that points to
>> this
>> folder.
>>
>> 2. Clone a fresh copy of the SyFi hg repository and move into the newly
>> created folder. Copy the $SYFIUPDATES/syfi_reorganizer.sh script into
>> this
>> folder and execute it.
>>
>> 3. Run 'scons' to compile and 'scons install prefix=<some_prefix>' to
>> install (you will need the latest simula-scons in PYTHONPATH).
>>
>> Here is an example that works for me:
>>
>> cd /tmp
>> mkdir src
>> cd src
>> hg clone http://www.fenics.org/hg/dev/syfi-scons
>> export SYFIUPDATES=`pwd`/syfi-scons
>> svn co https://svn.simula.no:40081/int/sc/simula-scons/simula_scons
>> export PYTHONPATH=`pwd`:$PYTHONPATH
>> hg clone http://www.fenics.org/hg/syfi
>> cd syfi
>> cp $SYFIUPDATES/syfi_reorganizer.sh .
>> ./syfi_reorganizer.sh
>> scons
>> scons install prefix=`pwd`/local
>> scons enableTests=1
>> scons enableDocs=1
>>
>> Note: I take no responsibility for any loss of data, so please back up
>> your data before running the syfi_reorganizer.sh script.
>>
>> Any comments or suggestions are welcome.
>>
>> Johannes
>>
>>
>>
>
> We don't need mpi.

Okay, I'll remove the option.

Johannes



References