lib/Tools/ghc_setup
author Fabian Huch <huch@in.tum.de>
Tue, 10 Oct 2023 12:57:01 +0200
changeset 78746 a748a244a028
parent 69930 b5286c564861
permissions -rwxr-xr-x
add component build tool for hugo from afp-devel;

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