[PATCH] D35533: [Basic] Update CMakeLists.txt to handle Repo with git

Don Hinton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 6 17:06:48 PDT 2017


hintonda added a comment.

I just looked into both approaches and believe the one taken in AddLLVM.cmake is correct and handles the submodule case correctly.  It uses `git rev-parse --git-dir` to find the location of the actual .git directory.

Please see https://reviews.llvm.org/D31985 for details.


https://reviews.llvm.org/D35533





More information about the cfe-commits mailing list