Skip to contentSkip to conversation

SPDK cross compilation for ARM on x86 host

SPDK ssunder at xilinx.com 1 participant 1 message Oct 9, 2020

lore
Share & tools
lore

ssunder at xilinx.com

#0 lore raw

Hi,

I am trying to cross compile the SPDK for ARM on x86 platform. My first question is:
1. Has anyone tried this before or is it supported ?

2. I tried to cross compile SPDK on x86 platform and partially achieved some success. But it seems SPDK does depends on tons of libraries other than DPDK or ISA-L. These libraries should be already installed in the system and in case if any library has not installed then ./script/pkgdep.sh takes care of that. The issue with pkgdep.sh is, it has no awareness of the cross compilation and resolve the dependency based on native OS/platform.

2.a: May anyone suggest a plain list of dependent libraries so that I can manually pull them and cross compile them along with SPDK ? 2.b: Is there anything I can do with pkgdep.sh to make it aware of cross compilation ?