Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang 10 from llvm.org not recognized #1330

Closed
imag0r opened this issue Jun 24, 2020 · 2 comments
Closed

clang 10 from llvm.org not recognized #1330

imag0r opened this issue Jun 24, 2020 · 2 comments
Labels
bug a bug in the product Feature: kits
Milestone

Comments

@imag0r
Copy link

imag0r commented Jun 24, 2020

Brief Issue Summary

VSCode fails to detect clang 10 from apt.llvm.org

Setup: VSCode with CMake tools 1.4.1 using SSH remote to Debian 10 machine with freshly installed clang-10 from https://apt.llvm.org/ (using the automatic installation script)

Expected:

clang-10 kit detected and available for use

Apparent Behavior:

kit not detected

CMake Tools Log

2020-06-24T21:12:55.734Z [debug] [kit] Bad Clang binary /usr/bin/clang -v output: Debian clang version 10.0.1-++20200618012613+f5a9c661a35-1exp120200617233238.175
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Candidate multilib: .;@m64
Selected multilib: .;@m64

Platform and Versions

  • Operating System: Debian 10 (Buster)
  • CMake Version: 3.13.4
  • VSCode Version: 1.46.1 + Remote SSH 0.51.0
  • CMake Tools Extension Version: 1.4.1
  • Compiler/Toolchain: CLang 10, use automatic install script from https://apt.llvm.org/

Other Notes/Information

@bobbrow
Copy link
Member

bobbrow commented Jun 24, 2020

I submitted a PR to fix this. Thanks for the bug report!

@bobbrow bobbrow added bug a bug in the product Feature: kits labels Jun 24, 2020
@bobbrow bobbrow added this to the 1.5.0 milestone Jun 24, 2020
@bobbrow bobbrow removed this from the 1.5.0 milestone Sep 17, 2020
@bobbrow
Copy link
Member

bobbrow commented Sep 17, 2020

This is available in 1.4.2

@bobbrow bobbrow closed this as completed Sep 17, 2020
@bobbrow bobbrow added this to the 1.4.2 milestone Sep 17, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug a bug in the product Feature: kits
Projects
None yet
Development

No branches or pull requests

2 participants