-
Notifications
You must be signed in to change notification settings - Fork 15
Compiling with flags set
Alexander Diemand edited this page Sep 26, 2019
·
4 revisions
The Backends have been moved to their own libraries and so we do not need flags to control compilation anymore.
Only a single flag is possible to set when compiling this project.
disable-aggregationdisable-ekgdisable-prometheusdisable-graylogdisable-guidisable-monitoring- disable-observables
disable-systemd
When the flag is set, the corresponding subsystem is turned off. This also has the effect that the dependencies that need to be built and included with this project are reduced, depending on the subsystem that got turned off.
cabal new-build --constraint="iohk-monitoring +disable-observables"
or set in your cabal.project
or cabal.project.local
:
constraints: iohk-monitoring +disable-observables
stack build --flag iohk-monitoring:disable-observables
or set in stack.yaml
:
flags:
iohk-monitoring:
disable-observables: true