Skip to content

Commit 9af0685

Browse files
Update spirv-llvm-translator.conf (#5566)
Signed-off-by: Whitney Tsang <[email protected]>
1 parent ea30f11 commit 9af0685

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

third_party/intel/cmake/FindSPIRVToLLVMTranslator.cmake

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -145,29 +145,6 @@ if (NOT SPIRVToLLVMTranslator_FOUND)
145145
if(NOT PATCH_RESULT EQUAL 0)
146146
message(FATAL_ERROR "Failed to apply revert_3407.patch to SPIRV-LLVM-Translator")
147147
endif()
148-
149-
execute_process(
150-
COMMAND git apply --check ${CMAKE_CURRENT_LIST_DIR}/3462.patch
151-
WORKING_DIRECTORY ${spirv-llvm-translator_SOURCE_DIR}
152-
ERROR_QUIET
153-
RESULT_VARIABLE PATCH_RESULT
154-
)
155-
if(PATCH_RESULT EQUAL 0)
156-
execute_process(
157-
COMMAND git apply ${CMAKE_CURRENT_LIST_DIR}/3462.patch
158-
WORKING_DIRECTORY ${spirv-llvm-translator_SOURCE_DIR}
159-
RESULT_VARIABLE PATCH_RESULT
160-
)
161-
else()
162-
execute_process( # Check if the patch is already applied
163-
COMMAND git apply --reverse --check ${CMAKE_CURRENT_LIST_DIR}/3462.patch
164-
WORKING_DIRECTORY ${spirv-llvm-translator_SOURCE_DIR}
165-
RESULT_VARIABLE PATCH_RESULT
166-
)
167-
endif()
168-
if(NOT PATCH_RESULT EQUAL 0)
169-
message(FATAL_ERROR "Failed to apply 3462.patch to SPIRV-LLVM-Translator")
170-
endif()
171148
endif()
172149

173150
set(SPIRVToLLVMTranslator_INCLUDE_DIR "${SPIRVToLLVMTranslator_SOURCE_DIR}/include"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
af594c0b45250fefa2093dfc31cb14d1eb6a32f2
1+
a726c62f8456c1eda0c1a689c24b95a7e7c95040

0 commit comments

Comments
 (0)