fix: remove numa support for armv6l (#808)
There is no support for NUMA on Armv6l (such as in the Raspberry Pi).
Having a dependency on numactl at the compiler-level seems to also
enable numa support for the generated programs as well. Even if it's not
used, dependency on libnuma prevents the generated executables to launch
without an error indicating that libnuma could not be found.
commit4cb38b1cdf01e5eb0d75e030766dee25756b4b2e
authorLe Tuan <webmaster@michivi.com>
dateMon 10 Aug 2020, 08:14 (6 years ago)
parent04ea1bc
compiler/ghc/default.nix+1−1
@@ -126,7 +126,7 @@ let
126126 ++ [targetLibffi]
127127 ++ stdenv.lib.optional (!enableIntegerSimple) gmp
128128 ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
129− ++ stdenv.lib.optional platform.isLinux numactl;
129+ ++ stdenv.lib.optional (platform.isLinux && !platform.isAarch32) numactl;
130130
131131 toolsForTarget =
132132 if hostPlatform == buildPlatform then