mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-16 07:24:54 +08:00
Follow up after https://github.com/pytorch/pytorch/pull/92569 Pull Request resolved: https://github.com/pytorch/pytorch/pull/93104 Approved by: https://github.com/huydhn, https://github.com/seemethere, https://github.com/ZainRizvi
11 lines
249 B
Bash
Executable File
11 lines
249 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
[ -n "$DEVTOOLSET_VERSION" ]
|
|
|
|
yum install -y centos-release-scl
|
|
yum install -y devtoolset-$DEVTOOLSET_VERSION
|
|
|
|
echo "source scl_source enable devtoolset-$DEVTOOLSET_VERSION" > "/etc/profile.d/devtoolset-$DEVTOOLSET_VERSION.sh"
|