src/Pure/Tools/build.ML
changeset 64308 b00508facb4f
parent 63827 b24d0e53dd03
child 64599 80ef54198f44
equal deleted inserted replaced
64307:c4d16f35c6e7 64308:b00508facb4f
   112         (Thy_Info.use_theories {
   112         (Thy_Info.use_theories {
   113           document = Present.document_enabled (Options.string options "document"),
   113           document = Present.document_enabled (Options.string options "document"),
   114           symbols = symbols,
   114           symbols = symbols,
   115           last_timing = last_timing,
   115           last_timing = last_timing,
   116           master_dir = master_dir}
   116           master_dir = master_dir}
       
   117         |>
       
   118           (case Options.string options "profiling" of
       
   119             "" => I
       
   120           | "time" => profile_time
       
   121           | "allocations" => profile_allocations
       
   122           | bad => error ("Bad profiling option: " ^ quote bad))
   117         |> Unsynchronized.setmp print_mode
   123         |> Unsynchronized.setmp print_mode
   118             (space_explode "," (Options.string options "print_mode") @ print_mode_value ())) thys)
   124             (space_explode "," (Options.string options "print_mode") @ print_mode_value ())) thys)
   119     else
   125     else
   120       Output.physical_stderr ("Skipping theories " ^ commas_quote (map #1 thys) ^
   126       Output.physical_stderr ("Skipping theories " ^ commas_quote (map #1 thys) ^
   121         " (undefined " ^ commas conds ^ ")\n")
   127         " (undefined " ^ commas conds ^ ")\n")