Automatic Build Scripts

Revision as of 12:13, 4 June 2006 by Spooky (Talk | contribs) (Mac OSX)

This page references different build scripts that automate the process of building EiffelStudio.

Windows

Bernardo Buss created a set of scripts for the automated compilation of EiffelStudio under Windows.

Note:

  • You may need to keep "2_checkout_dev.bat" up to date by yourself according to Checking out from SVN.
  • It is possible that the batchfiles only work partial with EiffelStudio newer than version 5.7.0826 (especially parts of the compilation process may differ too much).

Update:

Linux

Bernd Schoeller has developed a build script available for download at http://se.inf.ethz.ch/people/schoeller/download/build-ec-acex

This script requires a single checkout from the SVN repository (with the EIFFEL_SVN environment variable pointing to it). It will compile the bench or the batch compiler (you need to modify the script for the second).

Gentoo

Eiffelstudio, Gobo, edoc, ewg, eiffelmedia and eclipse edt ebuilds for gentoo, can be downloaded here or from cvs:

cvs -z3 -d:pserver:anonymous@waldorf.inf.ethz.ch:/public-cvs co -deiffel-ebuilds student/eiffel-ebuilds

Installation instructions can be found here

Mac OSX

No that Mac builds are available, I guess you can use the Linux script on Mac OS, too. I prefer this more simple script though:

#!/bin/bash

cd $EIFFEL_SRC/C
make clobber
./quick_configure

cd $EIFFEL_SRC/library/event/Clib
finish_freezing -library
cd $EIFFEL_SRC/library/net/Clib
finish_freezing -library
cd $EIFFEL_SRC/library/vision2/Clib
finish_freezing -library
cd $EIFFEL_SRC/library/vision2/implementation/gtk/Clib
finish_freezing -library

cd $EIFFEL_SRC/Eiffel/Ace
ec -config ec.acex -target bench -finalize -c_compile

This basically automates the steps described here.