[llvm-dev] Understanding the version handling in LLVM/Clang/LLD

Sedat Dilek via llvm-dev llvm-dev at lists.llvm.org
Fri May 22 06:50:03 PDT 2020


> I will also double check some older binaries from
> <https://snapshot.debian.org/> to see if I recall correct and decide
> if I need a red or blue pill.
>

OK, I have installed clang-7 version 1:7.0.1~+rc3-1 from
snapshot.debian.org (see instructions below).

In times of SVN we had a tags/RELEASE_XXX/rcY:

# LC_ALL=C clang-7 -v
clang version 7.0.1-+rc3-1 (tags/RELEASE_701/rc3)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64

Maybe I mixed that up.

Is that different with switching to Git?

- Sedat -

P.S.: Instructions

LINK: https://stackoverflow.com/questions/26369769/install-packages-from-the-debian-snapshot-archives-repo
LINK: https://snapshot.debian.org/package/llvm-toolchain-7/1%3A7.0.1%7E%2Brc3-2/

# cat /etc/apt/sources.list.d/debian-snapshot.list
deb http://snapshot.debian.org/archive/debian/20181214 unstable main

# cat /etc/apt/preferences.d/990_debian-snapshot
Package: *
Pin: origin "snapshot.debian.org"
Pin-Priority: 990

# apt-get -o Acquire::Check-Valid-Until=false update

# apt-cache policy clang-7
clang-7:
  Installed: None
  Candidate: 1:7.0.1~+rc3-1
  Version table:
     1:7.0.1-12 99
         99 http://ftp.debian.org/debian unstable/main amd64 Packages
         99 https://deb.debian.org/debian unstable/main amd64 Packages
     1:7.0.1-8 500
        500 http://ftp.debian.org/debian buster/main amd64 Packages
        500 https://deb.debian.org/debian buster/main amd64 Packages
     1:7.0.1~+rc3-1 990
        990 http://snapshot.debian.org/archive/debian/20181214
unstable/main amd64 Packages

# apt-get install --no-install-recommends --allow-unauthenticated
clang-7=1:7.0.1~+rc3-1 libclang-common-7-dev=1:7.0.1~+rc3-1
libclang1-7=1:7.0.1~+rc3-1 libllvm7=1:7.0.1~+rc3-1 -t unstable -y

- EOT -


More information about the llvm-dev mailing list