Unverified Commit 2b715228 authored by Diego Caballero's avatar Diego Caballero Committed by GitHub

Disable -Werror by default in nGraph build (#4296)

This PR disables treating warnings as errors by default so that
nGraph can be built with compiler versions that are not currently
tested in CI. We could enable Werror in CI for those compiler versions
we want to target for warning-free builds.
Co-authored-by: 's avatarRobert Kimball <robert.kimball@intel.com>
parent be111fdb
......@@ -143,7 +143,7 @@ option(NGRAPH_PLAIDML_STATIC_LIB_ENABLE "Enable build PlaidML backend as a stati
option(NGRAPH_DYNAMIC_COMPONENTS_ENABLE "Enable dynamic loading of components" TRUE)
option(NGRAPH_NATIVE_ARCH_ENABLE "Enable build for native archtecture" TRUE)
option(NGRAPH_EXPORT_TARGETS_ENABLE "Enable exporting nGraph cmake export targets" TRUE)
option(NGRAPH_WARNINGS_AS_ERRORS "Make all nGraph compile-time warnings into errors" TRUE)
option(NGRAPH_WARNINGS_AS_ERRORS "Make all nGraph compile-time warnings into errors" FALSE)
if (NGRAPH_CPU_ENABLE)
option(NGRAPH_TBB_ENABLE "Control usage of TBB for CPU backend" TRUE)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment