From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p2PIFmRp030039 for ; Fri, 25 Mar 2011 19:15:48 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmcCAJHajE3RVaE2kGdsb2JhbACYMIY5AYYYVwgUAQEBAQkJDQcUBCGITRugD4pUCoIXhTMviFwBAQMFhWQEgXqKe4QihGc6KA X-IronPort-AV: E=Sophos;i="4.63,244,1299452400"; d="scan'208";a="91144855" Received: from mail-fx0-f54.google.com ([209.85.161.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 25 Mar 2011 19:15:42 +0100 Received: by fxm11 with SMTP id 11so2187729fxm.27 for ; Fri, 25 Mar 2011 11:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=UpDbJKB8dOFzsP34pZEyryblAnBP452uzmlf2kol6Wc=; b=T0juAuc9ioICA2D0avjUP1eY7PsUhffGDchGjO2wh8T5lGaVKewab5+kweZH29sAwu sq8KMlu/aVOa9ggAUdUH3rmAnByOVAS+fV75o3kxbtyAbBtFZhejERGjCsqtk6bsXZlv B8Ti18IMcyXjcI983Nz1TvJspfKgOYmh7SnWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=EQSS7dmLP3jxgvAb+cJWY4jFWFqe44w64P4Em3a/8gsngvOLMwx2dIlXgi3/E8HW8Z HDOHEa5Lk21zVXvVNWz2VGC8Zqd5R/rIX85XbhqrszauWiZZZyDBBtwBRCgM9/Ewo64k hYkykiCZ7/4cvXwfWh21RWr6NxtE5nj0kzYHI= MIME-Version: 1.0 Received: by 10.223.36.1 with SMTP id r1mr1255390fad.19.1301076907228; Fri, 25 Mar 2011 11:15:07 -0700 (PDT) Received: by 10.223.157.131 with HTTP; Fri, 25 Mar 2011 11:15:07 -0700 (PDT) Reply-To: yminsky@gmail.com Date: Fri, 25 Mar 2011 14:15:07 -0400 Message-ID: From: Yaron Minsky To: Till Varoquaux Cc: caml-list@inria.fr Content-Type: multipart/alternative; boundary=001517447aa4e1805f049f5292ad Subject: Re: [Caml-list] Core{,extended} 0.7.0 and support libraries now out of beta. --001517447aa4e1805f049f5292ad Content-Type: text/plain; charset=ISO-8859-1 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 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 > > --001517447aa4e1805f049f5292ad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Small brain-o: we meant 0.7.0, not 7.0.=A0 We haven't made quite that m= uch 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 a= nnounce the release of core 7.0. This is the first non beta release that co= mpiles 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 th= e 7.0~beta1 release. Unlike the beta, this release also compiles on OSx.

all the packages are available on:
http://www.ja= nestreet.com/ocaml

One notable change is that the signature of some of the functions in type-c= onv has been changed a little (they don't take a location argument anym= ore when they can infer from another one of their arguments). This is more = consistent with the camlp4 library and will often encourage syntax extensio= n writers to have more precise error positions in their generated code whil= st writing more readable code. The existing extensions that use type-conv m= ight need to be ported; this should be a very easy task. If you have any qu= estions 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=3D"http://www.janestreet.com/ocaml"

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

#Call this script with TEST=3Dyes if you wan to test compilation and linkin= g
#but not to really install pakages on your machine...
if [[ "${TEST:-no}" =3D "yes" ]]; then
=A0dst_dir=3D"$MY_TMP/dst"
=A0mkdir -p "$dst_dir"
=A0ldconf=3D"$dst_dir/ld.conf"
=A0cat "$(ocamlfind -printconf ldconf)" =A0> "$ldconf&quo= t;
=A0export OCAMLFIND_DESTDIR=3D"$dst_dir"
=A0export OCAMLFIND_METADIR=3D"$dst_dir"
=A0export OCAMLPATH=3D"$dst_dir"
=A0export OCAMLFIND_LDCONF=3D"$ldconf"
fi

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

function dle () {
=A0url=3D"$1"
=A0arch=3D"${url##*/}"
=A0dl=3D"$MY_TMP/${arch}"
=A0WD=3D"$MY_TMP/${arch}.build"
=A0rm -rf "$WD"
=A0mkdir -p "$WD"
=A0case "${url}" in
=A0 =A0 http*)
=A0 =A0 =A0 =A0 if [[ "$DL_METHOD" =3D "curl" ]]; then=
=A0 =A0 =A0 =A0 =A0 =A0 curl -L "$url" -o "$dl"
=A0 =A0 =A0 =A0 else
=A0 =A0 =A0 =A0 =A0 =A0 wget "$url" -O "$dl"
=A0 =A0 =A0 =A0 fi;;
=A0 =A0 *) cp "$url" "$dl";;
=A0esac
=A0tar -xvf "$dl" -C "$WD"
=A0rm "$dl"
=A0FILE_COUNT=3D`ls "$WD"|wc -l|sed -e 's| *||g'`
=A0if [[ "$FILE_COUNT" !=3D "1" ]]; then
=A0 =A0 echo "FILE_COUNT on $(basename "$arch") is $FILE_CO= UNT" >&2
=A0 =A0 exit 1;
=A0fi;
=A0pushd "$WD"/* ;

=A0if [[ -f configure ]]; then
=A0 =A0chmod +x configure
=A0 ./configure
=A0fi

=A0#Build script
=A0if [[ -f setup.ml ]]; = then
=A0 =A0 ocaml setup.ml -= build -classic-display
=A0else
=A0 =A0 make
=A0fi
=A0make install
=A0popd
}

dle 'http://forge.ocamlcore.org/frs/download.php/= 495/ounit-1.1.0.tar.gz'
dle 'https://l= aunchpad.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/releas= e-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.g= z sexplib-5.2.1.tar.gz core-0.7.0.tar.gz core_extended-0.7.0.tar.gz; do
=A0dle "$PKG_ROOT/$i"
done



--
Caml-list mailing list. =A0Subscription 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


--001517447aa4e1805f049f5292ad--