From 20905374fcacc73643a966ac043d0c58973d68b3 Mon Sep 17 00:00:00 2001 From: Fantix King Date: Tue, 9 Feb 2021 19:17:25 -0500 Subject: [PATCH] Workaround Github Action issue Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added. --- .github/workflows/build-manylinux-wheels.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-manylinux-wheels.sh b/.github/workflows/build-manylinux-wheels.sh index 53ed6d3..0fdaf57 100755 --- a/.github/workflows/build-manylinux-wheels.sh +++ b/.github/workflows/build-manylinux-wheels.sh @@ -10,6 +10,9 @@ if [ "${PY_MAJOR}" -lt "4" -a "${PY_MINOR}" -lt "8" ]; then ML_PYTHON_VERSION+="m" fi +# Temporary workaround for https://github.com/actions/runner/issues/781 +export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib + # Compile wheels PYTHON="/opt/python/${ML_PYTHON_VERSION}/bin/python" PIP="/opt/python/${ML_PYTHON_VERSION}/bin/pip"