cd6683331d
When compiling the ACL library on a system without AVX2 support,
the flags used to compile the AVX2-specific code for later run-time
use were not based on the regular cflags for the rest of the library.
This can cause errors due to symbols being missed/undefined
due to incorrect flags. For example,
when testing compilation on Alpine linux, we got:
error: unknown type name 'cpu_set_t'
due to _GNU_SOURCE not being defined in the cflags.
This issue can be fixed by appending "-mavx2" to
the cflags rather than replacing them with it.
Fixes:
|
||
---|---|---|
.. | ||
acl_bld.c | ||
acl_gen.c | ||
acl_run_altivec.c | ||
acl_run_altivec.h | ||
acl_run_avx2.c | ||
acl_run_avx2.h | ||
acl_run_neon.c | ||
acl_run_neon.h | ||
acl_run_scalar.c | ||
acl_run_sse.c | ||
acl_run_sse.h | ||
acl_run.h | ||
acl_vect.h | ||
acl.h | ||
Makefile | ||
meson.build | ||
rte_acl_osdep.h | ||
rte_acl_version.map | ||
rte_acl.c | ||
rte_acl.h | ||
tb_mem.c | ||
tb_mem.h |