diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-28 19:34:15 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-30 17:04:10 +0200 |
commit | 508a3a33988d2872f580d8b727036f7f443d8b6d (patch) | |
tree | aba7fa0bffc0698ad58bffa777d6a4b280be1ff5 /ghc.mk | |
parent | 018fec02a8736043e3a41dd4e9a3c4a932dfc3dc (diff) | |
download | haskell-508a3a33988d2872f580d8b727036f7f443d8b6d.tar.gz |
Build system: don't build runghc if GhcWithInterpreter=NO (#10261)
To test:
* run `make clean` in utils/runghc
* make sure inplace/bin doesn't contain runghc
* set GhcWithInterpreter=NO in build.mk
* run `make`
* note that inplace/bin doesn't contain runghc
It won't be installed either, nor will runhaskell.
Differential Revision: https://phabricator.haskell.org/D920
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -661,7 +661,11 @@ BUILD_DIRS += utils/dll-split BUILD_DIRS += utils/ghc-pwd BUILD_DIRS += utils/ghc-cabal BUILD_DIRS += utils/hpc +ifeq "$(GhcWithInterpreter)" "YES" BUILD_DIRS += utils/runghc +else ifeq "$(CLEANING)" "YES" +BUILD_DIRS += utils/runghc +endif BUILD_DIRS += ghc ifneq "$(BINDIST)" "YES" |