Merge pull request #113746 from r-burns/numactl

numactl: enable on all linux platforms
This commit is contained in:
Guillaume Girol 2021-02-26 19:37:51 +00:00 committed by GitHub
commit f3b5c78d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
patchShebangs test
'';
LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic";
# You probably shouldn't ever run these! They will reconfigure Linux
# NUMA settings, which on my build machine makes the rest of package
# building ~5% slower until reboot. Ugh!
@ -26,6 +28,6 @@ stdenv.mkDerivation rec {
description = "Library and tools for non-uniform memory access (NUMA) machines";
homepage = "https://github.com/numactl/numactl";
license = with licenses; [ gpl2 lgpl21 ]; # libnuma is lgpl21
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
platforms = platforms.linux;
};
}