Can we install Mallanox libraries alone without installing the driver to build Infiniband code?

Our Build machine has custom kernel and we don’t have its source code. Mlx ofed install with -add-kernel-support option looks for source code and it fails. Is there anyway to install only required libraries to build the infiniband code. Since this is build machine, we are not going to run the code in that and it doesn’t anyway has IB adapters.

Hello Sayi,

Thank you for posting your question on the Mellanox Community.

As per your question, unfortunately when trying to rebuild the MLNX_OFED/MLNX_EN driver for another kernel other than the default kernel, you need the source of that kernel available to build against.

Thank you,

~Mellanox Technical Support