Blame SOURCES/abseil-cpp-20210324.2-armv7.patch

rdobuilder b47e81
diff -up ./absl/base/internal/sysinfo_test.cc.armv7 ./absl/base/internal/sysinfo_test.cc
rdobuilder b47e81
--- ./absl/base/internal/sysinfo_test.cc.armv7	2021-06-09 21:54:44.503755718 -0400
rdobuilder b47e81
+++ ./absl/base/internal/sysinfo_test.cc	2021-06-09 22:56:14.459611843 -0400
rdobuilder b47e81
@@ -43,13 +43,13 @@ TEST(SysinfoTest, NumCPUs) {
rdobuilder b47e81
 // POWER is particularly problematic here; some Linux kernels expose the CPU
rdobuilder b47e81
 // frequency, while others do not. Since we can't predict a priori what a given
rdobuilder b47e81
 // machine is going to do, just disable this test on POWER on Linux.
rdobuilder b47e81
-#if !(defined(__linux) && (defined(__ppc64__) || defined(__PPC64__)))
rdobuilder b47e81
+#if !(defined(__linux) && (defined(__ppc64__) || defined(__PPC64__) || defined(__aarch64__) || defined(__arm__)))
rdobuilder b47e81
 TEST(SysinfoTest, NominalCPUFrequency) {
rdobuilder b47e81
   // Linux only exposes the CPU frequency on certain architectures, and
rdobuilder b47e81
   // Emscripten doesn't expose it at all.
rdobuilder b47e81
 #if defined(__linux__) &&                                                  \
rdobuilder b47e81
         (defined(__aarch64__) || defined(__hppa__) || defined(__mips__) || \
rdobuilder b47e81
-         defined(__riscv) || defined(__s390x__)) ||                        \
rdobuilder b47e81
+         defined(__riscv) || defined(__s390x__))                     ||    \
rdobuilder b47e81
     defined(__EMSCRIPTEN__)
rdobuilder b47e81
   EXPECT_EQ(NominalCPUFrequency(), 1.0)
rdobuilder b47e81
       << "CPU frequency detection was fixed! Please update unittest.";