We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ecaa4 commit d518019Copy full SHA for d518019
cmake/modules/CMakeFunctions.cmake
@@ -146,6 +146,7 @@ function(apply_patches repo_dir patches_dirs base_revision target_branch ret)
146
WORKING_DIRECTORY ${repo_dir}
147
OUTPUT_VARIABLE patching_log
148
ERROR_QUIET
149
+ RESULT_VARIABLE ret_apply_patch
150
)
151
message(STATUS "[OPENCL-CLANG] Not present - ${patching_log}")
152
endif()
@@ -161,6 +162,8 @@ function(apply_patches repo_dir patches_dirs base_revision target_branch ret)
161
162
163
if (NOT (ret_not_git_repo OR ret_check_out OR ret_apply_patch))
164
set(${ret} True PARENT_SCOPE)
165
+ else()
166
+ message(FATAL_ERROR "[OPENCL-CLANG] Failed to apply patch!")
167
168
endfunction()
169
0 commit comments