mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-18 11:10:05 +00:00
Increase the template nesting depth for clang. (#1995)
We started hitting this limit, so increaseing from 256 to 1024. Fixes #1994.
This commit is contained in:
parent
67ebe3f7ae
commit
c5a6d259c2
@ -139,6 +139,8 @@ function(spvtools_default_compile_options TARGET)
|
||||
target_compile_options(${TARGET} PRIVATE
|
||||
-fsanitize=${SPIRV_USE_SANITIZER})
|
||||
endif()
|
||||
target_compile_options(${TARGET} PRIVATE
|
||||
-ftemplate-depth=1024)
|
||||
else()
|
||||
target_compile_options(${TARGET} PRIVATE
|
||||
-Wno-missing-field-initializers)
|
||||
|
Loading…
Reference in New Issue
Block a user