Add version lock to manylinux build scripts (#7755)

This commit is contained in:
Changming Sun 2021-05-19 09:28:40 -07:00 committed by GitHub
parent 126afbe450
commit 3a68c389d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,8 @@
# Stop at any error, show all commands
set -ex
yum install -y yum-plugin-versionlock
yum versionlock cuda* libcudnn*
# Set build environment variables
MY_DIR=$(dirname "${BASH_SOURCE[0]}")
. $MY_DIR/build_env.sh