]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: do not check OFED_PREFIX anymore
authorKefu Chai <kchai@redhat.com>
Sat, 1 Aug 2020 05:17:44 +0000 (13:17 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 1 Aug 2020 05:23:18 +0000 (13:23 +0800)
OFED_PREFIX was added to compile with xio messenger for supporting RDMA
using the Accelio and/or MLNX_OFED package. but xio messenger was removed in
in cc9a9142fd41ee5c98792c6f6d2e5504

let remove the leftover in CMakeLists

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
README.md

index 452f0b0278e78d365e2b5b00434e0ff6bb93f2d8..d6b12db1470784d0fb99beecd3042be1c6dd817a 100644 (file)
@@ -76,11 +76,6 @@ if(WIN32)
   add_definitions(-include winsock_wrapper.h)
 endif()
 
-if(OFED_PREFIX)
-  include_directories(SYSTEM ${OFED_PREFIX}/include)
-  link_directories(${OFED_PREFIX}/lib)
-endif()
-
 if(FREEBSD)
   include_directories(SYSTEM /usr/local/include)
   link_directories(/usr/local/lib)
index 686e1083bfaa5725e36bdb85832f0df1c804781b..13a1b57a515bda736018c9338753be7ec9f60b27 100644 (file)
--- a/README.md
+++ b/README.md
@@ -93,8 +93,8 @@ defaulted to ON. To build without the RADOS Gateway:
 Another example below is building with debugging and alternate locations 
 for a couple of external dependencies:
 
-       cmake -DLEVELDB_PREFIX="/opt/hyperleveldb" -DOFED_PREFIX="/opt/ofed" \
-       -DCMAKE_INSTALL_PREFIX=/opt/accelio -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" \
+       cmake -DLEVELDB_PREFIX="/opt/hyperleveldb" \
+       -DCMAKE_INSTALL_PREFIX=/opt/ceph -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" \
        ..
 
 To view an exhaustive list of -D options, you can invoke `cmake` with: