Itaru Kitayama via llvm-dev
2020-Feb-18 08:52 UTC
[llvm-dev] Clang (built by trunk Clang) -v output
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/20200218/5e03f802/attachment.html>
Itaru Kitayama via llvm-dev
2020-Feb-20 22:44 UTC
[llvm-dev] Clang (built by trunk Clang) -v output
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>