+%if 0%{?rhel:1} && 0%{?rhel} <= 7
+# git clone --depth 10000 --single-branch --reference ../reference https://github.com/llvm/llvm-project.git .
+# fatal: git fetch-pack: expected shallow list
+. /opt/rh/rh-git218/enable
+# CMake Warning at ../lldb/cmake/modules/FindPythonInterpAndLibs.cmake:10 (find_package):
+# By not providing "FindPython3.cmake" in CMAKE_MODULE_PATH this project has
+# asked CMake to find a package configuration file provided by "Python3", but
+# CMake did not find one.
+# Could not find a package configuration file provided by "Python3" with any
+# of the following names:
+# Python3Config.cmake
+# python3-config.cmake
+# Add the installation prefix of "Python3" to CMAKE_PREFIX_PATH or set
+# "Python3_DIR" to a directory containing one of the above files. If
+# "Python3" provides a separate development package or SDK, be sure it has
+# been installed.
+# Call Stack (most recent call first):
+# ../lldb/cmake/modules/FindPythonInterpAndLibs.cmake:71 (FindPython3)
+# ../lldb/cmake/modules/LLDBConfig.cmake:48 (find_package)
+# ../lldb/cmake/modules/LLDBConfig.cmake:59 (add_optional_dependency)
+# ../lldb/CMakeLists.txt:28 (include)
+. /opt/rh/rh-python38/enable
+%endif