Agree, it is not possible as it is written now. Opened an issue, see here https://github.com/spdk/spdk/issues/711 Sent from Mail for Windows 10 From: Harris, James R Sent: Monday, March 11, 2019 17:23 To: Storage Performance Development Kit Subject: Re: [SPDK] Compiling error on different types of Intel CPU On 3/11/19, 5:49 AM, "SPDK on behalf of Ernest Zed" wrote: Hi, In continuation to this issue from May 2018, I dont see anything changed in make file, SPDK is being built with the same `-march=native` which hit us hard two days ago when we upgraded our build machine to the latest Xeon which supports AVX512. Our test machines does not have this extension so binaries built on newer machine wont run on older ones. Meanwhile I gonna change the `-march=native` to something like `-march=core-avx-i`. But is it possible to change the `configure` script to pass additional compilation flags to the `make`? Hi Ernest, I don't think it's possible today. There's a way to pass CFLAGS to configure, but if I'm reading the Makefile correctly, any arch definition you put there would get overridden by the march=native. The DPDK and ISA-L submodules would also need plumbing to pass through the arch setting. I think we'll want to create a separate variable specific for arch, rather than try to 'fix' the CFLAGS handling in the configure script. This is a pretty reasonable request though - could you file an issue in the SPDK GitHub tracker for this? Please also add in the issue if this is something you'd be interested in working on. Thanks, -Jim _______________________________________________ SPDK mailing list SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk _______________________________________________ SPDK mailing list SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk