From 887d6c21eb1fd500dcc3a3cdca5fcc4acfba938f Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sun, 25 Oct 2026 19:40:37 +1000 Subject: [PATCH] CI: parallel builds again off Windows Reverts #162 once rattler-build ships the fix for variants sharing a build directory (prefix-dev/rattler-build#2899, for #2898). Bump the rattler-build pin in pixi.toml to that release at the same time. Co-Authored-By: Claude Opus 5.5 --- tools/robostack.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/robostack.py b/tools/robostack.py index c8eccf1a..cc45e86a 100644 --- a/tools/robostack.py +++ b/tools/robostack.py @@ -114,11 +114,7 @@ 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) -# 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" +PARALLEL_BUILDS = "1" if sys.platform == "win32" else f"3:{os.cpu_count()}" def build_ci_parallel(distro: str, recipes: list[str], args: list[str], cwd: Path) -> int: