Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2018-10-19 18:59:01 +0300
committerGitHub <noreply@github.com>2018-10-19 18:59:01 +0300
commitc5a6d259c2fb2ce5835878109628bfda31785c24 (patch)
tree54043cf440ec78037836c7203f445079151b5d1a /CMakeLists.txt
parent67ebe3f7aebe73426a3bf9718dba56f051d75db5 (diff)
Increase the template nesting depth for clang. (#1995)
We started hitting this limit, so increaseing from 256 to 1024. Fixes #1994.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28077f2d9..0f992fce4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)