| author | nipkow | 
| Fri, 07 Feb 2025 21:27:11 +0100 | |
| changeset 82102 | 15261d78d7b5 | 
| parent 69930 | b5286c564861 | 
| permissions | -rwxr-xr-x | 
| 69151 | 1 | #!/usr/bin/env bash | 
| 2 | # | |
| 3 | # Author: Makarius | |
| 4 | # | |
| 69500 | 5 | # DESCRIPTION: setup Glasgow Haskell Compiler via Stack | 
| 69151 | 6 | |
| 69242 
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
 wenzelm parents: 
69159diff
changeset | 7 | set -e | 
| 
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
 wenzelm parents: 
69159diff
changeset | 8 | |
| 69267 
517655a528fe
always insist in specified resolver/compiler version;
 wenzelm parents: 
69242diff
changeset | 9 | isabelle_stack setup | 
| 
517655a528fe
always insist in specified resolver/compiler version;
 wenzelm parents: 
69242diff
changeset | 10 | isabelle_stack ghc -- --version | 
| 69930 
b5286c564861
more robust reference to ghc exe (with multi-platform support);
 wenzelm parents: 
69500diff
changeset | 11 | echo -n "$(standard_path "$(isabelle_stack path --compiler-exe)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY" |