Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
27084 commits behind, 31 commits ahead of the upstream repository.
Herbert Valerio Riedel's avatar
Herbert Valerio Riedel authored
Now that the `libraries/dph` submodule is checked out always we need
a different way to disable building DPH to save compile-time while
developing GHC.

This commit adds a new YES/NO Make variable `BUILD_DPH` that can be used
inside mk/build.mk to control whether to build libraries/dph or not.
The default setting is `BUILD_DPH=YES` (via `mk/config.mk.in`).

This also changes `validate`'s flag `--no-dph` to explicitly disable DPH
for the current validation run.

Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>

Test Plan: successful validates with `--fast --no-dph`

Differential Revision: https://phabricator.haskell.org/D31
88d85aa6
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.