On 2017-03-22 12:22 PM, Jason Gunthorpe wrote:
On Wed, Mar 22, 2017 at 11:44:49AM -0400, Jarod Wilson wrote:
I'm attempting to build rdma-core v13 rpms... On my el7 host, they build
just fine. But when I try to build them in mock (using the epel-7-x86_64
target), I hit this:
CMake Error at providers/mlx5/cmake_install.cmake:98 (FILE):
file INSTALL cannot find
"/builddir/build/BUILD/rdma-core-13/providers/mlx5/libmlx5-rdmav2.so".
I am not sure why mock would be different, but that file should be a
symlink, it is created during the initial run of cmake.
It was added in this patch:
commit 07764bc805ba8f50539a7b1e2655e86acbdb87ed
Author: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Date: Mon Jan 30 11:12:52 2017 +0200
mlx5: Export mlx5 direct verbs interface
Install direct verbs header file into /usr/include/infiniband/
folder and allow for possible users to explicitly include it
into their applications.
And it is created by this call here:
+ rdma_install_symlink("${DEST_LINK_PATH}" "${VERBS_PROVIDER_DIR}/lib${DEST}-rdmav2.so")
Make sure there are no errors from the cmake step??
The addition of 'relpath' in that commit means that python is now a
BuildRequires of the rdma-core package. Once I added that, the package
built in mock just fine. Will send a patch for it shortly.
--
Jarod Wilson
jarod@xxxxxxxxxx
--
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