17c39be
diff --git a/src/gromacs/hardware/tests/hardwaretopology.cpp b/src/gromacs/hardware/tests/hardwaretopology.cpp
17c39be
index ed7897b01..c31d4b9cd 100644
17c39be
--- a/src/gromacs/hardware/tests/hardwaretopology.cpp
17c39be
+++ b/src/gromacs/hardware/tests/hardwaretopology.cpp
17c39be
@@ -185,12 +185,14 @@ TEST(HardwareTopologyTest, NumaCacheSelfconsistency)
17c39be
             }
17c39be
         }
17c39be
 
17c39be
+#ifndef __aarch64__
17c39be
         // Check cache. The hwloc cache detection is fragile and can report
17c39be
         // 0 for line size or associativity (=unknown), so we just check the size.
17c39be
         for (auto &c : hwTop.machine().caches)
17c39be
         {
17c39be
             EXPECT_GT(c.size, 0);
17c39be
         }
17c39be
+#endif
17c39be
     }
17c39be
 }
17c39be