-
Notifications
You must be signed in to change notification settings - Fork 331
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
[cmake] Install libraries in standard directories #685
base: main
Are you sure you want to change the base?
Conversation
Previously, libraries were installed under `lib/swift/${os}/`. They should be installed in the default library directory for the relevant target system. In addition, swiftmodules were installed in the older layout format on non-Darwin platforms. This changes to use the standard modern layout format for swiftmodules.
@compnerd Before I get started on other libraries, is this what you had in mind? |
9ea1bc0
to
34f4919
Compare
@swift-ci please test |
This is going to require a cross-repository test to ensure that the toolchain builds don't break. |
@swift-ci please test |
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.
Feel free to leave a bug report on CMake, but at the moment, GNUINstallDirs
doesn't work for projects that only use Swift
due to how CMake detects the correct library install dirs.
I filed https://gitlab.kitware.com/cmake/cmake/-/issues/26649 for this |
Previously, libraries were installed under
lib/swift/${os}/
. They should be installed in the default library directory for the relevant target system.In addition, swiftmodules were installed in the older layout format on non-Darwin platforms. This changes to use the standard modern layout format for swiftmodules.
Checklist