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