| 1 |
Fromscip-debian debian filament 1.9.25+dfsg3-3 filament/patches/`0021-Do-not-build-spirv-with-Werror.patch`#From.: =?utf-8?q?Timo_R=C3=B6hling?= <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian filament 1.9.25+dfsg3-3 filament/patches/`0021-Do-not-build-spirv-with-Werror.patch`#Date.: Sat, 4 May 2024 20:37:47 +0200 |
| 3 |
Subjectscip-debian debian filament 1.9.25+dfsg3-3 filament/patches/`0021-Do-not-build-spirv-with-Werror.patch`#Subject.: Do not build spirv-* with Werror |
| 4 |
|
| 5 |
--- |
| 6 |
third_party/spirv-cross/tnt/CMakeLists.txt | 2 +- |
| 7 |
third_party/spirv-tools/CMakeLists.txt | 2 +- |
| 8 |
2 files changed, 2 insertions(+), 2 deletions(-) |
| 9 |
|
| 10 |
diff --git a/third_party/spirv-cross/tnt/CMakeLists.txtscip-debian debian filament 1.9.25+dfsg3-3 filament/upstream/`third_party/spirv-cross/tnt/CMakeLists.txt`: b/third_party/spirv-cross/tnt/CMakeLists.txtscip-debian debian filament 1.9.25+dfsg3-3 filament/upstream/`third_party/spirv-cross/tnt/CMakeLists.txt`: |
| 11 |
index 25da487..cb375bf 100644 |
| 12 |
--- a/third_party/spirv-cross/tnt/CMakeLists.txt |
| 13 |
+++ b/third_party/spirv-cross/tnt/CMakeLists.txt |
| 14 |
@@ -37,7 +37,7 @@ endif() |
| 15 |
# -DCMAKE_CXX_COMPILE_FLAGS |
| 16 |
# However, we require the C++11 dialect. |
| 17 |
if (NOT "${MSVC}") |
| 18 |
|
| 19 |
+ set(spirv-compiler-options ${spirv-compiler-options} -std=c++11 -Wall -Wextra -Wshadow) |
| 20 |
set(spirv-compiler-defines ${spirv-compiler-defines} __STDC_LIMIT_MACROS) |
| 21 |
|
| 22 |
if(SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS) |
| 23 |
diff --git a/third_party/spirv-tools/CMakeLists.txtscip-debian debian filament 1.9.25+dfsg3-3 filament/upstream/`third_party/spirv-tools/CMakeLists.txt`: b/third_party/spirv-tools/CMakeLists.txtscip-debian debian filament 1.9.25+dfsg3-3 filament/upstream/`third_party/spirv-tools/CMakeLists.txt`: |
| 24 |
index 9ea29ab..f967a87 100755 |
| 25 |
--- a/third_party/spirv-tools/CMakeLists.txt |
| 26 |
+++ b/third_party/spirv-tools/CMakeLists.txt |
| 27 |
@@ -94,7 +94,7 @@ endif(SPIRV_BUILD_COMPRESSION) |
| 28 |
|
| 29 |
option(SPIRV_BUILD_FUZZER "Build spirv-fuzz" OFF) |
| 30 |
|
| 31 |
|
| 32 |
+option(SPIRV_WERROR "Enable error on warning" OFF) |
| 33 |
if(("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") AND (NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC"))) |
| 34 |
set(COMPILER_IS_LIKE_GNU TRUE) |
| 35 |
endif() |