@@ -386,19 +386,17 @@ To see how to build ITK Python Build Caches, see this section:
386386
387387#### GitHub Compatible Caches
388388
389- To build the caches compatible with GitHub Actions CI and the ITKPythonBuilds repository. You can run:
390-
391- On Linux and macOS systems
389+ ` release-wheels ` builds the caches compatible with GitHub Actions CI and the
390+ ITKPythonBuilds repository alongside the wheels: it passes
391+ ` --build-itk-tarball-cache ` to ` build_wheels.py ` for every target.
392392
393393``` bash
394- bash scripts/make_tarballs.sh # py311 (optionally add specific version of Python)
394+ pixi run release-wheels v6.0b03
395395```
396396
397- On Windows systems
398-
399- ``` powershell
400- .\scripts\make_windows_zip.ps1 # py311 (optionally add specific version of Python)
401- ```
397+ POSIX builds write ` dist/ITKPythonBuilds-<platform>-<arch>.tar.zst ` under the
398+ build root (` scripts/wheel_packaging.py ` ); Windows writes
399+ ` ITKPythonBuilds-windows.zip ` in the build root.
402400
403401> [ !IMPORTANT]
404402> Build caches embed absolute paths. If you extract a tarball to a different
@@ -410,11 +408,14 @@ On Windows systems
410408> | macOS | ` /Users/svc-dashboard/D/P/ITKPythonPackage-build ` |
411409> | Windows | ` C:\BDR ` |
412410>
413- > The scripts above set these for you. ** ` build_wheels.py ` does not** : its
414- > default build root is ` <repo>/../ITKPythonPackage-build ` , which matches the
415- > convention only on Windows. A cache built by calling ` build_wheels.py `
416- > directly therefore needs ` --build-dir-root ` set to the path in the table, or
417- > it will not be usable by the reusable workflow. Check a finished cache with:
411+ > ` release-wheels ` uses the manylinux and Windows paths by default. On macOS
412+ > its build root is ` <repo>/../ITKPythonPackage-build ` , so clone the
413+ > repository at ` /Users/svc-dashboard/D/P/ITKPythonPackage ` or pass
414+ > ` --build-root /Users/svc-dashboard/D/P/ITKPythonPackage-build ` .
415+ > ` build_wheels.py ` called directly defaults to ` C:\BDR ` on Windows and to
416+ > ` <repo>/../ITKPythonPackage-build ` elsewhere, so a macOS cache built that way
417+ > needs ` --build-dir-root ` set to the path in the table, or it will not be
418+ > usable by the reusable workflow. Check a finished cache with:
418419>
419420> ``` bash
420421> tar -xOf < cache> .tar ITKPythonPackage-build/build/ITK-support-bld/CMakeCache.txt \
0 commit comments