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