lib/Tools/ghc_setup
author wenzelm
Tue, 09 Apr 2019 15:09:09 +0200
changeset 70098 956d2430cb29
parent 69930 b5286c564861
permissions -rwxr-xr-x
more robust: always (re)build platform application bundles;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup Glasgow Haskell Compiler via Stack

set -e

isabelle_stack setup
isabelle_stack ghc -- --version
echo -n "$(standard_path "$(isabelle_stack path --compiler-exe)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY"