Re: [PATCH rdma-core] Add -DIN_PLACE=1 to cmake

Doug Ledford
2016-12-23T12:12:19Z

[-- Attachment #1.1: Type: text/plain, Size: 1411 bytes --]

On 12/22/2016 5:30 PM, Steve Wise wrote:
>
>> 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-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
>> ---
>> 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-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>

Thanks, applied, and new -rc version pushed out.

--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG Key ID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]