[ofa-general] [PATCH] opensm: remove libibcommon build dependencies
Sasha Khapyorsky
sashak at voltaire.com
Sun Dec 21 15:34:24 PST 2008
libibumad doesn't depend from libibcommon anymore - so remove this build
dependency from OpenSM too.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/config/osmvsel.m4 | 4 ++--
opensm/include/vendor/osm_vendor_ibumad.h | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opensm/config/osmvsel.m4 b/opensm/config/osmvsel.m4
index c7798cc..c24930b 100644
--- a/opensm/config/osmvsel.m4
+++ b/opensm/config/osmvsel.m4
@@ -64,8 +64,8 @@ with_sim="/usr")
dnl based on the with_osmv we can try the vendor flag
if test $with_osmv = "openib"; then
AC_DEFINE(OSM_VENDOR_INTF_OPENIB, 1, [Define as 1 for OpenIB vendor])
- OSMV_INCLUDES="-I\$(srcdir)/../include -I\$(srcdir)/../../libibcommon/include -I\$(srcdir)/../../libibumad/include -I\$(includedir)"
- OSMV_LDADD="-L\$(abs_srcdir)/../../libibumad/.libs -L\$(abs_srcdir)/../../libibcommon/.libs -L\$(libdir) -libumad -libcommon"
+ OSMV_INCLUDES="-I\$(srcdir)/../include -I\$(srcdir)/../../libibumad/include -I\$(includedir)"
+ OSMV_LDADD="-L\$(abs_srcdir)/../../libibumad/.libs -L\$(libdir) -libumad"
if test "x$with_umad_libs" != "x"; then
OSMV_LDADD="-L$with_umad_libs $OSMV_LDADD"
diff --git a/opensm/include/vendor/osm_vendor_ibumad.h b/opensm/include/vendor/osm_vendor_ibumad.h
index 3a3f070..e346a2e 100644
--- a/opensm/include/vendor/osm_vendor_ibumad.h
+++ b/opensm/include/vendor/osm_vendor_ibumad.h
@@ -41,7 +41,6 @@
#include <opensm/osm_base.h>
#include <opensm/osm_log.h>
-#include <infiniband/common.h>
#include <infiniband/umad.h>
#ifdef __cplusplus
--
1.6.0.4.766.g6fc4a
More information about the general
mailing list