From: Till Varoquaux <till@janestreet.com>
To: caml-list@inria.fr
Subject: [Caml-list] Core{,extended} 7.0 and support libraries now out of beta.
Date: Thu, 24 Mar 2011 19:03:10 -0400 [thread overview]
Message-ID: <4D8BCDAE.8040906@janestreet.com> (raw)
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
reply other threads:[~2011-03-24 23:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D8BCDAE.8040906@janestreet.com \
--to=till@janestreet.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox