summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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