tech-pkg archive

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


Right now we have LP64PLATFORMS, which is widely used for
NOT_FOR_PLATFORM/BROKEN_ON_PLATFORM. It is set at the bottom of, where it doesn't really fit all that well.

In the course of going through all the NOT_FOR_PLATFORM settings to
distinguish NOT_FOR from BROKEN, I found a number of other cases where
a centrally maintained platform list would be helpful; that is,
multiple packages depending on an OS-level feature where each
currently maintains the list of OSes itself and the lists aren't
always consistent. The most common examples are various audio and
video APIs, but there are others, like inotify. There are also some
packages that depend on CPU features, e.g. vector instructions.

I think it perhaps makes sense to create central lists like

   .include "../../mk/"

and put them in a single location, e.g. mk/

Although I wonder if it's maybe better to just create a mk/
for each of these cases, e.g. mk/ For inotify it
probably is, as (at least in theory) it could pull in a compat library
on platforms that have something else comparable, and set

But for miscellaneous multimedia APIs I'm not so sure. Many packages
probe and work with several alternative sound or video interfaces, but
others work with only some or support only one, and the expected
semantics of bl3 files is not really compatible with this.

Thoughts anyone? This came up on freenode the other day in connection
with inotify.

(Note that right now along with LP64PLATFORMS there are also platform
lists in for endianness; these should probably go away
again in favor of although it's not too clear as runs the compiler every time it's included and that's not so

David A. Holland

Home | Main Index | Thread Index | Old Index