Roland Dreier <rdre...@cisco.com> (01/07/2009): > > On the other hand, if that package is only ever useful on Linux, it > > probably could be added to the P-a-s database (Packages arch specific) > > and dropped from libopenmpi-dev's dependencies for non-Linux archs. > > As far as I know, the FreeBSD kernel has no support for userspace access > to InfiniBand/RDMA hardware (although I know very little about FreeBSD > and so I may be wrong). In which case adding the linux __uXX types just > to get things to build will not produce a package that has a chance of > doing anything useful. Does FreeBSD even have /sys/class/infiniband > exported by the kernel?
I've found the following: http://sources.freebsd.org/HEAD/src/sys/contrib/rdma/rdma_device.c but that's not in our FreeBSD kernel. Just for reference, that source file contains: | static int rdma_core_init(void) | { | int ret; | #ifdef notyet | ret = ib_sysfs_setup(); | if (ret) | log(LOG_WARNING, "Couldn't create InfiniBand device class\n"); | #endif So there might be some effort to support that, but that's not here yet. Shall I close this bug, and request the P-a-s addition? That would be the attached patch. We also got openmpi fixed in the meanwhile. Thanks for the quick answer. Mraw, KiBi.
>From 9b346a5db897631e4bedb6077bb457b6856471c4 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois <k...@debian.org> Date: Wed, 1 Jul 2009 00:52:52 +0200 Subject: [PATCH] Make libibverbs Linux-specific. Signed-off-by: Cyril Brulebois <k...@debian.org> --- Packages-arch-specific | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Packages-arch-specific b/Packages-arch-specific index 03acd1b..91c6979 100644 --- a/Packages-arch-specific +++ b/Packages-arch-specific @@ -133,6 +133,7 @@ kon2: i386 # Hardcode %libextractor-java: amd64 armel i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel powerpc s390 sparc # [ANAIS] %libfreebasic: i386 kfreebsd-i386 hurd-i386 # x86 assembly %libgcr410: i386 amd64 # [ANAIS] +%libibverbs: !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 # Linux-only %libopenspc: i386 kfreebsd-i386 # i386 assembler %libsem: hurd-i386 # hurd specific %libsendmail-milter-perl: !ia64 # ANAIS -- 1.6.3.3