Repository navigation
Fix OCCT 8.0.2 installed package paths - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OCCT 8.0.2 changed its generated installed
OpenCASCADEConfig.cmake: the relocatable install branch is correct, but the file also retains an unreachableelse()build-tree branch containing absolute producer source/build paths. The SDK relocation/leak check correctly rejected/work/src, so the first 8.0.2 publication attempt could not complete.This adds a shared post-install normalizer that recognizes that constant install-tree branch, keeps the
PACKAGE_PREFIX_DIR-based relocatable content, and removes only the unreachable build-tree branch. Linux, macOS, and both Windows linkage builds run it immediately after installation and before validation/packaging. Older/future configs without this exact dead branch are left unchanged.Validation:
83f9abe9477af36e4ca218e1468068aed052779fPACKAGE_PREFIX_DIRbash -ngit diff --checkpasses