libclc: Use echo rather than true for try_compile
authorDaniel Stone <daniels@collabora.com>
Tue, 14 Apr 2020 04:40:20 +0000 (00:40 -0400)
committerJan Vesely <jano.vesely@gmail.com>
Tue, 14 Apr 2020 14:03:27 +0000 (10:03 -0400)
commitacf079006e6dbdd23300e9289cc8d8197aab5fb5
tree7db4c81659bb013dd465df6cb91e9a6386e80cc9
parente6bb1d69eccc612e54fd1a0b63ca3dcc84c3a6fa
libclc: Use echo rather than true for try_compile

When providing a fake compiler, libclc currently uses 'true' which does
not exist on Windows. Use echo instead as the no-op.

reviewer: jvesely
Differential Revision: https://reviews.llvm.org/D77163
libclc/cmake/CMakeTestCLCCompiler.cmake
libclc/cmake/CMakeTestLLAsmCompiler.cmake