mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Remove configuration flag cclazy
This commit is contained in:
9
gf.cabal
9
gf.cabal
@@ -1,5 +1,5 @@
|
||||
name: gf
|
||||
version: 3.3
|
||||
version: 3.3-darcs
|
||||
|
||||
cabal-version: >= 1.8
|
||||
build-type: Custom
|
||||
@@ -37,10 +37,6 @@ flag server
|
||||
Description: Include --server mode
|
||||
Default: True
|
||||
|
||||
flag cclazy
|
||||
Description: Use the new, lazy compute_concrete (faster than the old, strict version)
|
||||
Default: True
|
||||
|
||||
library
|
||||
build-depends: base >= 4.2 && <5,
|
||||
array,
|
||||
@@ -205,6 +201,3 @@ executable gf
|
||||
other-modules: GF.System.UseSignal
|
||||
else
|
||||
other-modules: GF.System.NoSignal
|
||||
|
||||
if flag(cclazy)
|
||||
cpp-options: -DCC_LAZY
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
module GF.Compile.Compute.Concrete(module M) where
|
||||
#ifdef CC_LAZY
|
||||
import GF.Compile.Compute.ConcreteLazy as M -- New, experimental
|
||||
#else
|
||||
import GF.Compile.Compute.ConcreteStrict as M -- Old, trusted
|
||||
#endif
|
||||
import GF.Compile.Compute.ConcreteLazy as M -- New
|
||||
--import GF.Compile.Compute.ConcreteStrict as M -- Old, inefficient
|
||||
|
||||
@@ -13,6 +13,3 @@ buildInfo =
|
||||
#ifdef SERVER_MODE
|
||||
++" server"
|
||||
#endif
|
||||
#ifdef CC_LAZY
|
||||
++ " cclazy"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user