Small brain-o: we meant 0.7.0, not 7.0.  We haven't made quite that much progress since the release of 0.6.0!

y

On Thu, Mar 24, 2011 at 7:03 PM, Till Varoquaux <till@janestreet.com> wrote:
We are proud to announce the release of core 7.0. This is the first non beta release that compiles on ocaml 3.12 and also the first to be packaged with oasis. The code has been battle tested a bit more and should be more stable/better than the 7.0~beta1 release. Unlike the beta, this release also compiles on OSx.

all the packages are available on:
http://www.janestreet.com/ocaml

One notable change is that the signature of some of the functions in type-conv has been changed a little (they don't take a location argument anymore when they can infer from another one of their arguments). This is more consistent with the camlp4 library and will often encourage syntax extension writers to have more precise error positions in their generated code whilst writing more readable code. The existing extensions that use type-conv might need to be ported; this should be a very easy task. If you have any questions please reply to this mail or write to opensource@janestreet.com

Till

P.S.: Here's a small script that was used internally to get/compile all the packages.

------------------------------------------------------------------------------

#!/bin/bash
set -e -u -o pipefail

PKG_ROOT="http://www.janestreet.com/ocaml"

if [[ "${RUN_IN:-notset}" = "notset" ]]; then
 MY_TMP="$(mktemp -d '/tmp/get_jsc_package.XXXXX')"
 trap "{ rm -rf ${MY_TMP} ; exit 0; }" EXIT
else
 MY_TMP="$RUN_IN"
fi

#Call this script with TEST=yes if you wan to test compilation and linking
#but not to really install pakages on your machine...
if [[ "${TEST:-no}" = "yes" ]]; then
 dst_dir="$MY_TMP/dst"
 mkdir -p "$dst_dir"
 ldconf="$dst_dir/ld.conf"
 cat "$(ocamlfind -printconf ldconf)"  > "$ldconf"
 export OCAMLFIND_DESTDIR="$dst_dir"
 export OCAMLFIND_METADIR="$dst_dir"
 export OCAMLPATH="$dst_dir"
 export OCAMLFIND_LDCONF="$ldconf"
fi

if which wget > /dev/null; then
  DL_METHOD="wget"
else
  DL_METHOD="curl"
fi

function dle () {
 url="$1"
 arch="${url##*/}"
 dl="$MY_TMP/${arch}"
 WD="$MY_TMP/${arch}.build"
 rm -rf "$WD"
 mkdir -p "$WD"
 case "${url}" in
    http*)
        if [[ "$DL_METHOD" = "curl" ]]; then
            curl -L "$url" -o "$dl"
        else
            wget "$url" -O "$dl"
        fi;;
    *) cp "$url" "$dl";;
 esac
 tar -xvf "$dl" -C "$WD"
 rm "$dl"
 FILE_COUNT=`ls "$WD"|wc -l|sed -e 's| *||g'`
 if [[ "$FILE_COUNT" != "1" ]]; then
    echo "FILE_COUNT on $(basename "$arch") is $FILE_COUNT" >&2
    exit 1;
 fi;
 pushd "$WD"/* ;

 if [[ -f configure ]]; then
   chmod +x configure
  ./configure
 fi

 #Build script
 if [[ -f setup.ml ]]; then
    ocaml setup.ml -build -classic-display
 else
    make
 fi
 make install
 popd
}

dle 'http://forge.ocamlcore.org/frs/download.php/495/ounit-1.1.0.tar.gz'
dle 'https://launchpad.net/ubuntu/lucid/+source/ocaml-res/3.2.0-2build1/+files/ocaml-res_3.2.0.orig.tar.gz'
#dle 'http://hg.ocaml.info/release/res/archive/release-3.2.0.tar.bz2'
for i in type-conv-2.3.0.tar.gz bin_prot-1.3.1.tar.gz fieldslib-0.1.2.tar.gz sexplib-5.2.1.tar.gz core-0.7.0.tar.gz core_extended-0.7.0.tar.gz; do
 dle "$PKG_ROOT/$i"
done



--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs