;; CR pszilagyi: Change Omake.omake-command semi-temporarily in a
-;; simple but easily overridden way. A more sophisticated alternative
-;; would be to look at context to decide if we're in TOT, but KISS.
-(defvar Omake.omake-command-after-sandy "jomake -j 1")
+;; simple but easily overridden way.
+(defvar Omake.omake-command-tot-after-sandy "jomake -j 6")
+(defun Omake.omake-command ()
+ (if (string-match-p "^tot-" (system-name))
(defcustom Omake.prompt-before-killing-project t
"If t, prompt y/n before killing a project"
(_ (when (Omake.Model.has id) (error "A model for %s already exists" id)))
(env (Omake.Env.create id))
- (command Omake.omake-command-
+ (command Omake.omake-command)
(omakeroot-dir (Omake.Path.omakeroot-dir compilation-dir))
(error-buffer (Omake.Buffer.create Omake.Buffer.Error compilation-dir) model)
;; turn on omake-mode in the error buffer
- (read-from-minibuffer "Command: " Omake.omake-command-
+ (read-from-minibuffer "Command: " Omake.omake-command))))
(Omake.Model.create path user-command))