diff --git a/third-party/benchmark/src/sysinfo.cc b/third-party/benchmark/src/sysinfo.cc index 2bed1663af2e9..22944a41376f6 100644 --- a/third-party/benchmark/src/sysinfo.cc +++ b/third-party/benchmark/src/sysinfo.cc @@ -520,6 +520,8 @@ int GetNumCPUsImpl() { } #if defined(__alpha__) const std::string Key = "cpus detected"; +#elif defined(__sparc__) + const std::string Key = "ncpus active"; #else const std::string Key = "processor"; #endif