Workaround Github Action issue

Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now
before an upstream fix is added.
This commit is contained in:
Fantix King 2021-02-09 19:17:25 -05:00
parent 6596685af6
commit 20905374fc
1 changed files with 3 additions and 0 deletions

View File

@ -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"