[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d8f84a1 08/16: * Rename comp-async-jobs-number → native-comp-asy
From: |
Andrea Corallo |
Subject: |
master d8f84a1 08/16: * Rename comp-async-jobs-number → native-comp-async-jobs-number |
Date: |
Thu, 6 May 2021 11:16:24 -0400 (EDT) |
branch: master
commit d8f84a1c00ebf3020e201587e182cc8e4bc4a170
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* Rename comp-async-jobs-number → native-comp-async-jobs-number
* lisp/emacs-lisp/comp.el (native-comp-async-jobs-number)
(comp-effective-async-max-jobs, native--compile-async)
(native-compile-async): Rename comp-async-jobs-number →
native-comp-async-jobs-number.
---
lisp/emacs-lisp/comp.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index b1b5591..54c51c6 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -107,7 +107,7 @@ during bootstrap."
:type '(repeat symbol)
:version "28.1")
-(defcustom comp-async-jobs-number 0
+(defcustom native-comp-async-jobs-number 0
"Default number of subprocesses used for async native compilation.
Value of zero means to use half the number of the CPU's execution units,
or one if there's just one execution unit."
@@ -3851,7 +3851,7 @@ processes from `comp-async-compilations'"
(defvar comp-num-cpus nil)
(defun comp-effective-async-max-jobs ()
"Compute the effective number of async jobs."
- (if (zerop comp-async-jobs-number)
+ (if (zerop native-comp-async-jobs-number)
(or comp-num-cpus
(setf comp-num-cpus
;; FIXME: we already have a function to determine
@@ -3867,7 +3867,7 @@ processes from `comp-async-compilations'"
(shell-command-to-string "sysctl -n
hw.ncpu")))
(t 1))
2))))
- comp-async-jobs-number))
+ native-comp-async-jobs-number))
(defvar comp-last-scanned-async-output nil)
(make-variable-buffer-local 'comp-last-scanned-async-output)
@@ -4066,7 +4066,7 @@ nil -- Select all files.
a string -- A regular expression selecting files with matching names.
a function -- A function selecting files with matching names.
-The variable `comp-async-jobs-number' specifies the number
+The variable `native-comp-async-jobs-number' specifies the number
of (commands) to run simultaneously.
LOAD can also be the symbol `late'. This is used internally if
@@ -4200,7 +4200,7 @@ nil -- Select all files.
a string -- A regular expression selecting files with matching names.
a function -- A function selecting files with matching names.
-The variable `comp-async-jobs-number' specifies the number
+The variable `native-comp-async-jobs-number' specifies the number
of (commands) to run simultaneously."
;; Normalize: we only want to pass t or nil, never e.g. `late'.
(let ((load (not (not load))))
- master updated (b6f5da3 -> fbbcbed), Andrea Corallo, 2021/05/06
- master 643cc3f 01/16: * Rename comp-limple-mode -> native-comp-limple-mode, Andrea Corallo, 2021/05/06
- master 43f2969 02/16: Rename comp-speed -> native-comp-speed, Andrea Corallo, 2021/05/06
- master 6595295 05/16: * Rename comp-always-compile → native-comp-always-compile, Andrea Corallo, 2021/05/06
- master 31ca1c3 07/16: Rename comp-never-optimize-functions → native-comp-never-optimize-functions, Andrea Corallo, 2021/05/06
- master 4e01605 11/16: * Rename comp-async-env-modifier-form → native-comp-async-env-modifier-form, Andrea Corallo, 2021/05/06
- master 419852a 13/16: * Rename comp-async-query-on-exit → native-comp-async-query-on-exit, Andrea Corallo, 2021/05/06
- master c90129c 12/16: * Rename comp-async-report-warnings-errors, Andrea Corallo, 2021/05/06
- master 94c69eb 03/16: Rename comp-debug -> native-comp-debug, Andrea Corallo, 2021/05/06
- master e73186a 09/16: * Rename comp-async-cu-done-functions → native-comp-async-cu-done-functions, Andrea Corallo, 2021/05/06
- master d8f84a1 08/16: * Rename comp-async-jobs-number → native-comp-async-jobs-number,
Andrea Corallo <=
- master 6efd788 04/16: * Rename comp-verbose -> native-comp-verbose, Andrea Corallo, 2021/05/06
- master 4e063bf 10/16: * Rename comp-async-all-done-hook → native-comp-async-all-done-hook, Andrea Corallo, 2021/05/06
- master 85b61c0 06/16: Rename comp-bootstrap-deny-list → native-comp-bootstrap-deny-list, Andrea Corallo, 2021/05/06
- master 901ce56 15/16: Rename comp-warning-on-missing-source, Andrea Corallo, 2021/05/06
- master 8c429a4 14/16: Rename comp-native-driver-options → native-comp-driver-options, Andrea Corallo, 2021/05/06
- master fbbcbed 16/16: Rename comp-eln-load-path → native-comp-eln-load-path, Andrea Corallo, 2021/05/06