cpuinfo: disable tests (#380285)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user