Skip to content

clang-tools still download binary even native binary exist #37

Closed
@shenxianpeng

Description

@shenxianpeng

clang-tools still download binary even native binary exists, and new created symbolic link does not link to the native binary.

Successfully installed clang-tools-0.6.1
gitpod /workspace/clang-tools-pip (main) $ which clang-format
/usr/bin/clang-format
gitpod /workspace/clang-tools-pip (main) $ clang-format --version
clang-format version 10.0.0-4ubuntu1 
gitpod /workspace/clang-tools-pip (main) $ clang-tools -i 10
Found a installed version of clang-format: 10.0.0 at /usr/lib/llvm-10/bin/clang-format
downloading clang-format (version 10)
    |████████████████████| 100% (of 2647984 bytes)
Installing clang-format-10 to /home/gitpod/.local/bin/
symbolic link created /home/gitpod/.local/bin/clang-format
Found a installed version of clang-tidy: 10.0.0 at /usr/lib/llvm-10/bin/clang-tidy
downloading clang-tidy (version 10)
    |████████████████████| 100% (of 34110384 bytes)
Installing clang-tidy-10 to /home/gitpod/.local/bin/
symbolic link created /home/gitpod/.local/bin/clang-tidy
gitpod /workspace/clang-tools-pip (main) $ 

gitpod /workspace/clang-tools-pip (main) $ ls -l /home/gitpod/.local/bin/clang-format
lrwxrwxrwx 1 gitpod gitpod 39 Oct 13 03:43 /home/gitpod/.local/bin/clang-format -> /home/gitpod/.local/bin/clang-format-10
gitpod /workspace/clang-tools-pip (main) $ ls -l /home/gitpod/.local/bin/clang-tidy
lrwxrwxrwx 1 gitpod gitpod 37 Oct 13 03:43 /home/gitpod/.local/bin/clang-tidy -> /home/gitpod/.local/bin/clang-tidy-10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions