[cmake] Add a separate CMake var to control profile runtime
authorMichal Gorny <mgorny@gentoo.org>
Mon, 2 Oct 2017 05:03:55 +0000 (05:03 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Mon, 2 Oct 2017 05:03:55 +0000 (05:03 +0000)
commit806b8d56a2b28e7f16945cfa78affb9fdce16179
treec5bb8a66668e0646f5e18bd873111bfdf2ca45e0
parentdaf5adc6c1b689517f9b7f3f0ad18f1481034eba
[cmake] Add a separate CMake var to control profile runtime

Make it possible to control building profile runtime separately from
other options. Before r313549, the profile runtime building was
controlled along with sanitizers. However, since that commit it is built
unconditionally which results in multiple builds for people building
different runtimes separately.

Differential Revision: https://reviews.llvm.org/D38441

llvm-svn: 314646
compiler-rt/CMakeLists.txt
compiler-rt/lib/CMakeLists.txt
compiler-rt/test/CMakeLists.txt