Skip to content

Instantly share code, notes, and snippets.

@snnn
Created June 2, 2021 21:34
Show Gist options
  • Save snnn/9e9e13ccf6d2b6dec573af1c75e637bf to your computer and use it in GitHub Desktop.
Save snnn/9e9e13ccf6d2b6dec573af1c75e637bf to your computer and use it in GitHub Desktop.
```diff
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,92
< TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
---
> #Added by @snnn
> if [ ! -d "/usr/local/cuda-10.2" ]; then
> TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
> else
> TOOLCHAIN_DEPS="devtoolset-8-binutils devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran"
> fi
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment