lib/Tools/ghc_setup
author paulson <lp15@cam.ac.uk>
Fri, 28 Jan 2022 16:15:28 +0000
changeset 75013 ccf203c9b2db
parent 69930 b5286c564861
permissions -rwxr-xr-x
Deletion of a duplicate proof

#!/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"