github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/.github/workflows/sizediff-install-pkgs.sh (about)

     1  # Command that's part of sizediff.yml. This is put in a separate file so that it
     2  # still works after checking out the dev branch (that is, when going from LLVM
     3  # 16 to LLVM 17 for example, both Clang 16 and Clang 17 are installed).
     4  
     5  echo 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main' | sudo tee /etc/apt/sources.list.d/llvm.list
     6  wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
     7  sudo apt-get update
     8  sudo apt-get install --no-install-recommends -y \
     9      llvm-17-dev \
    10      clang-17 \
    11      libclang-17-dev \
    12      lld-17