let
# latest unstable
pkgs = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/b3582c75c7f21ce0b429898980eddbbf05c68e55.tar.gz")
{
crossSystem = "aarch64-unknown-linux-gnu";
}).__splicedPackages;
in pkgs.mkShell {
buildInputs = [ pkgs.cpuid ];
}
src/x86/cpuid.c:138:10: fatal error: cpuid.h: No such file or directory
138 | #include <cpuid.h>
It seems to build x86 specific files https://github.com/pytorch/cpuinfo/blob/main/CMakeLists.txt
|