From: Peter Somogyi Date: Mon, 12 Feb 2007 15:47:12 +0000 (+0100) Subject: Some minor changes before integrating ib... X-Git-Tag: tevent-0.9.20~348^2~2972^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b6f1c39e7b8b423e28fbfed09577d8e7f9d1de0;p=thirdparty%2Fsamba.git Some minor changes before integrating ib... (This used to be ctdb commit fa39ad5054de6e781ca980b9e24d22fa0c67e9ae) --- diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in index 1db76a8a812..764e78a2502 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 00000000000..3e6150afe33 --- /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 similarity index 100% rename from ctdb/tests/ibwrapper_test.c rename to ctdb/ib/ibwrapper_test.c