summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Somogyi <psomogyi@gamax.hu>2007-02-12 16:47:12 +0100
committerPeter Somogyi <psomogyi@gamax.hu>2007-02-12 16:47:12 +0100
commit8b6f1c39e7b8b423e28fbfed09577d8e7f9d1de0 (patch)
tree2646bf8e1c07ad2ff7a22f3e50941a330f99ddfc
parent3e9e91103bf38e198dd84bc50f0e1cdb96cf2ea2 (diff)
downloadsamba-8b6f1c39e7b8b423e28fbfed09577d8e7f9d1de0.tar.gz
samba-8b6f1c39e7b8b423e28fbfed09577d8e7f9d1de0.tar.xz
samba-8b6f1c39e7b8b423e28fbfed09577d8e7f9d1de0.zip
Some minor changes before integrating ib...
(This used to be ctdb commit fa39ad5054de6e781ca980b9e24d22fa0c67e9ae)
-rw-r--r--ctdb/Makefile.in4
-rw-r--r--ctdb/ib/README.txt11
-rw-r--r--ctdb/ib/ibwrapper_test.c (renamed from ctdb/tests/ibwrapper_test.c)0
3 files changed, 13 insertions, 2 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in
index 1db76a8a81..764e78a250 100644
--- a/ctdb/Makefile.in
+++ b/ctdb/Makefile.in
@@ -57,9 +57,9 @@ bin/ctdb_bench: $(OBJS) ctdb_bench.o
@echo Linking $@
@$(CC) $(CFLAGS) -o $@ ctdb_bench.o $(OBJS) $(LIB_FLAGS)
-bin/ibwrapper_test: $(OBJS) tests/ibwrapper_test.o
+bin/ibwrapper_test: $(OBJS) ib/ibwrapper_test.o
@echo Linking $@
- @$(CC) $(CFLAGS) -o $@ tests/ibwrapper_test.o $(OBJS) $(LIB_FLAGS)
+ @$(CC) $(CFLAGS) -o $@ ib/ibwrapper_test.o $(OBJS) $(LIB_FLAGS)
clean:
rm -f *.o */*.o */*/*.o
diff --git a/ctdb/ib/README.txt b/ctdb/ib/README.txt
new file mode 100644
index 0000000000..3e6150afe3
--- /dev/null
+++ b/ctdb/ib/README.txt
@@ -0,0 +1,11 @@
+Compilation
+===========
+
+For the configure script, please set the OFED include & library path by e.g.:
+
+export CFLAGS="-I/usr/local/ofed/include -L/usr/local/ofed/lib"
+
+After then:
+
+./configure --enable-infiniband
+
diff --git a/ctdb/tests/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c
index 65877872fd..65877872fd 100644
--- a/ctdb/tests/ibwrapper_test.c
+++ b/ctdb/ib/ibwrapper_test.c