Commit 8e3d849
authored
### Rationale for this change
On newer Apple silicon CPUs there is more L2 CPU cache than expected by the current unit tests. This results in the unit test failing:
```
/tmp/nix-build-arrow-cpp-20.0.0.drv-0/source/cpp/src/arrow/util/io_util_test.cc:1099: Failure
Value of: l2 >= 32 * 1024 && l2 <= 12 * 1024 * 1024
Actual: false
Expected: true
unexpected L2 size: 16777216
[ FAILED ] CpuInfo.Basic (0 ms)
```
### What changes are included in this PR?
The expected L2 CPU cache range is increased to 32KiB-64MiB to accommodate newer CPUs.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #47564
Authored-by: Artem Leshchev <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 5750e29 commit 8e3d849
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1096 | 1096 | | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | | - | |
| 1099 | + | |
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
| |||
0 commit comments