@@ -53,7 +53,9 @@ import System.Process
5353-- | Compile to simplified forms and return CodegenInfo
5454compile :: Codegen -> FilePath -> Maybe Term -> Idris CodegenInfo
5555compile codegen f mtm
56− = do checkMVs -- check for undefined metavariables
56+ = do v <- verbose
57+ when v $ iputStrLn "Compiling Output."
58+ checkMVs -- check for undefined metavariables
5759 checkTotality -- refuse to compile if there are totality problems
5860 exports <- findExports
5961 let rootNames = case mtm of
@@ -108,7 +110,7 @@ compile codegen f mtm
108110 Just f -> runIO $ writeFile f (dumpDefuns defuns)
109111 triple <- Idris.AbsSyntax.targetTriple
110112 cpu <- Idris.AbsSyntax.targetCPU
111− logCodeGen 1 "Building output"
113+ when v $ iputStrLn "Generating Code."
112114 case checked of
113115 OK c -> do return $ CodegenInfo f outty triple cpu
114116 hdrs impdirs objs libs flags