We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ab462 commit 21d3bcfCopy full SHA for 21d3bcf
easybuild/tools/systemtools.py
@@ -649,7 +649,7 @@ def get_isa_riscv():
649
if is_readable(PROC_CPUINFO_FP):
650
_log.debug("Trying to determine ISA string on Linux via %s", PROC_CPUINFO_FP)
651
proc_cpuinfo = read_file(PROC_CPUINFO_FP)
652
- isa_regex = re.compile(r"^isa\s*:\s*(.*)")
+ isa_regex = re.compile(r"^isa\s*:\s*(\S+)", re.MULTILINE)
653
res = isa_regex.search(proc_cpuinfo)
654
if res:
655
isa_string = res.group(1)
0 commit comments