summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/spirv-tools/remove-copyright-check-test.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/user/spirv-tools/remove-copyright-check-test.patch b/user/spirv-tools/remove-copyright-check-test.patch
new file mode 100644
index 000000000..7cd1cf879
--- /dev/null
+++ b/user/spirv-tools/remove-copyright-check-test.patch
@@ -0,0 +1,16 @@
+diff '--color=auto' -Nurd SPIRV-Tools-2024.3/CMakeLists.txt SPIRV-Tools-2024.3.new/CMakeLists.txt
+--- SPIRV-Tools-2024.3/CMakeLists.txt 2024-06-20 07:29:42.000000000 -0700
++++ SPIRV-Tools-2024.3.new/CMakeLists.txt 2024-08-27 20:52:51.548196076 -0700
+@@ -376,12 +376,6 @@
+ ${CMAKE_INSTALL_INCLUDEDIR}/spirv-tools/)
+ endif(ENABLE_SPIRV_TOOLS_INSTALL)
+
+-if (NOT "${SPIRV_SKIP_TESTS}")
+- add_test(NAME spirv-tools-copyrights
+- COMMAND Python3::Interpreter utils/check_copyright.py
+- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
+-endif()
+-
+ set(SPIRV_LIBRARIES "-lSPIRV-Tools-opt -lSPIRV-Tools -lSPIRV-Tools-link")
+ set(SPIRV_SHARED_LIBRARIES "-lSPIRV-Tools-shared")
+