lib/Tools/ghc_setup
author paulson <lp15@cam.ac.uk>
Thu, 18 May 2023 11:44:42 +0100
changeset 78038 2c1b01563163
parent 69930 b5286c564861
permissions -rwxr-xr-x
New material from the HOL Light metric space library, mostly about quasi components

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