Re: CPU vs architecture

"OBATA Akio" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
Hi,

On Thu, 08 Apr 2010 01:59:19 +0900, Stefan Schaeckeler <[email protected]> wrote:

> Hi all,
>
> I have a package that can use for certain CPUs different asm code.
>
> How do I check in the Makefile for pentium and above vs everything lower?

Why need such a check?
  * Need to specify CPU architecture to build?
  * Package auto detect CUP, result in different PLIST?

Anyway, it is nice to be selectable (with PKG_OPTIONS?).
Maybe, someone want to build a fast machine, use the binary package with old machines.

-- 
OBATA Akio / [email protected]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.