This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Running gump
- From: Anthony Green <green at redhat dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 28 Jan 2005 06:00:24 -0800
- Subject: Running gump
- Organization: Red Hat, Inc.
gump <http://gump.apache.org/index.html> is a tool for building free
java software for purposes of integration testing. It currently tries
to download and build 812 packages.
Last night I wrote a simple cron job script (attached) that:
1. builds FSF HEAD gcj
2. builds ecj from eclipse.org cvs
3. builds java-gcj-compat from cvs
4. runs gump with the above
Only 60 packages built on the first go. I think there are some very
simple things preventing others to build.
Unfortunately, I don't seem to have an option to conveniently host
browsable logs, since they are so big. I've temporarily placed a
compressed archive here for the curious:
http://people.redhat.com/green/log.tar.bz2
I'll figure out how to host this properly (maybe gcc.gnu.org?). And my
cron job is already set to go daily. Any suggestions on tweaking the
script are welcome.
AG
#!/bin/sh
cd /home/green/gump
export GUMP_HOME=/home/green/gump/gump
export JAVA_HOME=/home/green/gump/java
rm -rf $JAVA_HOME gcc ecj java-gcj-compat
mkdir $JAVA_HOME
export PATH=$JAVA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$JAVA_HOME/lib
export GCJ_PROPERTIES="gnu.gcj.precompiled.db.path=$JAVA_HOME/lib/jhbuild.gcjdb gnu.gcj.runtime.VMClassLoader.library_control=never"
# --- build gcc ---------------------------------------------------------
mkdir gcc
cd gcc
cvs -z9 -d:pserver:anonymous@gcc.gnu.org:/cvs/gcc co gcc
mkdir b
cd b
../gcc/configure --prefix=$JAVA_HOME --enable-languages=c,c++,java
make && make install
cd ../..
# --- build ecj ---------------------------------------------------------
mkdir ecj
cd ecj
cvs -z9 -d:pserver:anonymous@sources.redhat.com:/cvs/rhug co ecj-for-jhbuild
cd ecj-for-jhbuild
./configure --prefix=$JAVA_HOME
make && make install
cd ../..
mkdir -p $JAVA_HOME/share/java/ext
cp $JAVA_HOME/share/java/ecj.jar $JAVA_HOME/share/java/ext/ecj.jar
# --- build java-gcj-compat ---------------------------------------------
mkdir java-gcj-compat
cd java-gcj-compat
cvs -z9 -d:pserver:anonymous@sources.redhat.com:/cvs/rhug co java-gcj-compat
cd java-gcj-compat
./autogen.sh --prefix=$JAVA_HOME
make && make install
cd ../..
# --- run gump ----------------------------------------------------------
cd gump
./gump run