3 export OCAML_VERSION
="4.12.1+options"
5 export HACK_OPAM_DEPS
=(
39 # The rest of the file exports variables based on the above configuration.
41 export HACK_OCAML_VERSION
="${OCAML_VERSION}"
42 export OCAML_BASE_NAME
=ocaml-variants
43 export OCAML_COMPILER_NAME
="${OCAML_BASE_NAME}.${HACK_OCAML_VERSION}"
46 if [ "$UNAME" != "Linux" ]; then
47 # Some variants are not supported on other platforms, so we use the base
49 # +fp is known not to work on Macs, but other combinations have not been
51 echo 'Non linux platform detected, skipping +fp'
53 HACK_OPAM_DEPS
+=(ocaml-option-fp
)