[openib-general] [PATCH] uDAPL makefile

Arlin Davis ardavis at ichips.intel.com
Fri Jul 29 17:25:14 PDT 2005


James,

no longer need to link with mthca.so

-arlin

Signed-off by: Arlin Davis <ardavis at ichips.intel.com>


Index: dapl/udapl/Makefile
===================================================================
--- dapl/udapl/Makefile (revision 2919)
+++ dapl/udapl/Makefile (working copy)
@@ -122,7 +122,8 @@
 #
 ifeq ($(VERBS),openib)
 PROVIDER = $(TOPDIR)/../openib
-CFLAGS   += -DOPENIB -DCQ_WAIT_OBJECT
+CFLAGS   += -DOPENIB
+#CFLAGS   += -DCQ_WAIT_OBJECT
 CFLAGS   += -I/usr/local/include/infiniband
 endif

@@ -232,9 +233,8 @@
 endif

 ifeq ($(VERBS),openib)
-LDFLAGS += -libverbs /usr/local/lib/infiniband/mthca.so -libcm
+LDFLAGS += -libverbs -libcm -libat
 LDFLAGS += -rpath /usr/local/lib -L /usr/local/lib
-LDFLAGS += -rpath /usr/local/lib/infiniband -L /usr/local/lib/infiniband
 PROVIDER_SRCS  = dapl_ib_util.c dapl_ib_cq.c dapl_ib_qp.c
 PROVIDER_SRCS += dapl_ib_cm.c dapl_ib_mem.c
 endif




More information about the general mailing list