forked from lix-project/lix
RPM build: Use parallel make
This commit is contained in:
parent
bb6656b8a2
commit
e4dd7dadf4
|
@ -107,7 +107,7 @@ extraFlags=
|
|||
%configure --localstatedir=/nix/var \
|
||||
--docdir=%{_defaultdocdir}/%{name}-doc-%{version} \
|
||||
$extraFlags
|
||||
make %{?_smp_flags}
|
||||
make -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
||||
%{_emacs_bytecompile} misc/emacs/nix-mode.el
|
||||
|
||||
|
||||
|
|
|
@ -284,9 +284,10 @@ let
|
|||
{ extraPackages =
|
||||
[ "perl-DBD-SQLite" "perl-devel" "sqlite" "sqlite-devel" "bzip2-devel" "emacs" "libcurl-devel" "openssl-devel" "xz-devel" ]
|
||||
++ extraPackages; };
|
||||
memSize = 1024;
|
||||
memSize = 8192;
|
||||
meta.schedulingPriority = 50;
|
||||
postRPMInstall = "cd /tmp/rpmout/BUILD/nix-* && make installcheck";
|
||||
enableParallelBuilding = true;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue