[cig-commits] r17996 - in cs/buildbot: . pylith_deps pylith_deps/src
brad at geodynamics.org
brad at geodynamics.org
Tue Mar 1 12:24:26 PST 2011
Author: brad
Date: 2011-03-01 12:24:25 -0800 (Tue, 01 Mar 2011)
New Revision: 17996
Added:
cs/buildbot/pylith_deps/
cs/buildbot/pylith_deps/bashrc
cs/buildbot/pylith_deps/src/
cs/buildbot/pylith_deps/src/build_cppunit.sh
cs/buildbot/pylith_deps/src/build_gcc.sh
cs/buildbot/pylith_deps/src/build_mercurial.sh
cs/buildbot/pylith_deps/src/build_numpy.sh
cs/buildbot/pylith_deps/src/build_openmpi.sh
cs/buildbot/pylith_deps/src/build_pip.sh
cs/buildbot/pylith_deps/src/build_proj.sh
cs/buildbot/pylith_deps/src/build_python.sh
cs/buildbot/pylith_deps/src/build_setuptools.sh
cs/buildbot/pylith_deps/src/build_swig.sh
Log:
Imported pylith_deps.
Added: cs/buildbot/pylith_deps/bashrc
===================================================================
--- cs/buildbot/pylith_deps/bashrc (rev 0)
+++ cs/buildbot/pylith_deps/bashrc 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,14 @@
+export BUILDBOT=pylith_linux_x86_64_binbot
+export PYTHON_VERSION=2.6
+
+PYLITHDEPS_DIR=${HOME}/pylith_deps/tools
+PATH=${PYLITHDEPS_DIR}/bin:${PATH}
+export LD_LIBRARY_PATH=${PYLITHDEPS_DIR}/lib
+export PYTHONPATH=${PYLITHDEPS_DIR}/lib/python${PYTHON_VERSION}/site-packages
+unset PYLITHDEPS_DIR
+
+BUILDBOT_INSTALL=${HOME}/install/${BUILDBOT}
+PATH=${BUILDBOT_INSTALL}/bin:${PATH}
+export LD_LIBRARY_PATH=${BUILDBOT_INSTALL}/lib
+export PYTHONPATH=${BUILDBOT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+unset BUILDBOT_INSTALL
Added: cs/buildbot/pylith_deps/src/build_cppunit.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_cppunit.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_cppunit.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,22 @@
+VER=1.12.1
+
+if [ ! -f cppunit-$VER.tar.gz ]; then
+ echo "Downloading cppunit-$VER"
+ wget http://downloads.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz
+ if [ ! -f cppunit-$VER.tar.gz ]; then
+ echo "Downloading cppunit-$VER FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting tarball..."
+tar -zxf cppunit-$VER.tar.gz
+
+mkdir cppunit-$VER-build
+cd cppunit-$VER-build
+../cppunit-$VER/configure --prefix=${HOME}/${BUILDBOT}/tools
+
+make -j 4
+
+make install
+
Added: cs/buildbot/pylith_deps/src/build_gcc.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_gcc.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_gcc.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,48 @@
+if [ ! -f gcc-4.5.2.tar.bz2 ]; then
+ echo "Downloading gcc-4.5.2."
+ wget http://mirrors.kernel.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2
+ if [ ! -f gcc-4.5.2.tar.bz2 ]; then
+ echo "Downloading gcc-4.5.2 FAILED"
+ exit -1
+ fi
+fi
+if [ ! -f mpc-0.8.2.tar.gz ]; then
+ echo "Downloading mpc-0.8.2"
+ wget http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz
+ if [ ! -f gcc-4.5.2.tar.bz2 ]; then
+ echo "Downloading mpc-0.8.2 FAILED"
+ exit -1
+ fi
+fi
+if [ ! -f gmp-4.3.2.tar.gz ]; then
+ echo "Downloading gmp-4.3.2.tar.gz"
+ wget ftp://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.gz
+ if [ ! -f gcc-4.5.2.tar.bz2 ]; then
+ echo "Downloading gmp-4.3.2 FAILED"
+ exit -1
+ fi
+fi
+
+if [ ! -f mpfr-2.4.2.tar.bz2 ]; then
+ echo "Must get mpfr-2.4.2.tar.bz2 from another buildbot."
+ exit -1
+fi
+
+echo "Extracting tarballs..."
+tar -jxf gcc-4.5.2.tar.bz2
+cd gcc-4.5.2
+tar -zxf ../gmp-4.3.2.tar.gz
+ln -sf gmp-4.3.2/ gmp
+tar -zxf ../mpc-0.8.2.tar.gz
+ln -sf mpc-0.8.2/ mpc
+tar -jxf ../mpfr-2.4.2.tar.bz2
+ln -sf mpfr-2.4.2/ mpfr
+
+cd ..
+mkdir gcc-4.5.2-build
+cd gcc-4.5.2-build
+../gcc-4.5.2/configure --prefix=$HOME/install/${BUILDBOT} --enable-languages=c,c++,fortran
+make -j 4
+
+make install
+
Added: cs/buildbot/pylith_deps/src/build_mercurial.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_mercurial.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_mercurial.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1 @@
+pip install mercurial --install-option="--prefix=$HOME/$BUILDBOT/tools"
Added: cs/buildbot/pylith_deps/src/build_numpy.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_numpy.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_numpy.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1 @@
+pip install numpy
Added: cs/buildbot/pylith_deps/src/build_openmpi.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_openmpi.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_openmpi.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,22 @@
+VER=1.4.3
+
+if [ ! -f openmpi-$VER.tar.gz ]; then
+ echo "Downloading openmpi $VER"
+ wget http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.3.tar.gz
+ if [ ! -f openmpi-$VER.tar.gz ]; then
+ echo "Downloading openmpi-$VER FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting tarball..."
+tar -zxf openmpi-$VER.tar.gz
+
+mkdir openmpi-$VER-build
+cd openmpi-$VER-build
+../openmpi-$VER/configure --prefix=${HOME}/install/${BUILDBOT}
+
+make -j 4
+
+make install
+
Added: cs/buildbot/pylith_deps/src/build_pip.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_pip.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_pip.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,17 @@
+VER=0.8.2
+
+if [ ! -f pip-$VER.tar.gz ]; then
+ echo "Downloading pip-$VER"
+ wget http://pypi.python.org/packages/source/p/pip/pip-$VER.tar.gz#md5=df1eca0abe7643d92b5222240bed15f6
+ if [ ! -f pip-$VER.tar.gz ]; then
+ echo "Downloading pip-$VER FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting tarball..."
+tar -zxf pip-$VER.tar.gz
+
+cd pip-$VER
+mkdir -p ${HOME}/${BUILDBOT}/tools/lib/python${PYTHON_VERSION}/site-packages
+python setup.py install --prefix=${HOME}/${BUILDBOT}/tools
Added: cs/buildbot/pylith_deps/src/build_proj.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_proj.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_proj.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,36 @@
+VER=4.7.0
+
+if [ ! -f proj-$VER.tar.gz ]; then
+ echo "Downloading proj-$VER"
+ wget http://download.osgeo.org/proj/proj-4.7.0.tar.gz
+ if [ ! -f proj-$VER.tar.gz ]; then
+ echo "Downloading proj-$VER FAILED"
+ exit -1
+ fi
+fi
+
+if [ ! -f proj-datumgrid-1.5.zip ]; then
+ echo "Downloading proj-datumgrid-1.5"
+ wget http://download.osgeo.org/proj/proj-datumgrid-1.5.zip
+ if [ ! -f proj-datumgrid-1.5.zip ]; then
+ echo "Downloading proj-datumgrid-1.5 FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting files..."
+tar -zxf proj-$VER.tar.gz
+#cd proj-$VER/nad
+#unzip ../../proj-datumgrid-1.5.zip
+#cd ../../
+
+mkdir -p proj-$VER-build/nad
+cd proj-$VER-build/nad
+unzip ../../proj-datumgrid-1.5.zip
+cd ..
+../proj-$VER/configure --prefix=${HOME}/install/${BUILDBOT}
+
+make -j 4
+
+make install
+
Added: cs/buildbot/pylith_deps/src/build_python.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_python.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_python.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,22 @@
+VER=2.6.6
+
+if [ ! -f Python-$VER.tgz ]; then
+ echo "Downloading Python $VER"
+ wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz
+ if [ ! -f Python-$VER.tgz ]; then
+ echo "Downloading Python-$VER FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting tarball..."
+tar -zxf Python-$VER.tgz
+
+mkdir Python-$VER-build
+cd Python-$VER-build
+../Python-$VER/configure --prefix=${HOME}/install/${BUILDBOT}
+
+make -j 4
+
+make install
+
Added: cs/buildbot/pylith_deps/src/build_setuptools.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_setuptools.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_setuptools.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,16 @@
+VER=0.6c11
+
+if [ ! -f setuptools-$VER.tar.gz ]; then
+ echo "Downloading setuptools-$VER.tar.gz"
+ wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e
+ if [ ! -f setuptools-$VER.tar.gz ]; then
+ echo "Downloading setuptools-$VER FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting tarball..."
+tar -zxf setuptools-$VER.tar.gz
+
+cd setuptools-$VER
+python setup.py install
Added: cs/buildbot/pylith_deps/src/build_swig.sh
===================================================================
--- cs/buildbot/pylith_deps/src/build_swig.sh (rev 0)
+++ cs/buildbot/pylith_deps/src/build_swig.sh 2011-03-01 20:24:25 UTC (rev 17996)
@@ -0,0 +1,22 @@
+VER=2.0.2
+
+if [ ! -f swig-$VER.tar.gz ]; then
+ echo "Downloading swig-$VER"
+ wget http://downloads.sourceforge.net/project/swig/swig/swig-2.0.2/swig-2.0.2.tar.gz
+ if [ ! -f swig-$VER.tar.gz ]; then
+ echo "Downloading swig-$VER FAILED"
+ exit -1
+ fi
+fi
+
+echo "Extracting tarball..."
+tar -zxf swig-$VER.tar.gz
+
+mkdir swig-$VER-build
+cd swig-$VER-build
+../swig-$VER/configure --prefix=${HOME}/${BUILDBOT}/tools
+
+make -j 4
+
+make install
+
More information about the CIG-COMMITS
mailing list