Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rdma-core 18 build (#50) #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

patrickmacarthur
Copy link
Collaborator

The rdma-core 18 build depends on many more kernel headers than
rdma-core 17. Fix the CCAN includes from the rdma-core 18 headers
because the directory structure in rdma-core was modified, whereas we
keep a more vanilla layout.

Add all of the userspace ABI kernel headers to the source tree so we can
build against the newer rdma-core version.

The updated build has been tested on my local system against rdma-core
17 and 18 and appears to work correctly.

Signed-off-by: Patrick MacArthur patrick@patrickmacarthur.net

The rdma-core 18 build depends on many more kernel headers than
rdma-core 17. Fix the CCAN includes from the rdma-core 18 headers
because the directory structure in rdma-core was modified, whereas we
keep a more vanilla layout.

Add all of the userspace ABI kernel headers to the source tree so we can
build against the newer rdma-core version.

The updated build has been tested on my local system against rdma-core
17 and 18 and appears to work correctly.

Signed-off-by: Patrick MacArthur <patrick@patrickmacarthur.net>
The include files that we added were not visible to the build system so
they were not included in generated tarballs. Fix that.

Signed-off-by: Patrick MacArthur <patrick@patrickmacarthur.net>
The rdma-core 18 headers require a modified version of ib_user_verbs.h,
which we create as a separate file. Remove this copy when the user runs
"make distclean" to avoid a failure during "make distcheck".

Signed-off-by: Patrick MacArthur <patrick@patrickmacarthur.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant