Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (25 sloc) 428 Bytes
#!/bin/sh -ex
PREFIX=$1
OPAM=$HOME/opam-bin/$PREFIX/bin/opam
ROOT=`echo /x/${JOB_NAME} | sed -e "s,=,_,g" -e "s/,/-/g"`
rm -rf ${ROOT}
case "${compiler}" in
system4)
export PATH=/x/ocaml-4.00.1/bin:$PATH
;;
esac
export OPAMROOT=$ROOT
export OPAMYES=1
export OPAMVERBOSE=1
$OPAM init $2
$OPAM config list
case "${compiler}" in
system)
;;
system4)
;;
*)
$OPAM switch ${compiler}
;;
esac
$OPAM install ${packages}
Something went wrong with that request. Please try again.