From a2b7bf38dd373339cadfc92f8fd211bc2e54010c Mon Sep 17 00:00:00 2001 From: cfallows-amd Date: Fri, 21 Mar 2025 12:46:17 -0400 Subject: [PATCH] Add Alibaba Cloud Linux 3 to distro checking for roofline (#620) Signed-off-by: Carrie Fallows [ROCm/rocprofiler-compute commit: fbe5e34a462124e208cc3b8fd694b3099e4d7bae] --- projects/rocprofiler-compute/src/utils/utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/rocprofiler-compute/src/utils/utils.py b/projects/rocprofiler-compute/src/utils/utils.py index c50c532a82..22daf56f7e 100644 --- a/projects/rocprofiler-compute/src/utils/utils.py +++ b/projects/rocprofiler-compute/src/utils/utils.py @@ -880,7 +880,11 @@ def detect_roofline(mspec): msg = "user-supplied path to binary not accessible" msg += "--> ROOFLINE_BIN = %s\n" % target_binary console_error("roofline", msg) - elif rhel_distro == "platform:el8" or rhel_distro == "platform:el9": + elif ( + rhel_distro == "platform:el8" + or rhel_distro == "platform:el9" + or rhel_distro == "platform:al8" + ): # Must be a valid RHEL machine distro = "platform:el8" elif (