git.iko.soy/typeable/nixpkgs
on master help sign in
slurm: add lz4 dependency

Slurm looks for lz4 by default, and if it finds it can improve its compression techniques

commit2ed17db8cdeb8e6385f8ac1153e862183813f244 authorBenjamin Hipple <bhipple@protonmail.com> dateFri 5 Oct 2018, 17:00 (8 years ago) parenta5d6705
1 file changed+6−5
pkgs/servers/computing/slurm/default.nix+6−5
pkgs/servers/computing/slurm/default.nix+6−5
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl
22, python, munge, perl, pam, openssl
33, ncurses, mysql, gtk2, lua, hwloc, numactl
4−, readline, freeipmi, libssh2, xorg
4+, readline, freeipmi, libssh2, xorg, lz4
55# enable internal X11 support via libssh2
66, enableX11 ? true
77}:
@@ -35,15 +35,16 @@ stdenv.mkDerivation rec {
3535 nativeBuildInputs = [ pkgconfig libtool ];
3636 buildInputs = [
3737 curl python munge perl pam openssl
38− mysql.connector-c ncurses gtk2
38+ mysql.connector-c ncurses gtk2 lz4
3939 lua hwloc numactl readline freeipmi
4040 ] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ];
4141
4242 configureFlags = with stdenv.lib;
43− [ "--with-munge=${munge}"
44− "--with-ssl=${openssl.dev}"
43+ [ "--with-freeipmi=${freeipmi}"
4544 "--with-hwloc=${hwloc.dev}"
46− "--with-freeipmi=${freeipmi}"
45+ "--with-lz4=${lz4}"
46+ "--with-munge=${munge}"
47+ "--with-ssl=${openssl.dev}"
4748 "--sysconfdir=/etc/slurm"
4849 ] ++ (optional (gtk2 == null) "--disable-gtktest")
4950 ++ (optional enableX11 "--with-libssh2=${libssh2.dev}");