From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p2ON3JH5008892 for ; Fri, 25 Mar 2011 00:03:19 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsEAAIjMi00machzl2dsb2JhbAClXQEBAQEBCBYHOYhovBiFaQSQQQ X-IronPort-AV: E=Sophos;i="4.63,239,1299452400"; d="scan'208";a="94810236" Received: from mx2.janestreet.com (HELO nyc-dmz-mxout2.janestreet.com) ([38.105.200.115]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Mar 2011 00:03:13 +0100 Received: from [172.25.22.57] (helo=nyc-qsv-mail1.delacy.com) by nyc-dmz-mxout2.janestreet.com with esmtp (Exim 4.71) (envelope-from ) id 1Q2tYc-0008Qa-Sv for caml-list@inria.fr; Thu, 24 Mar 2011 19:03:10 -0400 Received: from nyc-qws-018.delacy.com ([172.25.140.130]) by nyc-qsv-mail1.delacy.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1Q2tYc-0000zD-RH for caml-list@inria.fr; Thu, 24 Mar 2011 19:03:10 -0400 Message-ID: <4D8BCDAE.8040906@janestreet.com> Date: Thu, 24 Mar 2011 19:03:10 -0400 From: Till Varoquaux User-Agent: Thunderbird 2.0.0.24 (X11/20101213) MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-JS-Compliance: sender=tvaroquaux recipient=caml-list (ld) Subject: [Caml-list] Core{,extended} 7.0 and support libraries now out of beta. 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