-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Test CPPsuite
-
None
-
Storage Engines
-
1
-
2024-08-06 - Withholding Tax
WT-13012 introduced benchmarking for frequently called session and cursor APIs.
Doing so introduced a dependency for Cppsuite on linux-only header files. As a result of this WT-13012 included a change to disable Cppsuite from running on Arm-based Macs by adding
# Disable cppsuite as it only runs on linux. set(ENABLE_CPPSUITE 0)
to the file cmake/configs/aarch64/darwin/config.cmake.
However, this change was not made to the relevant Intel-based Mac file:
cmake/configs/x86/darwin/config.cmake
This means that attempting to build WT on an Intel Mac using
cmake -G "Ninja" ./..
ninja -j 8
Fails with the errorĀ
fatal error: 'linux/perf_event.h' file not found
This ticket will disable Cppsuite for Intel-based Macs too
We no longer use Intel Macs in Evergreen, so the issue was not detected there. The issue was found on a MacBook Pro.