Commit 782a9802 by Ben Clayton

Temporarily disable warnings-as-errors

Updating SPIRV-Headers adds new enum entries that are not handled by switch cases, which causes a warning / error. This will be put back once SPIRV-Tools is also updated. Change-Id: If803398edb9d44753bf3b277dadd060268ea3755
parent 94973a00
......@@ -93,12 +93,14 @@ option(MSAN "Build with memory sanitizer" 0)
option(ASAN "Build with address sanitizer" 0)
option(TSAN "Build with thread sanitizer" 0)
option(UBSAN "Build with undefined behavior sanitizer" 0)
option(WARNINGS_AS_ERRORS "Treat all warnings as errors" 1)
option(WARNINGS_AS_ERRORS "Treat all warnings as errors" 0)
option(DCHECK_ALWAYS_ON "Check validation macros even in release builds" 0)
option(REACTOR_EMIT_DEBUG_INFO "Emit debug info for JIT functions" 0)
option(REACTOR_EMIT_PRINT_LOCATION "Emit printing of location info for JIT functions" 0)
option(REACTOR_VERIFY_LLVM_IR "Check reactor-generated LLVM IR is valid even in release builds" 0)
set(SPIRV_WERROR OFF CACHE BOOL "TEMPORARY WHILE UPDATING SPIRV-Headers SPIRV-Tools")
if(ARCH STREQUAL "arm")
set(DEFAULT_REACTOR_BACKEND "Subzero")
else()
......
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