[PATCH] D45604: Support for multiarch runtimes layout

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 1 18:23:07 PDT 2018


phosek updated this revision to Diff 144819.
phosek added a comment.

I've modified the patch following @rnk suggestion, the new layout is enabled by a single CMake option `CLANG_ENABLE_PER_TARGET_RUNTIME_DIR`. I'm still working on fixing tests, but I've tested the build and it's working for both `runtimes/` and `projects/` layout. Let me know what you think.


Repository:
  rL LLVM

https://reviews.llvm.org/D45604

Files:
  clang/CMakeLists.txt
  clang/include/clang/Config/config.h.cmake
  clang/include/clang/Driver/Driver.h
  clang/lib/Driver/ToolChain.cpp
  clang/lib/Driver/ToolChains/Fuchsia.cpp
  clang/lib/Driver/ToolChains/Fuchsia.h
  clang/lib/Driver/ToolChains/Linux.cpp
  clang/test/Driver/Inputs/resource_dir_with_multiarch_subdir/i386-linux-gnu/lib/.keep
  clang/test/Driver/Inputs/resource_dir_with_multiarch_subdir/include/c++/v1/.keep
  clang/test/Driver/Inputs/resource_dir_with_multiarch_subdir/x86_64-linux-gnu/lib/.keep
  clang/test/Driver/fuchsia.cpp
  clang/test/Driver/linux-ld.c
  compiler-rt/cmake/Modules/AddCompilerRT.cmake
  compiler-rt/cmake/Modules/CompilerRTUtils.cmake
  compiler-rt/cmake/Modules/SanitizerUtils.cmake
  compiler-rt/cmake/base-config-ix.cmake
  compiler-rt/cmake/config-ix.cmake
  libcxx/CMakeLists.txt
  libcxx/cmake/Modules/HandleLibCXXABI.cmake
  libcxx/include/CMakeLists.txt
  libcxxabi/CMakeLists.txt
  libunwind/CMakeLists.txt
  llvm/cmake/modules/LLVMExternalProjectUtils.cmake
  llvm/lib/Support/Unix/Host.inc
  llvm/runtimes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45604.144819.patch
Type: text/x-patch
Size: 26737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180502/afd3b5b3/attachment.bin>


More information about the llvm-commits mailing list