RHEL9 uses RHEL8 roofline binary (#208)

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
Этот коммит содержится в:
JoseSantosAMD
2023-11-30 13:31:20 -06:00
коммит произвёл GitHub
родитель 235f812e2c
Коммит f52a1c8df5
+2 -2
Просмотреть файл
@@ -308,9 +308,9 @@ def detect_roofline():
print("ROOFLINE ERROR: user-supplied path to binary not accessible")
print("--> ROOFLINE_BIN = %s\n" % target_binary)
sys.exit(1)
elif rhel_distro == "platform:el8":
elif rhel_distro == "platform:el8" or rhel_distro == "platform:el9":
# Must be a valid RHEL machine
distro = rhel_distro
distro = "platform:el8"
elif (
(type(sles_distro) == str and len(sles_distro) >= 3) and # confirm string and len
sles_distro[:2] == "15" and int(sles_distro[3]) >= 3 # SLES15 and SP >= 3