[Pvfs2-cvs] commit by pw in pvfs2: Makefile.in configure.in

CVS commit program cvs at parl.clemson.edu
Thu Jul 19 10:54:41 EDT 2007


Update of /projects/cvsroot/pvfs2
In directory parlweb1:/tmp/cvs-serv1793

Modified Files:
	Makefile.in configure.in 
Log Message:
Initial addition of portals BMI method.


Index: Makefile.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/Makefile.in,v
diff -u -p -p -u -r1.245 -r1.246
--- Makefile.in	18 Jul 2007 20:52:15 -0000	1.245
+++ Makefile.in	19 Jul 2007 14:54:41 -0000	1.246
@@ -67,6 +67,7 @@ BUILD_GM = @BUILD_GM@
 BUILD_MX = @BUILD_MX@
 BUILD_IB = @BUILD_IB@
 BUILD_OPENIB = @BUILD_OPENIB@
+BUILD_PORTALS = @BUILD_PORTALS@
 BUILD_VIS = @BUILD_VIS@
 BUILD_KARMA = @BUILD_KARMA@
 BUILD_EPOLL = @BUILD_EPOLL@
@@ -332,6 +333,15 @@ endif
     LIBS += $(OPENIBLIBS)
     LIBS_THREADED += $(OPENIBLIBS)
     SERVERLIBS += $(OPENIBLIBS)
+endif
+
+# Portals
+ifdef BUILD_PORTALS
+    CFLAGS += -D__STATIC_METHOD_BMI_PORTALS__
+    PORTALSLIBS := -L at PORTALS_LIBDIR@ -lp3api -lp3lib -lp3utcp -lp3rt
+    LIBS += $(PORTALSLIBS)
+    LIBS_THREADED += $(PORTALSLIBS)
+    SERVERLIBS += $(PORTALSLIBS)
 endif
 
 # enable mmap-readahead cache (unless disabled by configure)

Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -u -p -p -u -r1.318 -r1.319
--- configure.in	18 Jul 2007 07:02:29 -0000	1.318
+++ configure.in	19 Jul 2007 14:54:41 -0000	1.319
@@ -953,6 +953,11 @@ if test -n "$BUILD_OPENIB" ; then
 fi
 
 dnl
+dnl Configure bmi_portals, if --with-portals or a variant given.
+dnl
+AX_PORTALS
+
+dnl
 dnl check if fgetxattr takes extra arguments
 AC_MSG_CHECKING([for fgetxattr extra arguments])
 AC_TRY_COMPILE([
@@ -1145,6 +1150,7 @@ src/io/bmi/bmi_tcp/module.mk
 src/io/bmi/bmi_gm/module.mk
 src/io/bmi/bmi_mx/module.mk
 src/io/bmi/bmi_ib/module.mk
+src/io/bmi/bmi_portals/module.mk
 src/io/description/module.mk
 src/io/flow/module.mk
 src/io/flow/flowproto-bmi-trove/module.mk



More information about the Pvfs2-cvs mailing list