This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Support specifying the libdir suffix for runtimes separately
AbandonedPublic

Authored by mgorny on Oct 27 2016, 1:59 AM.

Details

Reviewers
beanz
Summary

Add LLVM_RUNTIMES_LIBDIR_SUFFIX cache variable to allow configuring
the libdir suffix for runtimes separately, and store its value in
LLVMConfig.

This change originates from D23752 which aimed to add the support for
this override in clang. The goal is to support sharing a common runtime
directory between multiple multilib variants of LLVM/clang.

For example, on a multilib amd64 system the 64-bit and 32-bit versions
of clang libraries could both use the same runtime. This is possible
because runtime consists of arch-independent headers and libraries that
are arch-suffixed already.

Diff Detail

Event Timeline

mgorny updated this revision to Diff 75993.Oct 27 2016, 1:59 AM
mgorny retitled this revision from to [cmake] Support specifying the libdir suffix for runtimes separately.
mgorny updated this object.
mgorny added a reviewer: beanz.
mgorny added a subscriber: llvm-commits.
mgorny abandoned this revision.Oct 28 2016, 12:00 AM
mgorny added a subscriber: chandlerc.

Since @chandlerc rejected the clang part, this makes no sense anymore.