aboutsummaryrefslogtreecommitdiff
path: root/include/core.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-02 15:00:12 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-02 15:00:12 -0400
commit6fe8c2572fbf73cee3936ab241fcbfbdd54fe633 (patch)
treef7a96614aa54bc75512b52a9d8df2f035ca51b40 /include/core.h
parent9028e5ef90c1b7f5a42c6bf969ac3c838b570a7e (diff)
downloadstasis-6fe8c2572fbf73cee3936ab241fcbfbdd54fe633.tar.gz
Allow user to disable parallel mode (shortcut for --cpu-limit=1)
Diffstat (limited to 'include/core.h')
-rw-r--r--include/core.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core.h b/include/core.h
index ae0e8fe..e09b212 100644
--- a/include/core.h
+++ b/include/core.h
@@ -63,8 +63,9 @@ struct STASIS_GLOBAL {
bool enable_testing; //!< Enable package testing
bool enable_overwrite; //!< Enable release file clobbering
bool enable_rewrite_spec_stage_2; //!< Enable automatic @STR@ replacement in output files
- long cpu_limit;
- long parallel_fail_fast;
+ bool enable_parallel; //!< Enable testing in parallel
+ long cpu_limit; //!< Limit parallel processing to n cores (default: max - 1)
+ long parallel_fail_fast; //!< Fail immediately on error
int pool_status_interval; //!< Report "Task is running" every n seconds
struct StrList *conda_packages; //!< Conda packages to install after initial activation
struct StrList *pip_packages; //!< Pip packages to install after initial activation