Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/gha: Add ARM64 QEMU jobs for clang and clang-snapshot #1414

Merged

Commits on Sep 3, 2023

  1. ci/Dockerfile: Always use versioned clang packages

    This commit switches to a new strategy to make sure we're installing the
    most recent LLVM packages. Before this commit, we used the unversioned
    LLVM packages (e.g., `clang` instead of `clang-18`), which are supposed
    to provide the latest snapshot, but this is broken for arm64 [1],
    which we want to add in a later PR.
    
    Anyway, the new approach is cleaner because it does not require us to
    fiddle with the installed `clang` package by removing a symlink.
    
    [1] llvm/llvm-project#64790
    
    Co-authored-by: Hennadii Stepanov <[email protected]>
    real-or-random and hebasto committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    6ebe7d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b8a647 View commit details
    Browse the repository at this point in the history
  3. ci/Dockerfile: Warn if ulimit -n is too high when running Docker

    The underlying issue does not affect our CI hosts, but is an issue on my
    development machine (Arch Linux). In particular, this affects the vanilla
    configuration of Docker on systemd, which has effectively no limit:
    https://github.com/docker/packaging/blob/11400a3f5a20f2e3eecc3e6347a2ad9ce41278c7/pkg/docker-engine/common/systemd/docker.service#L31
    
    I hope this saves future generations some precious hours of their life.
    real-or-random committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    2f0d3bb View commit details
    Browse the repository at this point in the history
  4. ci/Dockerfile: Reduce size of Docker image further

     - No need to have wget installed
     - Clean up rm -rf /var/lib/apt/lists/, see
       https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
    real-or-random committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    e78c7b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2635068 View commit details
    Browse the repository at this point in the history