lib/Tools/ghc_setup
author wenzelm
Thu Nov 08 15:52:10 2018 +0100 (7 months ago)
changeset 69267 517655a528fe
parent 69242 c911716d29bb
child 69500 db001bc11855
permissions -rwxr-xr-x
always insist in specified resolver/compiler version;
wenzelm@69151
     1
#!/usr/bin/env bash
wenzelm@69151
     2
#
wenzelm@69151
     3
# Author: Makarius
wenzelm@69151
     4
#
wenzelm@69151
     5
# DESCRIPTION: setup Glasgow Haskell Compiler setup 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"