5

I've tried installing both clang-9, clang-9-tools, llvm-9 and llvm-9-tools in order to get the program llvm-cov. None of these packages seemingly contain llvm-cov, which leaves me to wonder what package does include it.

How do I install the latest version of llvm-cov on Ubuntu 18.04?

  • The site you want is [packages.ubuntu.com](https://packages.ubuntu.com/search?searchon=contents&keywords=llvm-cov&mode=exactfilename&suite=bionic&arch=any). – arnt Nov 28 '19 at 07:46
  • 1
    @arnt Thank's. What is surprising me is that llvm-cov doesn't appear in any package newer than version 6? There seems to be documentation online for newer versions of llvm-cov. – Rasmus Källqvist Nov 28 '19 at 08:48
  • The [only documentation I see for ubuntu](https://manpages.ubuntu.com/cgi-bin/search.py?q=llvm-cov) is from 6.0. Of course llvm-cov remains in the source and in other distributions. If you want to know why, [the build details are in a git repo](https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git%20-b%206.0). – arnt Nov 28 '19 at 09:11

1 Answers1

4

When installing using apt-get install llvm-9, llvm-cov will be installed with a suffix of the version number as well.

It seems the main registry of llvm installs just llvm v6.

Mordil
  • 108
  • 1
  • 7