Skip to content
Browse files

sync jenkins scripts

  • Loading branch information...
1 parent 2e9698e commit 67c03d86d9ca1e0b04de77c0fbec3608b4a91720 @avsm avsm committed Oct 10, 2012
Showing with 39 additions and 5 deletions.
  1. +35 −1 jenkins/10-opam-prepare.sh
  2. +2 −2 jenkins/30-opam-packages.sh
  3. +2 −2 jenkins/31-opam-mirage-packages.sh
View
36 jenkins/10-opam-prepare.sh
@@ -1,2 +1,36 @@
#!/bin/sh
-apt-get -y install ocaml libssl-dev ocaml-compiler-libs
+BASE="ocaml ocaml-compiler-libs"
+
+# alt-ergo
+BASE="${BASE} autoconf"
+# cairo
+BASE="${BASE} libcairo2-dev"
+# dbm
+BASE="${BASE} libgdbm-dev"
+# lablgtk2
+BASE="${BASE} libgtk2.0-dev"
+# lwt-zmq
+BASE="${BASE} libzmq-dev"
+# postgresql-ocaml
+BASE="${BASE} libpq-dev"
+# camlbz2
+BASE="${BASE} libbz2-dev"
+# imagemagick
+BASE="${BASE} libgraphicsmagick1-dev libmagickcore-dev"
+# sqlite3
+BASE="${BASE} libsqlite3-dev"
+# ocaml-glpk
+BASE="${BASE} libglpk-dev"
+# lablgl
+BASE="${BASE} mesa-common-dev"
+# ocamlgsl
+BASE="${BASE} gawk"
+# ocaml-lua
+BASE="${BASE} liblua5.1-0-dev
+# ocurl
+BASE="${BASE} libcurl4-gnutls-dev"
+# planets
+BASE="${BASE} tcl8.5-dev tk8.5-dev"
+# ocaml-mysql
+BASE="${BASE} libmysqlclient-dev"
+sudo apt-get -y install ${BASE}
View
4 jenkins/30-opam-packages.sh
@@ -1,7 +1,7 @@
#!/bin/sh -ex
PREFIX=$1
OPAM=$HOME/opam-bin/$PREFIX/bin/opam
-ROOT=`echo /b/${JOB_NAME} | sed -e s,=,_,g`
+ROOT=`echo /x/${JOB_NAME} | sed -e "s,=,_,g" -e "s/,/-/g"`
rm -rf ${ROOT}
$OPAM --yes --root $ROOT init $2
if [ "${compiler}" != "system" ]; then
@@ -10,4 +10,4 @@ fi
if [ "${packages}" = "all" ]; then
packages=`$OPAM --root $ROOT list -short`
fi
-$OPAM --yes --root $ROOT install ${packages}
+$OPAM --verbose --yes --root $ROOT install ${packages}
View
4 jenkins/31-opam-mirage-packages.sh
@@ -1,7 +1,7 @@
#!/bin/sh -ex
PREFIX=$1
OPAM=$HOME/opam-bin/$PREFIX/bin/opam
-ROOT=`echo /b/${JOB_NAME} | sed -e s,=,_,g`
+ROOT=`echo /x/${JOB_NAME} | sed -e "s,=,_,g" -e "s/,/-/g"`
rm -rf ${ROOT}
$OPAM --yes --root $ROOT init .
$OPAM --yes --root $ROOT remote -add dev git://github.com/mirage/opam-repo-dev
@@ -11,4 +11,4 @@ fi
if [ "${packages}" = "all" ]; then
packages=`$OPAM --root $ROOT list -short`
fi
-$OPAM --yes --root $ROOT install ${packages}
+$OPAM --verbose --yes --root $ROOT install ${packages}

0 comments on commit 67c03d8

Please sign in to comment.
Something went wrong with that request. Please try again.