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

View File

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

View File

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