]> granicus.if.org Git - clang/commit
[clang] Fix clean build of generate-order-file
authorAlexander Shaposhnikov <shal1t712@gmail.com>
Sat, 31 Dec 2016 05:25:52 +0000 (05:25 +0000)
committerAlexander Shaposhnikov <shal1t712@gmail.com>
Sat, 31 Dec 2016 05:25:52 +0000 (05:25 +0000)
commit021fcf99fa531ede83709ea6efa6dcef9e9690de
tree8080a95194a655453ab0896e760305e8763929a6
parentff65ccf9af58b5763922ba061dd9237b76904c42
[clang] Fix clean build of generate-order-file

This diff fixes the clean build of the target generate-order-file.
In llvm/tools/clang/CMakeLists.txt
add_subdirectory(utils/perf-training) should go after the block where
the value of the variable CLANG_ORDER_FILE is set - otherwise
(tested with cmake's version 3.6.2) the arguments of perf-helper.py gen-order-file
will be ill-formed (CLANG_ORDER_FILE will be empty).

Differential revision: https://reviews.llvm.org/D28153

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290781 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
utils/perf-training/CMakeLists.txt