Getting the path to Clang

Félix Cloutier felix at felixcloutier.com
Fri Jan 20 06:21:55 UTC 2017


Hi all,

I’m the owner of a project that requires Clang in order to build C files to LLVM bitcode. Currently, we’re trying to invoke "clang" and "clang++" directly; however, on systems where users install clang-3.9, the compiler names are clang-3.9 and clang++-3.9.

Is there any hint anywhere (for instance, in a CMake file) that the name of the Clang compiler is clang-3.9, or are users expected to make a clang symlink?

Thanks!

Félix


More information about the Pkg-llvm-team mailing list