Function "apply_patches" checks out the branch, where patches are applied if it already exists:
|
else() # The target branch already exists |
I think the logic here might lead to unexpected issues, e.g. if you download new opencl-clang commit, where a new patch is introduced, it won't be applied if the branch is not manually deleted.
Maybe the function should delete the branch at first step?
Function "apply_patches" checks out the branch, where patches are applied if it already exists:
opencl-clang/cmake/modules/CMakeFunctions.cmake
Line 71 in 51fd5b9
I think the logic here might lead to unexpected issues, e.g. if you download new opencl-clang commit, where a new patch is introduced, it won't be applied if the branch is not manually deleted.
Maybe the function should delete the branch at first step?