Skip to content

SR-2100 - Add support for multi-lib systems #15260

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

Closed
wants to merge 9 commits into from
Closed

SR-2100 - Add support for multi-lib systems #15260

wants to merge 9 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 15, 2018

SR-2100 - Add support for multi-lib systems

Creates a new --libdir-suffix option to set a suffix for the library directory, so Linux
systems that uses "lib64" for 64-bit libraries (like Fedora) could package Swift without
the need for patches.

This option works by setting a new LIBDIR variable, use on all invocations of the
build-script, and passing down the option to subprojects as needed.

When no suffix is defined, uses the "lib" folder as currently it does under Ubuntu systems

For this to work properly when compiling a full swift distribution, the pull requests of
the other projects must be accepted, otherwise, the build will fail.

Felipe Bugno and others added 9 commits October 31, 2017 21:59
 - Creating build variable for proper suffixing of lib as lib64 as required for proper multilib
can select it with the build modifier --libdir-suffix
when using the build-script from swift source tree.

So, with a --libdir-suffix=64, everything will be
compiled to work and install files on /usr/lib64
for example.

Ommiting it should default to a plain lib, without
a suffix.
Fix change on build-script-impl for lib(suffix) with upstream
@ghost
Copy link
Author

ghost commented May 31, 2018

I will close this pull request for now.

Too much work on the other repositories that this change depends on before it could be integrated that need to be accepted first. Just leaving this lingering on open is increasing the number of file conflicts, making the merge difficult.

@ghost ghost closed this May 31, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant