-
Notifications
You must be signed in to change notification settings - Fork 156
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
Fixing the conda-build with DOCA enabled and upgrading to CMake 3.25 #1386
Fixing the conda-build with DOCA enabled and upgrading to CMake 3.25 #1386
Conversation
/ok to test |
/ok to test |
/ok to test |
@mdemoret-nv @cwharris |
Can you try again? This is what I am doing: export MORPHEUS_SUPPORT_DOCA=ON
export DOCA_REPO_HOST=...
export DOCA_ARTIFACTS_HOST=...
./docker/build_container_release.sh
./docker/run_container_release.sh And then you can verify its linking against doca libraries: (morpheus) root@xyz123:/workspace# ldd /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca.cpython-310-x86_64-linux-gnu.so
/opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca.cpython-310-x86_64-linux-gnu.so: /usr/lib/x86_64-linux-gnu/libnl-3.so.200: no version information available (required by /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca/../../../../../libibverbs.so.1)
/opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca.cpython-310-x86_64-linux-gnu.so: /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200: no version information available (required by /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca/../../../../../libibverbs.so.1)
linux-vdso.so.1 (0x00007ffef3574000)
libmorpheus_doca.so => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca/libmorpheus_doca.so (0x00007ff98dfaf000)
libmrc_pymrc.so => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/../../../../libmrc_pymrc.so (0x00007ff98de15000)
libpython3.10.so.1.0 => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/../../../../libpython3.10.so.1.0 (0x00007ff98da78000)
libpthread.so.0 => /usr/lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff98da69000)
libcudart.so.11.0 => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/../../../../libcudart.so.11.0 (0x00007ff98d600000)
libstdc++.so.6 => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/../../../../libstdc++.so.6 (0x00007ff98d41d000)
libgcc_s.so.1 => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/../../../../libgcc_s.so.1 (0x00007ff98da4c000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007ff98d1f5000)
libmorpheus.so => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca/../libmorpheus.so (0x00007ff98c981000)
libdoca_eth.so.2 => /opt/mellanox/doca/lib/x86_64-linux-gnu/libdoca_eth.so.2 (0x00007ff98da41000)
libdoca_flow.so.2 => /opt/mellanox/doca/lib/x86_64-linux-gnu/libdoca_flow.so.2 (0x00007ff98c551000)
libdoca_gpunetio.so.2 => /opt/mellanox/doca/lib/x86_64-linux-gnu/libdoca_gpunetio.so.2 (0x00007ff98da38000)
librte_eal.so.23 => /opt/mellanox/dpdk/lib/x86_64-linux-gnu/librte_eal.so.23 (0x00007ff98d929000)
libmrc.so => /opt/conda/envs/morpheus/lib/python3.10/site-packages/morpheus/_lib/doca/../../../../../libmrc.so (0x00007ff98c08d000) |
/ok to test |
Co-authored-by: Christopher Harris <[email protected]>
Co-authored-by: Christopher Harris <[email protected]>
/ok to test |
LGTM
|
/merge |
This PR fixes the DOCA modules with building with
MORPHEUS_SUPPORT_DOCA=ON
. In addition, the following changes needed to be made:CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
(and similar variables) using theblock()
functionrdma-core>=48
rdma-core=28.9