> This configures the paths to run the software from the local build > directory. Much of this is done automatically by how cmake uses rpath, > but the two cases where we dlopen things have to be handled by us. > > The simple solution is to hard wire the build directory path into the > binaries. > > 'etc' is also relocated to build/etc/ as that is part of how the verbs > providers are located. > > Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> > --- > CMakeLists.txt | 23 +++++++++++++++++++++-- > README.md | 3 ++- > build.sh | 4 ++-- > buildlib/rdma_functions.cmake | 4 ++-- > ibacm/CMakeLists.txt | 5 +++++ > 5 files changed, 32 insertions(+), 7 deletions(-) > > Steve, this is a refined version of what I sent you ealier, does it > work for you? > I was able to run rping from build/bin/rping and it loaded build/lib/libcxgb4-rdmav2.so, so it worked for me. Tested-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html