lib/Tools/ghc_setup
author wenzelm
Wed Mar 20 21:57:02 2019 +0100 (2 months ago)
changeset 69930 b5286c564861
parent 69500 db001bc11855
permissions -rwxr-xr-x
more robust reference to ghc exe (with multi-platform support);
     1 #!/usr/bin/env bash
     2 #
     3 # Author: Makarius
     4 #
     5 # DESCRIPTION: setup Glasgow Haskell Compiler via Stack
     6 
     7 set -e
     8 
     9 isabelle_stack setup
    10 isabelle_stack ghc -- --version
    11 echo -n "$(standard_path "$(isabelle_stack path --compiler-exe)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY"