All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Rowand <frank.rowand@am.sony.com>
To: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
Cc: "Rowand, Frank" <Frank_Rowand@sonyusa.com>,
	Clark Williams <williams@redhat.com>,
	"jkacur@redhat.com" <jkacur@redhat.com>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: rt-tests: make rpm fails if numactl-devel is missing
Date: Fri, 8 Feb 2013 18:26:44 -0800	[thread overview]
Message-ID: <5115B3E4.7000707@am.sony.com> (raw)
In-Reply-To: <FDED51B5-DFB9-4C2D-BC7E-0F4594194697@thebigcorporation.com>

On 02/08/13 16:49, Sven-Thorsten Dietrich wrote:
> 
> On Feb 8, 2013, at 3:03 PM, Frank Rowand <frank.rowand@am.sony.com> wrote:
> 
>> Hi all,
>>
>> I'm not sure what the best solution for this is.  Or if it is even
>> worth fixing.  So just reporting for the archives...
>>
>> rt-tests can be built without NUMA:
>>
>>   make NUMA=0
>>
>> But "make rpm" does not have a way to be successful without NUMA:
> 
> I ran into this in the past with OBS on Suse.
> 
> There was a tertiary issue, because some distros use i386
> and others use i586 or i686.
> 
> E.g.
> 
> [sven@www rt-tests]$ gcc -dumpmachine
> i586-suse-linux
> 
> diff --git a/Makefile b/Makefile
> index 3a82407..7bb022c 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -16,7 +16,7 @@ srcdir        ?= $(prefix)/src
>  
>  machinetype = $(shell $(CC) -dumpmachine | \
>      sed -e 's/-.*//' -e 's/i.86/i386/' -e 's/mips.*/mips/' -e 's/ppc.*/powerpc/')
> -ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),)
> +ifneq ($(filter x86_64 i586 ia64 mips powerpc,$(machinetype)),)
>  NUMA   := 1
>  endif
> 
> So all in all, this feature probably only works on some, and maybe needs to be worked around more often than not.
> 
> Sven

OK, that prodded me enough to create an ugly patch, which will be following
in another email.

-Frank



      reply	other threads:[~2013-02-09  2:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 23:03 rt-tests: make rpm fails if numactl-devel is missing Frank Rowand
2013-02-09  0:49 ` Sven-Thorsten Dietrich
2013-02-09  2:26   ` Frank Rowand [this message]

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=5115B3E4.7000707@am.sony.com \
    --to=frank.rowand@am.sony.com \
    --cc=Frank_Rowand@sonyusa.com \
    --cc=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=sven@thebigcorporation.com \
    --cc=williams@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.