krb5: Make lib build parallel
This commit is contained in:
parent
a74e4863f3
commit
ac2f05a50a
@ -97,19 +97,19 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildPhase = optionalString libOnly ''
|
||||
(cd util; make)
|
||||
(cd include; make)
|
||||
(cd lib; make)
|
||||
(cd build-tools; make)
|
||||
(cd util; make -j $NIX_BUILD_CORES)
|
||||
(cd include; make -j $NIX_BUILD_CORES)
|
||||
(cd lib; make -j $NIX_BUILD_CORES)
|
||||
(cd build-tools; make -j $NIX_BUILD_CORES)
|
||||
'';
|
||||
|
||||
installPhase = optionalString libOnly ''
|
||||
mkdir -p $out/{bin,include/{gssapi,gssrpc,kadm5,krb5},lib/pkgconfig,sbin,share/{et,man/man1}}
|
||||
|
||||
(cd util; make install)
|
||||
(cd include; make install)
|
||||
(cd lib; make install)
|
||||
(cd build-tools; make install)
|
||||
(cd util; make -j $NIX_BUILD_CORES install)
|
||||
(cd include; make -j $NIX_BUILD_CORES install)
|
||||
(cd lib; make -j $NIX_BUILD_CORES install)
|
||||
(cd build-tools; make -j $NIX_BUILD_CORES install)
|
||||
|
||||
rm -rf $out/{sbin,share}
|
||||
find $out/bin -type f | grep -v 'krb5-config' | xargs rm
|
||||
|
Loading…
Reference in New Issue
Block a user