diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-02 15:00:12 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-02 15:00:12 -0400 |
commit | 6fe8c2572fbf73cee3936ab241fcbfbdd54fe633 (patch) | |
tree | f7a96614aa54bc75512b52a9d8df2f035ca51b40 /include | |
parent | 9028e5ef90c1b7f5a42c6bf969ac3c838b570a7e (diff) | |
download | stasis-6fe8c2572fbf73cee3936ab241fcbfbdd54fe633.tar.gz |
Allow user to disable parallel mode (shortcut for --cpu-limit=1)
Diffstat (limited to 'include')
-rw-r--r-- | include/core.h | 5 |
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 |