let default_warn_when_setting_env_vars = true
let omake_command (t:t) =
- Config.lookup t ~key:"omake_command" ~default:default_omake_command
- (* CR pszilagyi: Force a new default, even for those who've customized this, in the wake
- of Hurricane Sandy. We have few rackmounts and need to share them well. *)
- Config.lookup t ~key:"omake_command_after_sandy" ~default:"jomake -j 1"
+ (* CR pszilagyi: Use a new default in TOT in the wake of Hurricane Sandy. We have few
+ rackmounts and need to share them well. -j 6 would be a good general default; -j 12
+ is too big for many single-user systems even before Sandy. As of 2012-11-05 12:00
+ EST, LDN rackmounts have largely cleared out and devs are spread out on the TOT
+ rackmounts to where -j 1 is not longer necessary. Feedback is modest, and Ron has
+ proposed -j 6 rather than -j 1. *)
+ if String.is_prefix ~prefix:"tot-" (Unix.gethostname ())
+ then "omake_command_tot_after_sandy", "jomake -j 6"
+ else "omake_command", default_omake_command
+ Config.lookup t ~key ~default
let kill_when_unwatched t =
Config.lookup t ~key:"kill_when_unwatched"
let getenv_exn key = match Sys.getenv key with
-| None -> failwithf "No env: %s" key ()
+ | None -> failwithf "No env: %s" key ()
let home = getenv_exn "HOME"