代码拉取完成,页面将自动刷新
#!bash
set -e -u -x
function repair_wheel() {
wheel="$1"
if ! auditwheel show "$wheel"; then
echo "Skipping non-platform wheel $wheel"
else
auditwheel repair "$wheel" --plat manylinux2014_x86_64 -w $(dirname $(readlink -e $wheel))
fi
}
PROJECT_DIR=$(dirname $(readlink -e $0))
cd $PROJECT_DIR
echo $LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cuda/lib64/stubs:${LIBRARY_PATH}
export PATH=/usr/local/cuda/bin:${PATH}
# Compile wheels
for PYBIN in /opt/python/*/bin/python; do
"${PYBIN}" -m pip install -U build
ENABLE_FP32=0 ENABLE_DEBUG=0 "${PYBIN}" -m build
done
# Bundle external shared libraries into the wheels
# mkdir -p $PROJECT_DIR/dist/manylinux
for whl in $PROJECT_DIR/dist/*.whl; do
repair_wheel "$whl"
done
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。