[libcxx-commits] [PATCH] D107892: [runtimes] Allow overriding where CMake installs RUNTIME type libraries (DLLs)

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 11 04:50:36 PDT 2021


mstorsjo created this revision.
mstorsjo added a reviewer: phosek.
Herald added a subscriber: mgorny.
Herald added a project: libunwind.
Herald added a reviewer: libunwind.
mstorsjo requested review of this revision.
Herald added projects: libc++, libc++abi.
Herald added a reviewer: libc++.
Herald added a reviewer: libc++abi.

Currently this is hardcoded to the directory 'bin' under the
install prefix, but when doing per-target runtime builds, all
of these would end up in the same bin directory (where that bin
directory is for the native compiler itself, not for cross target
executables).

Default to bin/${LLVM_DEFAULT_TARGET_TRIPLE}, and let the user
override it.

For existing per-target runtime configurations on Windows, this
does change where the output binaries are placed (but before,
one couldn't use it for more than one target at a time anyway
as the build products would clobber each other).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107892

Files:
  libcxx/CMakeLists.txt
  libcxx/src/CMakeLists.txt
  libcxxabi/CMakeLists.txt
  libcxxabi/src/CMakeLists.txt
  libunwind/CMakeLists.txt
  libunwind/src/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107892.365718.patch
Type: text/x-patch
Size: 7451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210811/40cdebe3/attachment.bin>


More information about the libcxx-commits mailing list