AAST cleanup: Remove the Any node
[hiphop-php.git] / hphp / hack / ocaml_deps_data.sh
blob9ee24d4770c8fa6537229ee8bc1d0350c5bc93e7
1 #!/bin/bash
3 export OCAML_VERSION=4.09.1
4 export OCAML_VARIANT=+fp
6 export HACK_OPAM_DEPS=(
7 base.v0.14.1
8 base64.3.5.0
9 cmdliner.1.0.4
10 core_kernel.v0.14.1
11 dtoa.0.3.2
12 dune.2.7.1
13 fileutils.0.6.3
14 lru.0.3.0
15 lwt.5.4.0
16 lwt_log.1.1.1
17 lwt_ppx.2.0.2
18 merlin.3.5.0
19 ocp-indent.1.8.1
20 ounit2.2.2.4
21 pcre.7.4.6
22 ppx_deriving.5.2.1
23 ppx_gen_rec.2.0.0
24 sedlex.2.3
25 sexplib.v0.14.0
26 sqlite3.5.0.2
27 uchar.0.0.2
28 uutf.1.0.2
29 visitors.20210316
30 wtf8.1.0.2
31 yojson.1.7.0
34 export HACK_OPAM_DOWNLOAD_ONLY_DEPS=""
36 # The rest of the file exports variables based on the above configuration.
38 export HACK_OCAML_VERSION="${OCAML_VERSION}${OCAML_VARIANT}"
39 if [ -n "$OCAML_VARIANT" ]; then
40 export OCAML_BASE_NAME=ocaml-variants
41 export OCAML_COMPILER_NAME="${OCAML_BASE_NAME}.${HACK_OCAML_VERSION}"
43 # Both of these need to be cached in the mini-repo, but only one will be
44 # installed per platform.
45 export HACK_OPAM_DOWNLOAD_ONLY_DEPS=(
46 "${HACK_OPAM_DOWNLOAD_ONLY_DEPS}"
47 "ocaml-variants.${OCAML_VERSION}${OCAML_VARIANT}"
48 "ocaml-base-compiler.${OCAML_VERSION}"
50 else
51 export OCAML_BASE_NAME="ocaml-base-compiler"
52 export OCAML_COMPILER_NAME="${OCAML_BASE_NAME}.${HACK_OCAML_VERSION}"
55 UNAME=$(uname -s)
56 if [ "$UNAME" != "Linux" ]; then
57 # Some variants are not supported on other platforms, so we use the base
58 # version instead.
59 # +fp is known not to work on Macs, but other combinations have not been
60 # tested.
61 export HACK_OCAML_VERSION=${OCAML_VERSION}