This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Get libcxx building under LLVM/runtimes
ClosedPublic

Authored by beanz on Aug 18 2016, 2:34 PM.

Details

Summary

The new LLVM runtimes build directory requires some basic conventions across the runtime projects. These changes make libcxx build under the runtimes subdirectory. The general idea of the changes is that the runtimes subdirectory requires some conventions to be consistent across runtime projects.

I expect to have a few more small patches that build on this to tie up check targets and other things useful in development workflows.

Summary of changes in this patch:

  • Renamed variable LLVM_CONFIG -> LLVM_CONFIG_PATH
  • Renamed variable LIBCXX_BUILT_STANDALONE -> LIBCXX_STANDALONE_BUILD
  • Add an include of AddLLVM in the tests subdirectory for add_lit_testsuite.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz updated this revision to Diff 68610.Aug 18 2016, 2:34 PM
beanz retitled this revision from to [CMake] Get libcxx building under LLVM/runtimes.
beanz updated this object.
beanz added a reviewer: EricWF.
beanz added a subscriber: cfe-commits.
EricWF accepted this revision.Aug 18 2016, 2:35 PM
EricWF edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 18 2016, 2:35 PM
This revision was automatically updated to reflect the committed changes.