<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Re: [openib-general] [PATCH] ~vlad/ofascripts.git - Add libcxgb3to user kit</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Applied,<BR>
<BR>
Regards,<BR>
Vladimir<BR>
<BR>
On Wed, 2007-01-10 at 12:20 -0600, Steve Wise wrote:<BR>
> Vlad, <BR>
><BR>
> Here are the changes to ofa userspace scripts for adding Chelsio's RDMA library, libcxgb3.<BR>
><BR>
> Steve.<BR>
><BR>
><BR>
> -----<BR>
><BR>
> Support for libcxgb3.<BR>
><BR>
> From: Steve Wise <swise@opengridcomputing.com><BR>
><BR>
> - added libcxgb3 to configure<BR>
> - added libcxgb3 to Makefile<BR>
><BR>
> Signed-off-by: Steve Wise <swise@opengridcomputing.com><BR>
> ---<BR>
><BR>
>  Makefile  |   17 ++++++++++++++++-<BR>
>  configure |   16 ++++++++++++++++<BR>
>  2 files changed, 32 insertions(+), 1 deletions(-)<BR>
><BR>
> diff --git a/Makefile b/Makefile<BR>
> index b164ee0..4d57d82 100644<BR>
> --- a/Makefile<BR>
> +++ b/Makefile<BR>
> @@ -5,7 +5,8 @@ all:<BR>
>  .PHONY: libibverbs libmthca libibcm perftest mstflint libsdp libibcommon libibumad libibmad osm diags mpi<BR>
>  .PHONY: librdmacm install_librdmacm dapl dat tvflash install_tvflash<BR>
>  .PHONY: install_libibverbs install_libmthca install_libibcm install_libsdp libibcommon<BR>
> -.PHONY: libipathverbs install_libipathverbs libehca install_libehca<BR>
> +.PHONY: libipathverbs install_libipathverbs libehca install_libehca<BR>
> +.PHONY: libcxgb3 install_libcxgb3<BR>
>  .PHONY: install_libibumad install_libibmad install_osm install_diags install_mstflint install_perftest<BR>
>  .PHONY: srptools install_srptools ipoibtools install_ipoibtools<BR>
>      <BR>
> @@ -49,6 +50,11 @@ user:      libehca<BR>
>  install_user:        install_libehca<BR>
>  endif<BR>
> <BR>
> +ifeq ($(WITH_CXGB3),yes)<BR>
> +user:        libcxgb3<BR>
> +install_user:        install_libcxgb3<BR>
> +endif<BR>
> +<BR>
>  ifeq ($(WITH_CM),yes)<BR>
>  user:        libibcm<BR>
>  install_user:        install_libibcm<BR>
> @@ -139,6 +145,11 @@ libehca: libibverbs<BR>
>       AM_LDFLAGS="-L../libibverbs/src -libverbs"<BR>
>       @echo "Make libehca done"<BR>
> <BR>
> +libcxgb3: libibverbs<BR>
> +     $(MAKE) -C $(SRC)userspace/libcxgb3 \<BR>
> +     AM_LDFLAGS="-L../libibverbs/src -libverbs"<BR>
> +     @echo "Make libcxgb3 done"<BR>
> +<BR>
>  libibcm: libibverbs<BR>
>       $(MAKE) -C $(SRC)userspace/libibcm \<BR>
>       CPPFLAGS="-I../libibverbs/include" \<BR>
> @@ -281,6 +292,9 @@ install_libipathverbs:    install_libibverb<BR>
>  install_libehca:     install_libibverbs<BR>
>       $(MAKE) -C $(SRC)userspace/libehca install<BR>
>      <BR>
> +install_libcxgb3:    install_libibverbs<BR>
> +     $(MAKE) -C $(SRC)userspace/libcxgb3 install<BR>
> +    <BR>
>  install_libibcm:     install_libmthca<BR>
>       $(MAKE) -C $(SRC)userspace/libibcm install<BR>
>      <BR>
> @@ -385,6 +399,7 @@ clean_user:<BR>
>       $(MAKE) -C $(SRC)userspace/libmthca clean<BR>
>       $(MAKE) -C $(SRC)userspace/libipathverbs clean<BR>
>       $(MAKE) -C $(SRC)userspace/libehca clean<BR>
> +     $(MAKE) -C $(SRC)userspace/libcxgb3 clean<BR>
>       $(MAKE) -C $(SRC)userspace/libibcm clean<BR>
>       # $(MAKE) -C $(SRC)userspace/useraccess-lib clean<BR>
>       $(MAKE) -C $(SRC)userspace/perftest clean<BR>
> diff --git a/configure b/configure<BR>
> index 5f8253e..616ef5c 100755<BR>
> --- a/configure<BR>
> +++ b/configure<BR>
> @@ -58,6 +58,9 @@ Usage:  `basename $0` [options]<BR>
>      --with-libehca include libehca package [yes]<BR>
>      --without-libehca include libehca package [no]<BR>
>     <BR>
> +    --with-libcxgb3 include libcxgb3 package [yes]<BR>
> +    --without-libcxgb3 include libcxgb3 package [no]<BR>
> +<BR>
>      --with-libibcm  include CM package [no]<BR>
>      --without-libibcm  don't include CM package [yes]<BR>
>     <BR>
> @@ -277,6 +280,13 @@ main()<BR>
>                          --without-libehca)<BR>
>                                  WITH_EHCA="no"<BR>
>                          ;;<BR>
> +                        --with-libcxgb3)<BR>
> +                                WITH_CXGB3="yes"<BR>
> +                                WITH_IBVERBS="yes"<BR>
> +                        ;;<BR>
> +                        --without-libcxgb3)<BR>
> +                                WITH_CXGB3="no"<BR>
> +                        ;;<BR>
>                          --with-libibcm)<BR>
>                                  WITH_CM="yes"<BR>
>                                  WITH_MTHCA="yes"<BR>
> @@ -410,6 +420,7 @@ main()<BR>
>                                  # WITH_DAPL="yes"<BR>
>                                  WITH_DIAGS="yes"<BR>
>                                  # WITH_EHCA="yes"<BR>
> +                                WITH_CXGB3="yes"<BR>
>                                  WITH_IBCOMMON="yes"<BR>
>                                  WITH_IBMAD="yes"<BR>
>                                  WITH_IBUMAD="yes"<BR>
> @@ -460,6 +471,7 @@ WITH_IBVERBS=${WITH_IBVERBS:-"no"}<BR>
>  WITH_MTHCA=${WITH_MTHCA:-"no"}<BR>
>  WITH_IPATHVERBS=${WITH_IPATHVERBS:-"no"}<BR>
>  WITH_EHCA=${WITH_EHCA:-"no"}<BR>
> +WITH_CXGB3=${WITH_CXGB3:-"no"}<BR>
>  WITH_CM=${WITH_CM:-"no"}<BR>
>  WITH_SDP=${WITH_SDP:-"no"}<BR>
>  WITH_DAPL=${WITH_DAPL:-"no"}<BR>
> @@ -501,6 +513,7 @@ WITH_IBVERBS=${WITH_IBVERBS}<BR>
>  WITH_MTHCA=${WITH_MTHCA}<BR>
>  WITH_IPATHVERBS=${WITH_IPATHVERBS}<BR>
>  WITH_EHCA=${WITH_EHCA}<BR>
> +WITH_CXGB3=${WITH_CXGB3}<BR>
>  WITH_CM=${WITH_CM}<BR>
>  WITH_SDP=${WITH_SDP}<BR>
>  WITH_DAPL=${WITH_DAPL}<BR>
> @@ -539,6 +552,9 @@ EOFCONFIG<BR>
>          if [ "${WITH_EHCA}" == "yes" ]; then<BR>
>              ullibs="${ullibs} libehca"<BR>
>          fi<BR>
> +        if [ "${WITH_CXGB3}" == "yes" ]; then<BR>
> +            ullibs="${ullibs} libcxgb3"<BR>
> +        fi<BR>
>          if [ "${WITH_CM}" == "yes" ]; then<BR>
>              ullibs="${ullibs} libibcm"<BR>
>          fi<BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> openib-general mailing list<BR>
> openib-general@openib.org<BR>
> <A HREF="http://openib.org/mailman/listinfo/openib-general">http://openib.org/mailman/listinfo/openib-general</A><BR>
><BR>
> To unsubscribe, please visit <A HREF="http://openib.org/mailman/listinfo/openib-general">http://openib.org/mailman/listinfo/openib-general</A><BR>
</FONT>
</P>

</BODY>
</HTML>