diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-07-04 15:30:26 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-07-05 11:41:52 +0100 |
commit | 38fea119bad248be3d2eaecdc774c54c7d4d9b1f (patch) | |
tree | 671b38fa312c3efd81c33d9321ea28b7b85067cc /configure.ac | |
parent | f25c8d03ad452902d2d79a157d3331253016e9c2 (diff) | |
download | haskell-wip/hadrian-multi.tar.gz |
hadrian: Add multi:<pkg> and multi targets for starting a multi-replwip/hadrian-multi
This patch adds support to hadrian for starting a multi-repl containing
all the packages which stage0 can build. In particular, there is the new
user-facing command:
```
./hadrian/ghci-multi
```
which when executed will start a multi-repl containing the `ghc` package
and all it's dependencies.
This is implemented by two new hadrian targets:
```
./hadrian/build multi:<pkg>
```
Construct the arguments for a multi-repl session where the top-level
package is <pkg>. For example, `./hadrian/ghci-multi` is implemented
using `multi:ghc` target.
There is also the `multi` command which constructs a repl for everything
in stage0 which we can build.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e6c9ed6ec7..71b5f680cf 100644 --- a/configure.ac +++ b/configure.ac @@ -1179,7 +1179,7 @@ fi # Create the configuration for the Hadrian build system if it is present if test -e hadrian/cfg/system.config.in; then AC_CONFIG_FILES([hadrian/cfg/system.config]) - AC_CONFIG_FILES([hadrian/ghci-cabal hadrian/ghci-stack]) + AC_CONFIG_FILES([hadrian/ghci-cabal hadrian/ghci-stack hadrian/ghci-multi-cabal]) fi # We got caught by |