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

cmake: remove Findpciaccess.cmake #12776

Merged
merged 1 commit into from Jan 6, 2017
Merged

Conversation

optimistyzy
Copy link
Contributor

Now SPDK uses the DPDK's library for PCI device
enumeration, we can remove this dependency

Signed-off-by: optimistyzy optimistyzy@gmail.com

@optimistyzy
Copy link
Contributor Author

@yuyuyu101 @liupan1111

target_include_directories(os
PRIVATE
${DPDK_INCLUDE_DIR}
${PCIACCESS_INCLUDE_DIR})
${DPDK_INCLUDE_DIR})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then you might need to remove find_package(pciaccess REQUIRED) in CMakeLists.txt and #include <pciaccess.h> in NVMEDevice.h as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me update it

@tchaikov tchaikov changed the title cmake,modules: remove Findpciaccess.cmake cmake: remove Findpciaccess.cmake Jan 4, 2017
Now SPDK uses the DPDK's library for PCI device
enumeration, we can remove this dependency

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
@liupan1111
Copy link
Contributor

lgtm too.

@yuyuyu101 yuyuyu101 merged commit 836c568 into ceph:master Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants