diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2018-10-05 17:00:20 +0000 |
---|---|---|
committer | Benjamin Hipple <bhipple@protonmail.com> | 2018-10-05 17:03:18 +0000 |
commit | 2ed17db8cdeb8e6385f8ac1153e862183813f244 (patch) | |
tree | c46fc6572cd554328e49f014512a157ffd5b4eeb /pkgs/servers/computing | |
parent | a5d6705e20d730abb6fb1ad99c4499fc8bef2b3f (diff) | |
download | nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.tar nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.tar.gz nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.tar.bz2 nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.tar.lz nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.tar.xz nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.tar.zst nixpkgs-2ed17db8cdeb8e6385f8ac1153e862183813f244.zip |
slurm: add lz4 dependency
Slurm looks for lz4 by default, and if it finds it can improve its compression techniques
Diffstat (limited to 'pkgs/servers/computing')
-rw-r--r-- | pkgs/servers/computing/slurm/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/servers/computing/slurm/default.nix b/pkgs/servers/computing/slurm/default.nix index ba0e57bb2be..afb39ac9fb3 100644 --- a/pkgs/servers/computing/slurm/default.nix +++ b/pkgs/servers/computing/slurm/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub, pkgconfig, libtool, curl , python, munge, perl, pam, openssl , ncurses, mysql, gtk2, lua, hwloc, numactl -, readline, freeipmi, libssh2, xorg +, readline, freeipmi, libssh2, xorg, lz4 # enable internal X11 support via libssh2 , enableX11 ? true }: @@ -35,15 +35,16 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig libtool ]; buildInputs = [ curl python munge perl pam openssl - mysql.connector-c ncurses gtk2 + mysql.connector-c ncurses gtk2 lz4 lua hwloc numactl readline freeipmi ] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ]; configureFlags = with stdenv.lib; - [ "--with-munge=${munge}" - "--with-ssl=${openssl.dev}" + [ "--with-freeipmi=${freeipmi}" "--with-hwloc=${hwloc.dev}" - "--with-freeipmi=${freeipmi}" + "--with-lz4=${lz4}" + "--with-munge=${munge}" + "--with-ssl=${openssl.dev}" "--sysconfdir=/etc/slurm" ] ++ (optional (gtk2 == null) "--disable-gtktest") ++ (optional enableX11 "--with-libssh2=${libssh2.dev}"); |