mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
	linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: kbuild: Various updates for 2.6.8
Date: Sat, 31 Jul 2004 14:17:39 -0700	[thread overview]
Message-ID: <20040731211739.GE2334@holomorphy.com> (raw)
In-Reply-To: <20040731075838.GA7469@mars.ravnborg.org>

On Sat, Jul 31, 2004 at 09:58:38AM +0200, Sam Ravnborg wrote:
> I have arranged with Andrew that he sucks my kbuild tree in -mm,
> and this is the fist update I send direct to you.
> The following set of patches has been in -mm for a few days now
> with no complaints. Please include these before 2.6.8.
> 	bk pull bk://linux-sam.bkbits.net/kbuild
> The most important fix is the $LANG fix. Without this users
> from .cz, .fr etc. cannot use menuconfig/xconfig with good result.

By any chance could you update make rpm so it respects the -j flags?
Single-threaded make rpm is horrifically slow.

I'm using the patch below at the moment, but am not very particular
as to the form of the solution.


-- wli

Index: sched-2.6.8-rc2-mm1/scripts/package/mkspec
===================================================================
--- sched-2.6.8-rc2-mm1.orig/scripts/package/mkspec	2004-07-30 10:53:27.000000000 -0700
+++ sched-2.6.8-rc2-mm1/scripts/package/mkspec	2004-07-30 22:28:05.000000000 -0700
@@ -57,14 +57,14 @@
 echo "%build"
 
 if ! $PREBUILT; then
-echo "make clean && make"
+echo "make clean && make %{_smp_mflags}"
 echo ""
 fi
 
 echo "%install"
 echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules'
 
-echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make modules_install'
+echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install'
 echo 'cp $KBUILD_IMAGE $RPM_BUILD_ROOT'"/boot/vmlinuz-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
 
 echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"

  reply	other threads:[~2004-07-31 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-31  7:58 Sam Ravnborg
2004-07-31 21:17 ` William Lee Irwin III [this message]
2004-07-31 21:25   ` Sam Ravnborg
2004-07-31 21:29     ` William Lee Irwin III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040731211739.GE2334@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome