[ewg] Re: Will SLES 10 sp1 be supported in OFED 1.2

Michael S. Tsirkin mst at dev.mellanox.co.il
Sun Mar 25 03:01:02 PDT 2007


> Quoting Erez Zilber <erezz at voltaire.com>:
> Subject: Re: Will SLES 10 sp1 be supported in OFED 1.2
> 
> Michael S. Tsirkin wrote:
> >> --- ofa_kernel-1.2/configure.orig	2007-03-21 13:45:41.000000000 +0200
> >> +++ ofa_kernel-1.2/configure	2007-03-21 14:27:20.000000000 +0200
> >> @@ -202,7 +202,15 @@ get_backport_dir()
> >>                  echo 2.6.15
> >>          ;;
> >>          2.6.16.*-*-*)
> >> -                echo 2.6.16_sles10
> >> +                sp=$(grep PATCHLEVEL /etc/SuSE-release | cut -d" " -f3)
> >> +                case ${sp} in
> >> +                    1)
> >> +                        echo 2.6.16_sles10_sp1
> >> +                    ;;
> >> +                    *)
> >> +                        echo 2.6.16_sles10
> >> +                    ;;
> >> +                esac
> >>          ;;
> >>          2.6.16*)
> >>                  echo 2.6.16
> >>
> >> 	b) This patch is based on a patch by Preggna S (http://lists.openfabrics.org/pipermail/ewg/2007-February/002573.html):
> >>
> > 
> > This approach breaks non-native builds.
> > We need to limit ourselves to testing the kernel version.
> > 
> 
> No problem. BTW - what do you mean by saying "non-native builds", and why does this approach break them?

Q: How does one test-build for 20 kernels * 4 architectures without using ~100 PCs?
A: Build cross-compilers for all architectures, copy kernel headers from all
   relevant distros and let it rip.

That's what we have set up on openfabrics.org (list of distros is still not
complete, but close), so all one has to do is run the build script. The use of
the cross-build setup is described here:
https://wiki.openfabrics.org/tiki-index.php?page=HOWTO+Build+OFA+kernel+package

-- 
MST



More information about the ewg mailing list