[llvm-dev] Clang (built by trunk Clang) -v output

Itaru Kitayama via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 20 14:44:50 PST 2020


I wasn't setting one of the CMake variables, GCC_INSTALL_PREFIX to an
existing
GCC location. After fixing that and ran a LLVM build, I get a desired clang
-v output.

On Tue, Feb 18, 2020 at 5:52 PM Itaru Kitayama <itaru.kitayama at gmail.com>
wrote:

> Hi,
>
> I get:
> $ clang -v
> clang version 11.0.0 (/home/usr4/c74014i/projects/llvm-project/clang
> 11053a1cc61afaabf2df2b8345d8d392c88cd508)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> InstalledDir: /home/usr4/c74014i/opt/clang/current/bin
> Found CUDA installation: /home/app/cuda/10.1, version 10.1
>
> , but Clang built with GCC looks correct to me:
> $ clang -v
> clang version 11.0.0 (/home/usr4/c74014i/projects/llvm-project/clang
> 857b655d7aac50462ffd0154b9d6c4f18119ddfb)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> InstalledDir: /home/usr4/c74014i/opt/clang/stable/bin
> Found candidate GCC installation:
> /home/usr4/c74014i/opt/gcc-7.5.0/lib/gcc/x86_64-pc-linux-gnu/7.5.0
> Selected GCC installation:
> /home/usr4/c74014i/opt/gcc-7.5.0/lib/gcc/x86_64-pc-linux-gnu/7.5.0
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> Found CUDA installation: /home/app/cuda/10.1, version 10.1
>
> does that mean I did not build Clang properly with trunk Clang?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200221/451169ec/attachment.html>


More information about the llvm-dev mailing list