[dpdk-dev] [PATCH v13 1/6] lib: add information metrics library

Pattan, Reshma reshma.pattan at intel.com
Thu Mar 30 12:01:37 CEST 2017


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton
> Sent: Wednesday, March 29, 2017 7:29 PM
> To: dev at dpdk.org
> Cc: Thomas Monjalon <thomas.monjalon at 6wind.com>
> Subject: [dpdk-dev] [PATCH v13 1/6] lib: add information metrics library
> 

> a/lib/librte_metrics/Makefile b/lib/librte_metrics/Makefile new file mode
> 100644 index 0000000..156ea95
> --- /dev/null
> +++ b/lib/librte_metrics/Makefile
> +include $(RTE_SDK)/mk/rte.vars.mk
> +
> +# library name
> +LIB = librte_metrics.a
> +
> +CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)

All new libraries do add -O3 flag explicitly as of now. 
Looks like higher level make files don't provide -O3 support,  because after compiling using V=1 option i.e. "make -j install T=x86_64-native-linuxapp-gcc V=1",
I don't see any -O3 flags been used for metrics library source files compilation.  So you can check the same and add the flags.

Patchwork has reported couple of warnings you can check them too.

Thanks,
Reshma


More information about the dev mailing list