mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
|
|
||
|---|---|---|
| .. | ||
| requirements-tools | ||
| ambv-pubkey.txt | ||
| build-cmake.sh | ||
| build-cpython.sh | ||
| build-git.sh | ||
| build-openssl.sh | ||
| build-sqlite3.sh | ||
| build-swig.sh | ||
| build_utils.sh | ||
| cpython-pubkey-310-311.txt | ||
| cpython-pubkeys.txt | ||
| finalize.sh | ||
| fixup-mirrors.sh | ||
| install-autoconf.sh | ||
| install-automake.sh | ||
| install-build-packages.sh | ||
| install-entrypoint.sh | ||
| install-libtool.sh | ||
| install-libxcrypt.sh | ||
| install-patchelf.sh | ||
| install-protobuf.sh | ||
| install-pypy.sh | ||
| install-runtime-packages.sh | ||
| LICENSE | ||
| pypy.sha256 | ||
| python-tag-abi-tag.py | ||
| README.md | ||
| requirements-base-tools.txt | ||
| requirements-tools.txt | ||
| requirements.txt | ||
| requirements3.6.txt | ||
| requirements3.7.txt | ||
| requirements3.8.txt | ||
| requirements3.9.txt | ||
| requirements3.10.txt | ||
| update-system-packages.sh | ||
All the files in this folder were copied from https://github.com/pypa/manylinux (commit id 28723f3e3330e5de156d2179353d45b04339a528) with two tiny changes:
diff -r /data/bt/os/manylinux/docker/build_scripts/install-entrypoint.sh ./install-entrypoint.sh
23a24,25
> yum install -y yum-plugin-versionlock
> yum versionlock cuda* libcudnn*
\ No newline at end of file
diff -r /data/bt/os/manylinux/docker/build_scripts/install-runtime-packages.sh ./install-runtime-packages.sh
87c87,95
< TOOLCHAIN_DEPS="devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran"
---
>
> #Added by @snnn
> if [ -d "/usr/local/cuda-10.2" ]; then
> TOOLCHAIN_DEPS="devtoolset-8-binutils devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran"
> elif [ -d "/usr/local/cuda-11.1" ]; then
> TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
> else
> TOOLCHAIN_DEPS="devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran"
> fi
92c100,102
< yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
---
> if ! rpm -q --quiet epel-release ; then
> yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
> fi