aomp_common_vars - Lock comgr sha for aomp13.
@@ -226,7 +226,11 @@ fi
DEVICELIBS_ROOT=${DEVICELIBS_ROOT:-$AOMP_REPOS/$AOMP_LIBDEVICE_REPO_NAME}
AOMP_COMGR_REPO_NAME=${AOMP_COMGR_REPO_NAME:-rocm-compilersupport}
AOMP_COMGR_REPO_BRANCH=${AOMP_COMGR_REPO_BRANCH:-amd-stg-open}
-# Only set COMGR_REPO_SHA for aomp11
+#FIXME: Lock comgr sha for aomp13, this can be removed once llvm-project is updated.
+if [ "$AOMP_MAJOR_VERSION" == "13" ]; then
+ AOMP_COMGR_REPO_SHA=${AOMP_COMGR_REPO_SHA:-6a44867}
+fi
+# Set COMGR_REPO_SHA for aomp11
if [ "$AOMP_MAJOR_VERSION" != "12" ] && [ "$AOMP_MAJOR_VERSION" != "13" ] ; then
AOMP_COMGR_REPO_SHA=${AOMP_COMGR_REPO_SHA:-4b689d6}
fi
