stdlib: Add missing ()s in get_supported_isas.
A function was used directly instead of being called when interating through ISA names. Change-Id: I9dc53259a766a68070e0b79bb55f721a93fcdeed Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/58929 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -48,7 +48,7 @@ def get_supported_isas() -> Set[ISA]:
|
||||
if "TARGET_ISA" in buildEnv.keys():
|
||||
supported_isas.add(get_isa_from_str(buildEnv["TARGET_ISA"]))
|
||||
else:
|
||||
for key in get_isas_str_set:
|
||||
for key in get_isas_str_set():
|
||||
if buildEnv[f"USE_{key.upper()}_ISA"]:
|
||||
supported_isas.add(get_isa_from_str(key))
|
||||
return supported_isas
|
||||
|
||||
Reference in New Issue
Block a user