cpuinfo: disable tests (#380285)

This commit is contained in:
Nick Cao
2025-02-08 23:10:31 -05:00
committed by GitHub
+5 -1
View File
@@ -37,7 +37,11 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "USE_SYSTEM_LIBS" true)
];
doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
# The tests check what CPU the host has and makes sure it can query information.
# not all build environments may have this information availaible. And, cpuinfo may
# not understand all CPUs (causing test failures such as https://github.com/pytorch/cpuinfo/issues/132)
# Instead, allow building in any environment.
doCheck = false;
meta = {
description = "Tools and library to detect essential for performance optimization information about host CPU";