Commit 911af4f4 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Introduce the NO_PHYLO_DEBUG_LOGS flag

parent 4b742e1f
Pipeline #5550 passed with stages
in 126 minutes and 23 seconds
...@@ -49,6 +49,13 @@ flag disable-db-obfuscation-executable ...@@ -49,6 +49,13 @@ flag disable-db-obfuscation-executable
default: False default: False
manual: True manual: True
-- When enabled, it suppresses at compile time the
-- debug output for the phylo code, so that it doesn't
-- hinder its performance.
flag no-phylo-debug-logs
default: False
manual: True
library library
exposed-modules: exposed-modules:
Gargantext Gargantext
...@@ -402,6 +409,8 @@ library ...@@ -402,6 +409,8 @@ library
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-signatures -Wunused-binds -Wunused-imports -Werror -freduction-depth=300 -fprint-potential-instances ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-signatures -Wunused-binds -Wunused-imports -Werror -freduction-depth=300 -fprint-potential-instances
if flag(test-crypto) if flag(test-crypto)
cpp-options: -DTEST_CRYPTO cpp-options: -DTEST_CRYPTO
if flag(no-phylo-debug-logs)
cpp-options: -DNO_PHYLO_DEBUG_LOGS
build-depends: build-depends:
HSvm ^>= 0.1.1.3.22 HSvm ^>= 0.1.1.3.22
, KMP ^>= 0.2.0.0 , KMP ^>= 0.2.0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment