-
Notifications
You must be signed in to change notification settings - Fork 846
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We can now specify a specific GHC to build from source in `stack.yaml` with the following syntax: ``` compiler-build: git: GHC_GIT_REPO commit: COMMIT flavour: FLAVOUR ``` In the setup phase Stack uses Hadrian to build a GHC binary distribution with the specified flavour and installs it into STACK_ROOT/programs/ARCH/ghc-git-COMMIT-FLAVOUR. The built compiler can be used with the following configuration: ``` compiler: ghc-git-COMMIT-FLAVOUR ``` As GHC may rely on unreleased version of the global packages (e.g. Cabal), you may have to add some extra-deps as follows: ``` extra-deps: - git: GHC_GIT_REPO commit: COMMIT subdirs: - libraries/Cabal/Cabal - libraries/... ```
- Loading branch information
Showing
18 changed files
with
302 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.