Skip to content

Commit

Permalink
RHEL9 uses RHEL8 roofline binary (#208)
Browse files Browse the repository at this point in the history
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
  • Loading branch information
JoseSantosAMD authored Nov 30, 2023
1 parent 235f812 commit f52a1c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/omniperf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f52a1c8

Please sign in to comment.