b2bb3a5daa
Add RTE_DEVEL_BUILD make-variable which can be used to do things differently when doing development vs building a release, autodetected from source root .git presence and overridable via commandline. It is used it to enable -Werror compiler flag and may be extended to other checks. Failing build on warnings is a useful developer tool but its bad for release tarballs which can and do get built with newer compilers than what was used/available during development. Compilers routinely add new warnings so code which built silently with cc X might no longer do so with X+1. This doesn't make the existing code any more buggier and failing the build in this case does not help to improve the quality of an already released version either. This change the default flags which can be tuned with EXTRA_CFLAGS. Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> |
||
---|---|---|
.. | ||
img | ||
build_app.rst | ||
dev_kit_build_system.rst | ||
dev_kit_root_make_help.rst | ||
env_abstraction_layer.rst | ||
ext_app_lib_make_help.rst | ||
extend_dpdk.rst | ||
glossary.rst | ||
hash_lib.rst | ||
index.rst | ||
intro.rst | ||
ip_fragment_reassembly_lib.rst | ||
ivshmem_lib.rst | ||
kernel_nic_interface.rst | ||
link_bonding_poll_mode_drv_lib.rst | ||
lpm6_lib.rst | ||
lpm_lib.rst | ||
mbuf_lib.rst | ||
mempool_lib.rst | ||
multi_proc_support.rst | ||
overview.rst | ||
packet_classif_access_ctrl.rst | ||
packet_distrib_lib.rst | ||
packet_framework.rst | ||
perf_opt_guidelines.rst | ||
poll_mode_drv.rst | ||
port_hotplug_framework.rst | ||
power_man.rst | ||
profile_app.rst | ||
qos_framework.rst | ||
reorder_lib.rst | ||
ring_lib.rst | ||
source_org.rst | ||
thread_safety_dpdk_functions.rst | ||
timer_lib.rst | ||
vhost_lib.rst | ||
writing_efficient_code.rst |