diff --git a/.github/actions/build-wheel/entrypoint.sh b/.github/actions/build-wheel/entrypoint.sh index bb79affa..eb1c94f2 100755 --- a/.github/actions/build-wheel/entrypoint.sh +++ b/.github/actions/build-wheel/entrypoint.sh @@ -49,9 +49,9 @@ if [ "${PARALLEL}" = "mpi" ]; then sed -i "s/name=\"block2\"/name=\"block2-mpi\"/g" setup.py sed -i '/for soname, src_path/a \ if any(x in soname for x in ["libmpi", "libopen-pal", "libopen-rte"]): continue' \ $($(cat $(which auditwheel) | head -1 | awk -F'!' '{print $2}') -c "from auditwheel import repair;print(repair.__file__)") - sed -i '/for soname, src_path/a \ if "libmpi.so" in soname: patcher.replace_needed(fn, soname, "libmpi.so")' \ + sed -i '/for soname, src_path/a \ if "libmpi.so" in soname: patcher.replace_needed(fn, (soname, "libmpi.so"))' \ $($(cat $(which auditwheel) | head -1 | awk -F'!' '{print $2}') -c "from auditwheel import repair;print(repair.__file__)") - sed -i '/for n in needed/a \ if "libmpi.so" in n: patcher.replace_needed(path, n, "libmpi.so")' \ + sed -i '/for n in needed/a \ if "libmpi.so" in n: patcher.replace_needed(path, (n, "libmpi.so"))' \ $($(cat $(which auditwheel) | head -1 | awk -F'!' '{print $2}') -c "from auditwheel import repair;print(repair.__file__)") fi