[cfe-users] cmake error with cmake 3.9.1

2017-08-18 Thread Masaru Tsuchiyama via cfe-users
Hello I updated cmake to 3.9.1, then got the following error message on Win10. I don't get this error with cmake 3.7.1. Do you know what is wrong? a bug of cmake? > "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -D CMAKE_INSTALL_PREFIX=c:\clang -D CMAKE_BUILD_TYPE=Release .. -- The C compile

[cfe-users] How to tell Clang which version of CUDA to use ?

2017-08-18 Thread Jean-Loup Tastet via cfe-users
Hi, I am trying to use Clang to compile CUDA device code. I followed the instructions in [1] and compiled the latest Clang trunk [2]. However, my system has both CUDA 8.0 and 9.0 RC installed, in `/usr/local/cuda-{8.0,9.0}`. The default `/usr/local/cuda` is symlinked to `/usr/local/cuda-8.0`. Cl