Remove configuration flag cclazy

This commit is contained in:
hallgren
2011-11-01 13:45:12 +00:00
parent 9ebb9c98b8
commit f8665c7213
3 changed files with 3 additions and 17 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -13,6 +13,3 @@ buildInfo =
#ifdef SERVER_MODE
++" server"
#endif
#ifdef CC_LAZY
++ " cclazy"
#endif