From 1de3682f98278e6ca8286571f5c8704a3a19d520 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 4 Oct 2012 08:27:51 +0200 Subject: [PATCH] mysql55: Enable parallel building. In order to extend the lifes of keyboards, monitors, mice and other hardware in range of impatient people, this should shorten build times a bit on multicore systems. And of course keeps blood pressure at low rates so cholerics may live longer. Whether the latter is good or bad is up to the readers choice and imagination. Signed-off-by: aszlig --- pkgs/servers/sql/mysql55/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/sql/mysql55/default.nix b/pkgs/servers/sql/mysql55/default.nix index 5025720d62bb..a5f588f747da 100644 --- a/pkgs/servers/sql/mysql55/default.nix +++ b/pkgs/servers/sql/mysql55/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { buildInputs = [ cmake bison ncurses openssl readline zlib ]; + enableParallelBuilding = true; + cmakeFlags = "-DWITH_SSL=yes -DWITH_READLINE=yes -DWITH_EMBEDDED_SERVER=yes -DWITH_ZLIB=yes -DINSTALL_SCRIPTDIR=bin -DHAVE_IPV6=yes"; NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";