TSG-9690: 适配Rocky Linux8.5

This commit is contained in:
刘学利
2022-03-15 06:40:04 +00:00
parent 1b30b6d6a2
commit 5a89ccb0da
3 changed files with 189 additions and 35 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