Skip to content

Commit c27b3f9

Browse files
committed
Don't overwrite custom vtk wheels for arm64
1 parent a1f429e commit c27b3f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-ocp.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ jobs:
181181
cp $CONDA_PREFIX/lib/python$PY_VER/site-packages/vtkmodules/${{ matrix.vtk_libs }} $DEST/lib/
182182
cp $CONDA_PREFIX/lib/python$PY_VER/site-packages/vtk.py $DEST
183183
184-
if [[ "$RUNNER_OS" == "Linux" && "$PY_VER" != "3.13" ]]; then
184+
# vtk.libs only exists in official PyPI VTK wheels, not in custom cadquery_vtk wheels
185+
if [[ "$RUNNER_OS" == "Linux" && "$PY_VER" != "3.13" && "${{ matrix.os }}" != "ubuntu-22.04-arm" ]]; then
185186
cp $CONDA_PREFIX/lib/python$PY_VER/site-packages/vtk.libs/* $DEST/lib/
186187
fi
187188

0 commit comments

Comments
 (0)