Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/robostack.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ def run_tee(cmd: list[str], cwd: Path) -> tuple[int, bytes]:

# a build job's recipes side by side, with a shared jobserver keeping them at the runner's
# cores in total; Windows has no jobserver, and was no faster with two (#154)
PARALLEL_BUILDS = "1" if sys.platform == "win32" else f"3:{os.cpu_count()}"
# Temporarily one at a time everywhere: rattler-build 0.77 gives two variants of a recipe
# started in the same second the same build directory, and they fail ("Path ... already
# exists", prefix-dev/rattler-build#2898, e.g. beluga's hdf5 variants). Back to
# f"3:{os.cpu_count()}" off Windows once prefix-dev/rattler-build#2899 is released.
PARALLEL_BUILDS = "1"


def build_ci_parallel(distro: str, recipes: list[str], args: list[str], cwd: Path) -> int:
Expand Down
Loading