-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Honor CMAKE_INSTALL_BINDIR #4714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Honor CMAKE_INSTALL_BINDIR #4714
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/apple/swift-corelibs-foundation/blob/main/CMakeLists.txt#L53 includes GNUInstallDirs
so we should be fine.
@swift-ci please test |
@swift-ci please test Linux platform |
The Linux CI build is still hitting the seemingly unrelated:
|
@swift-ci please test Linux platform |
The linux CI still failed on an apparently unrelated issue. It's succeeded building and failed in tests:
|
@swift-ci please test Linux platform |
Ah! It looks like in the linux build, |
The latest change scopes down to only replacing |
@swift-ci please test |
CMake install places binary files under the
CMAKE_INSTALL_BINDIR
subdirectory, but some CMake files hardcodebin
instead (the default value). This change un-hardcodes these. This has no effect by default, but it will allow redirecting the binaries to a different output directory, which will help with packaging installers for multiple architectures in the Windows build.