rescue old Cabal which does not support bench.
This commit is contained in:
parent
e8290c2f4b
commit
66a5123f8c
@ -143,7 +143,11 @@ cabalAllBuildInfo pd = libBI ++ execBI ++ testBI ++ benchBI
|
|||||||
libBI = map P.libBuildInfo $ maybeToList $ P.library pd
|
libBI = map P.libBuildInfo $ maybeToList $ P.library pd
|
||||||
execBI = map P.buildInfo $ P.executables pd
|
execBI = map P.buildInfo $ P.executables pd
|
||||||
testBI = map P.testBuildInfo $ P.testSuites pd
|
testBI = map P.testBuildInfo $ P.testSuites pd
|
||||||
|
#if __GLASGOW_HASKELL__ >= 704
|
||||||
benchBI = map P.benchmarkBuildInfo $ P.benchmarks pd
|
benchBI = map P.benchmarkBuildInfo $ P.benchmarks pd
|
||||||
|
#else
|
||||||
|
benchBI = []
|
||||||
|
#endif
|
||||||
|
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user