Spdk/mk
root de8f3a50ee mk: Fix debug build error on ARM ThunderX2 and neoverse N1 platform
When building spdk on ARM platform like thunderx2 with --enable-debug,
there are following error:

/tmp/ccOBb4AF.s: Assembler messages:
/tmp/ccOBb4AF.s:45: Error: selected processor does not support `casp x0,x1,x2,x3,[x4]'
/tmp/ccOBb4AF.s:77: Error: selected processor does not support `caspa x0,x1,x2,x3,[x4]'
/tmp/ccOBb4AF.s:109: Error: selected processor does not support `caspl x0,x1,x2,x3,[x4]'
/tmp/ccOBb4AF.s:141: Error: selected processor does not support `caspal x0,x1,x2,x3,[x4]'

The reason is that DPDK is built with -march=armv8.1-a or -march=armv8.2-a+lse which
have these instructions while SPDK is built with -march=armv8-a+crc which does not support
them. Change spdk build machine to native can fix this.

Signed-off-by: Rui Chang <rui.chang@arm.com>
Change-Id: I759d4ce2c557ce5ff73a802d7a4b6579c4ba64f7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7025
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-03-25 08:29:09 +00:00
..
nvme.libtest.mk build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdk_blank.map mk: add a placeholder map file. 2020-05-14 10:37:14 +00:00
spdk.app_cxx.mk mk: support file extension for executables 2021-03-15 09:29:10 +00:00
spdk.app_vars.mk build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdk.app.mk mk: support file extension for executables 2021-03-15 09:29:10 +00:00
spdk.common.mk mk: Fix debug build error on ARM ThunderX2 and neoverse N1 platform 2021-03-25 08:29:09 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.fio.mk test/common: Don't enable werror on FreeBSD 2021-03-18 13:24:50 +00:00
spdk.lib_deps.mk bdev/nvme: Use the accelerated_engine 2021-03-23 10:09:39 +00:00
spdk.lib.mk build: install generated pkg-config files 2021-03-17 11:10:45 +00:00
spdk.mock.unittest.mk mk: add mocking for mingw cross builds 2021-03-03 08:16:54 +00:00
spdk.modules.mk NVMe/vfio-user: add initial version vfio-user transport to NVMe driver 2021-01-21 05:00:18 +00:00
spdk.nvmecli.mk vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
spdk.subdirs.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.unittest.mk mk: support file extension for executables 2021-03-15 09:29:10 +00:00