From 3bfa4fd1fcc0c6620ce8c1a67860a822d79c9bd0 Mon Sep 17 00:00:00 2001 From: snowy/cli Date: Thu, 26 Jun 2025 22:27:14 -0400 Subject: [PATCH 1/2] wip --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 821306f..aa7907d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -92,7 +92,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_MACOS: | export TORCH_LIB=$(python -c 'import torch; print(torch.__path__[0] + "/lib")') export DYLD_FALLBACK_LIBRARY_PATH="$(pwd)/build/lib:$TORCH_LIB:$DYLD_FALLBACK_LIBRARY_PATH" - delocate-wheel -e torch -e harp_release -w {dest_dir} {wheel} + delocate-wheel -e torch -e harp_release -e netcdf -w {dest_dir} {wheel} run: | export TORCH_LIB=$(python -c 'import torch; print(torch.__path__[0] + "/lib")') export DYLD_FALLBACK_LIBRARY_PATH="$TORCH_LIB:$DYLD_FALLBACK_LIBRARY_PATH" @@ -151,7 +151,7 @@ jobs: -DCMAKE_PREFIX_PATH="$TORCH_CMAKE_PREFIX_PATH" cmake --build build --parallel 3 CIBW_REPAIR_WHEEL_COMMAND_LINUX: | - auditwheel repair --exclude lib*.so -w {dest_dir} {wheel} + auditwheel repair --exclude torch --exclude harp_release --exclude netcdf -w {dest_dir} {wheel} run: | pip install cibuildwheel python -m cibuildwheel --output-dir wheelhouse From fc9cdeb3520030eb44e7351c8bebe7b7e45af816 Mon Sep 17 00:00:00 2001 From: snowy/cli Date: Thu, 26 Jun 2025 22:41:33 -0400 Subject: [PATCH 2/2] wip --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index aa7907d..027a911 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -92,7 +92,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_MACOS: | export TORCH_LIB=$(python -c 'import torch; print(torch.__path__[0] + "/lib")') export DYLD_FALLBACK_LIBRARY_PATH="$(pwd)/build/lib:$TORCH_LIB:$DYLD_FALLBACK_LIBRARY_PATH" - delocate-wheel -e torch -e harp_release -e netcdf -w {dest_dir} {wheel} + delocate-wheel -e torch* -e netcdf* -e harp_release -w {dest_dir} {wheel} run: | export TORCH_LIB=$(python -c 'import torch; print(torch.__path__[0] + "/lib")') export DYLD_FALLBACK_LIBRARY_PATH="$TORCH_LIB:$DYLD_FALLBACK_LIBRARY_PATH" @@ -151,7 +151,7 @@ jobs: -DCMAKE_PREFIX_PATH="$TORCH_CMAKE_PREFIX_PATH" cmake --build build --parallel 3 CIBW_REPAIR_WHEEL_COMMAND_LINUX: | - auditwheel repair --exclude torch --exclude harp_release --exclude netcdf -w {dest_dir} {wheel} + auditwheel repair --exclude torch* --exclude netcdf* --exclude harp_release -w {dest_dir} {wheel} run: | pip install cibuildwheel python -m cibuildwheel --output-dir wheelhouse