Skip to content

Update LLVM and clang from 14.0.4 to 14.0.6 #2711

Merged
merged 3 commits into from
Jul 12, 2022

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    ac4056d View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. llvm: Build all targets

    The [/pkg-package builds all targets][1], so do the same here.
    
    Currently:
    
        $ clang --version
        clang version 14.0.4
        Target: x86_64-unknown-linux-gnu
        Thread model: posix
        InstalledDir: /usr/bin
        $ clang --print-targets
          Registered Targets:
            amdgcn - AMD GCN GPUs
            bpf    - BPF (host endian)
            bpfeb  - BPF (big endian)
            bpfel  - BPF (little endian)
            r600   - AMD GPUs HD2XXX-HD6XXX
            x86    - 32-bit X86: Pentium-Pro and above
            x86-64 - 64-bit X86: EM64T and AMD64
    
    After enabling all targets (and rebuilding/updating clang in the
    follow-up commit):
    
        $ clang --version
        clang version 14.0.6
        Target: x86_64-unknown-linux-gnu
        Thread model: posix
        InstalledDir: /usr/bin
        pmenzel@invidia:~$ clang --print-targets
          Registered Targets:
            aarch64    - AArch64 (little endian)
            aarch64_32 - AArch64 (little endian ILP32)
            aarch64_be - AArch64 (big endian)
            amdgcn     - AMD GCN GPUs
            arm        - ARM
            arm64      - ARM64 (little endian)
            arm64_32   - ARM64 (little endian ILP32)
            armeb      - ARM (big endian)
            avr        - Atmel AVR Microcontroller
            bpf        - BPF (host endian)
            bpfeb      - BPF (big endian)
            bpfel      - BPF (little endian)
            hexagon    - Hexagon
            lanai      - Lanai
            mips       - MIPS (32-bit big endian)
            mips64     - MIPS (64-bit big endian)
            mips64el   - MIPS (64-bit little endian)
            mipsel     - MIPS (32-bit little endian)
            msp430     - MSP430 [experimental]
            nvptx      - NVIDIA PTX 32-bit
            nvptx64    - NVIDIA PTX 64-bit
            ppc32      - PowerPC 32
            ppc32le    - PowerPC 32 LE
            ppc64      - PowerPC 64
            ppc64le    - PowerPC 64 LE
            r600       - AMD GPUs HD2XXX-HD6XXX
            riscv32    - 32-bit RISC-V
            riscv64    - 64-bit RISC-V
            sparc      - Sparc
            sparcel    - Sparc LE
            sparcv9    - Sparc V9
            systemz    - SystemZ
            thumb      - Thumb
            thumbeb    - Thumb (big endian)
            ve         - VE
            wasm32     - WebAssembly 32-bit
            wasm64     - WebAssembly 64-bit
            x86        - 32-bit X86: Pentium-Pro and above
            x86-64     - 64-bit X86: EM64T and AMD64
            xcore      - XCore
    
    This increases the (compressed) package archive size by 24 MB.
    
        $ ls -lh /src/mariux/beeroot/packages/llvm-14*
        -rw-r--r-- 1 pmenzel pmenzel  84M Jun  3 15:33 /src/mariux/beeroot/packages/llvm-14.0.4-0.x86_64.bee.tar.bz2
        -rw-r--r-- 1 pmenzel pmenzel 108M Jul 11 23:50 /src/mariux/beeroot/packages/llvm-14.0.6-0.x86_64.bee.tar.bz2
        $ ls -lh /src/mariux/beeroot/packages/clang-14*
        -rw-r--r-- 1 pmenzel pmenzel 203M Jun  4 12:09 /src/mariux/beeroot/packages/clang-14.0.4-0.x86_64.bee.tar.bz2
        -rw-r--r-- 1 pmenzel pmenzel 204M Jul 12 01:28 /src/mariux/beeroot/packages/clang-14.0.6-0.x86_64.bee.tar.bz2
    
    [1]: https://github.molgen.mpg.de/mariux64/pkg-scripts/blob/1aa449293642bf8e43a390ff089e720e9e9796c7/llvm-12.0.1-0.build.sh#L53
    pmenzel committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    758b83f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    958e219 View commit details
    Browse the repository at this point in the history