TSG-9690: 适配Rocky Linux8.5

This commit is contained in:
liuxueli
2022-03-01 13:35:24 +08:00
parent f76af2f036
commit b677bb6c71
3 changed files with 161 additions and 43 deletions

View File

@@ -37,7 +37,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
yum install -y $INSTALL_DEPENDENCY_LIBRARY
fi
if [ $ASAN_OPTION ];then
if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi