summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Infra/BuildInfo.hs
blob: 74096994aac7855f40bf7618a3a087ec4013d892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{-# LANGUAGE CPP #-}
module GF.Infra.BuildInfo where
import System.Info
import Data.Version(showVersion)

buildInfo =
    "Built on "++os++"/"++arch
    ++" with "++compilerName++"-"++showVersion compilerVersion
    ++", flags:"
#ifdef USE_INTERRUPT
    ++" interrupt"
#endif
#ifdef SERVER_MODE
    ++" server"
#endif
#ifdef CC_LAZY
   ++ " cclazy"
#endif