diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-11-07 17:40:28 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-11-07 17:40:28 +0000 |
commit | d312aca3d66ca62d1c77b44bcf7040cf7e011b9c (patch) | |
tree | 432792fd92b9af8d1fd47de1b7cb3117f1b13062 /CMakeLists.txt | |
parent | c320e4c36c06bc0019fc06eaf00eb064727cfcc0 (diff) |
Add some facilities to work with a git monorepo (experimental setup)
Summary:
Some changes are made to cmake, especially the addition of a new
LLVM_ENABLE_PROJECTS option that makes the build system aware of
the monorepo directory structure.
Also a new script is added in llvm/utils/git-svn/. When present in
the $PATH, it enables a `git llvm` command. It is providing at this
point only the ability to push from the git monorepo: `git llvm push`.
It is intended to evolves with more features, for instance I plan on
features like `git llvm show r284955` to help working with sequential
revision numbers.
The push feature is taken from Justin Lebar's script available here:
https://github.com/jlebar/llvm-repo-tools/
Reviewers: jlebar
Subscribers: mgorny, modocache, llvm-commits
Differential Revision: https://reviews.llvm.org/D26334
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@286123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 73ec5c5..d0e1f55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,6 +144,7 @@ find_path( ${LIBCXXABI_LIBCXX_PATH}/include ${CMAKE_BINARY_DIR}/${LIBCXXABI_LIBCXX_INCLUDES} ${LLVM_MAIN_SRC_DIR}/projects/libcxx/include + ${LLVM_MAIN_SRC_DIR}/../libcxx/include ${LLVM_INCLUDE_DIR}/c++/v1 ) @@ -156,6 +157,7 @@ find_path( PATHS ${LIBCXXABI_LIBCXX_PATH} ${LIBCXXABI_LIBCXX_INCLUDES}/../ ${LLVM_MAIN_SRC_DIR}/projects/libcxx/ + ${LLVM_MAIN_SRC_DIR}/../libcxx/ NO_DEFAULT_PATH ) |