Commit ff8c839
committed
[benchmark] Support Linux/sparc64 /proc/cpuinfo
When running an LLVM 20.1.0 rc1 reltest on Linux/sparc64, all 75 of the new
`libcxx/test/benchmarks` tests `FAIL`, all in the same way:
```
```
And indeed the Linux/sparc64 /proc/cpuinfo format is completely different
from the x86_64 one: the interesting line is
ncpus active : 24
This patch adjusts `sysinfo.cc` to handle that.
Tested on `sparc64-unknown-linux-gnu`.
I hope this can go in without going via upstream which doesn't have the
analogous alpha patch either.1 parent cdeeb39 commit ff8c839
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
| 523 | + | |
| 524 | + | |
523 | 525 | | |
524 | 526 | | |
525 | 527 | | |
| |||
0 commit comments