3 export OCAML_VERSION
=4.09.1
4 export OCAML_VARIANT
=+fp
6 export HACK_OPAM_DEPS
=(
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}"
51 export OCAML_BASE_NAME
="ocaml-base-compiler"
52 export OCAML_COMPILER_NAME
="${OCAML_BASE_NAME}.${HACK_OCAML_VERSION}"
56 if [ "$UNAME" != "Linux" ]; then
57 # Some variants are not supported on other platforms, so we use the base
59 # +fp is known not to work on Macs, but other combinations have not been
61 export HACK_OCAML_VERSION
=${OCAML_VERSION}