]> granicus.if.org Git - llvm/commit
Merging r323053:
authorTom Stellard <tstellar@redhat.com>
Thu, 17 May 2018 03:11:35 +0000 (03:11 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 17 May 2018 03:11:35 +0000 (03:11 +0000)
commit133e52e9957c189bdcac597c3ae98737f3c5783e
treeb23b067f72d9333314e44c30f006c88773b69c30
parent641e06cac5df4fb0f75f8ec93748b40d3be89cdc
Merging r323053:

------------------------------------------------------------------------
r323053 | dhinton | 2018-01-20 16:29:00 -0800 (Sat, 20 Jan 2018) | 9 lines

[cmake] Don't build Native llvm-config when cross compiling if passed by user.

Summary:
Rename LLVM_CONFIG_EXE to LLVM_CONFIG_PATH, and avoid building it if
passed in by user.  This is the same way CLANG_TABLEGEN and
LLVM_TABLEGEN are handled, e.g., when -DLLVM_OPTIMIZED_TABLEGEN=ON is
passed.

Differential Revision: https://reviews.llvm.org/D41806
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@332568 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-config/CMakeLists.txt