[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to specify architectures *not* to be built?



On Sat, 10 Aug 2002 12:19, Geert Stappers wrote:
> At 16:32 +0200 8/9/02, Matt Zimmerman wrote:
> >On Fri, Aug 09, 2002 at 04:08:46PM +0200, Andreas Rottmann wrote:
> >> I have one package (radvd) that builds only on Linux (and the *BSDs),
> >> but not on the Hurd. How dow I specify that arch requirement in the
> >> control file? Policy D 2.3 seems to indicate I can only sepcify a list
> >> of supported archs, which is not what i want. I would like something
> >> like
> >>
> >> Architecture: !hurd-i386
> >>
> >> is this possible?
> >
> >This is not currently possible.  You must list supported architectures
> >explicitly if not using 'any' or 'all'.
>
> Having an "NOT arch" is IMHO evil.
>
> Tell what is supported,  don't tell what you discriminate.

If you make a list of things you support because you don't support one 
particular architecture, then when new architectures are added your package 
will not list them (and the auto-builders won't even try building it).

Wheras if you declare that you don't support the one platform you know has 
problems, then when new ports are added at least you'll find out whether your 
package compiles.

-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.



Reply to: