lib/Tools/ghc_setup
author wenzelm
Sat Dec 22 17:02:29 2018 +0100 (7 months ago)
changeset 69500 db001bc11855
parent 69267 517655a528fe
child 69930 b5286c564861
permissions -rwxr-xr-x
tuned messages;
wenzelm@69151
     1
#!/usr/bin/env bash
wenzelm@69151
     2
#
wenzelm@69151
     3
# Author: Makarius
wenzelm@69151
     4
#
wenzelm@69500
     5
# DESCRIPTION: setup Glasgow Haskell Compiler via Stack
wenzelm@69151
     6
wenzelm@69242
     7
set -e
wenzelm@69242
     8
wenzelm@69267
     9
isabelle_stack setup
wenzelm@69267
    10
isabelle_stack ghc -- --version
wenzelm@69242
    11
echo -n "$(standard_path "$(isabelle_stack path --programs)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_PROGRAMS"