mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-27 15:49:52 -05:00
Fix the Deps Build Failing After a Dependency's Patch Changes (#17957)
Unpack a dependency's source again when its patches change When a pull replaced, edited or removed one of a dependency's patches, the next deps build failed at the patch step (OCCT after the seam patch was replaced) or kept the old change in the source. The deps build now unpacks that dependency fresh before patching it, while builds whose patches are unchanged unpack nothing. The first deps build after this change unpacks each patched dependency once.
This commit is contained in:
1 parent
6a055745ad
commit
4fc4d11972
2 files changed
+61
-3
No files matched your search
+3
-3
@@ -7,9 +7,9 @@
|
||||
# changes the format to "uOu", as upstream does (python/cpython#159237), until the pinned
|
||||
# CPython release carries the fix.
|
||||
#
|
||||
# Applying is idempotent: ExternalProject re-runs the patch step when PATCH_COMMAND changes or
|
||||
# the patch stamp is missing, which can happen on a source tree that already carries the patch.
|
||||
# A reverse check recognises that state instead of failing the build on an already patched file.
|
||||
# Applying is idempotent: ExternalProject re-runs the patch step when the patch stamp is missing,
|
||||
# which can happen on a source tree that already carries the patch. A reverse check recognises
|
||||
# that state instead of failing the build on an already patched file.
|
||||
# When the pinned CPython release carries the fix, drop this script, its patch and PATCH_COMMAND.
|
||||
|
||||
set(_patch "${CMAKE_CURRENT_LIST_DIR}/0001-winapi-createprocess-audit-format.patch")
|
||||
|
||||
Reference in new issue
Block a user