Remove the EKG build flag, since Gentoo for some reason decided to enable this flag, depsite it not being intended for production use and so enabled by default.
This commit is contained in:
parent
6edb485ef1
commit
8b36d54319
5 changed files with 15 additions and 21 deletions
|
@ -78,10 +78,6 @@ buildFlags = filter (not . null)
|
|||
#endif
|
||||
#ifdef WITH_MAGICMIME
|
||||
, "MagicMime"
|
||||
#endif
|
||||
#ifdef WITH_EKG
|
||||
#warning Building with EKG. This build of git-annex should only be used for performance debugging, not for production use..
|
||||
, "EKG"
|
||||
#endif
|
||||
-- Always enabled now, but users may be used to seeing these flags
|
||||
-- listed.
|
||||
|
|
|
@ -9,6 +9,9 @@ git-annex (6.20160614) UNRELEASED; urgency=medium
|
|||
* Remove unnecessary rpaths in the git-annex binary, but only when
|
||||
it's built using make, not cabal.
|
||||
This speeds up git-annex statup time by around 50%.
|
||||
* Remove the EKG build flag, since Gentoo for some reason decided to
|
||||
enable this flag, depsite it not being intended for production use and
|
||||
so enabled by default.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Mon, 13 Jun 2016 21:52:24 -0400
|
||||
|
||||
|
|
|
@ -119,9 +119,6 @@ import qualified Command.TestRemote
|
|||
#ifdef WITH_BENCHMARK
|
||||
import qualified Command.Benchmark
|
||||
#endif
|
||||
#ifdef WITH_EKG
|
||||
import System.Remote.Monitoring
|
||||
#endif
|
||||
|
||||
cmds :: Parser TestOptions -> Maybe TestRunner -> [Command]
|
||||
cmds testoptparser testrunner =
|
||||
|
@ -232,11 +229,7 @@ cmds testoptparser testrunner =
|
|||
]
|
||||
|
||||
run :: Parser TestOptions -> Maybe TestRunner -> [String] -> IO ()
|
||||
run testoptparser testrunner args = do
|
||||
#ifdef WITH_EKG
|
||||
_ <- forkServer "localhost" 4242
|
||||
#endif
|
||||
go envmodes
|
||||
run testoptparser testrunner args = go envmodes
|
||||
where
|
||||
go [] = dispatch True args
|
||||
(cmds testoptparser testrunner)
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 3"""
|
||||
date="2016-07-06T19:08:10Z"
|
||||
content="""
|
||||
Good greif, gentoo really does enable the ekg build flag.
|
||||
|
||||
Well, I removed the flag, I guess I need to be careful with exposing build
|
||||
flags that are not for production use if there are distributions that
|
||||
enable every possible flag willy-nilly.
|
||||
"""]]
|
|
@ -292,10 +292,6 @@ Flag MagicMime
|
|||
Flag ConcurrentOutput
|
||||
Description: Use concurrent-output library
|
||||
|
||||
Flag EKG
|
||||
Description: Enable use of EKG to monitor git-annex as it runs (at http://localhost:4242/)
|
||||
Default: False
|
||||
|
||||
Flag Benchmark
|
||||
Description: Enable benchmarking
|
||||
Default: False
|
||||
|
@ -470,11 +466,6 @@ Executable git-annex
|
|||
Build-Depends: concurrent-output (>= 1.6)
|
||||
CPP-Options: -DWITH_CONCURRENTOUTPUT
|
||||
|
||||
if flag(EKG)
|
||||
Build-Depends: ekg
|
||||
GHC-Options: -with-rtsopts=-T
|
||||
CPP-Options: -DWITH_EKG
|
||||
|
||||
if flag(Benchmark)
|
||||
Build-Depends: criterion, deepseq
|
||||
CPP-Options: -DWITH_BENCHMARK
|
||||
|
|
Loading…
Reference in a new issue