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: Use a C++20 compliant devtoolset on Linux #1521

Closed
wants to merge 11 commits into from

Commits on Apr 23, 2024

  1. ci: Use a C++20 compliant devtoolset on Linux

    GCC/stdlibc++ 12 is supporting all of C++20
    language features and most C++20 library features.
    
    See:
    https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/12/html-single/user_guide/index
    See:
    https://en.cppreference.com/w/cpp/compiler_support/20#C.2B.2B20_library_features
    
    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    
    Co-authored-by: Alex Seaton <alexbseaton@gmail.com>
    jjerphan and poodlewars committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    5049da6 View commit details
    Browse the repository at this point in the history
  2. Test devtoolset-11

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    05b33ae View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Try egor-tensin/setup-gcc@v1 instead

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    fa3d00b View commit details
    Browse the repository at this point in the history
  2. Build wheels with manylinux_2_28 instead of with manylinux2014

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    4410dac View commit details
    Browse the repository at this point in the history
  3. Use newer toolchain on AlmaLinux

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    46a4b00 View commit details
    Browse the repository at this point in the history
  4. Import GPG key from AlmaLinux 8

    See: https://almalinux.org/blog/2023-12-20-almalinux-8-key-update/
    
    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    8b0a474 View commit details
    Browse the repository at this point in the history
  5. Set env variables

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    b02a9cc View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Add more environment variables

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    d4116aa View commit details
    Browse the repository at this point in the history
  2. Also install CMake and Ninja

    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    e7fc510 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    daadcda View commit details
    Browse the repository at this point in the history
  4. Do not install cmake as cmake 3.29.2 is already available

    ```
    2024-04-25T07:45:36.9840649Z -- Running vcpkg install
    2024-04-25T07:45:36.9860781Z warning: Embedding `vcpkg-configuration` in a manifest file is an EXPERIMENTAL feature.
    2024-04-25T07:45:37.0397302Z A suitable version of cmake was not found (required v3.27.1) Downloading portable cmake 3.27.1...
    2024-04-25T07:45:37.0398379Z Downloading cmake...
    2024-04-25T07:45:37.0400198Z https://github.com/Kitware/CMake/releases/download/v3.27.1/cmake-3.27.1-linux-x86_64.tar.gz->/project/cpp/vcpkg/downloads/cmake-3.27.1-linux-x86_64.tar.gz
    2024-04-25T07:45:37.7742343Z Extracting cmake...
    2024-04-25T07:45:39.9299697Z Detecting compiler hash for triplet x64-linux...
    2024-04-25T07:45:40.1154987Z error: while detecting compiler information:
    2024-04-25T07:45:40.1156196Z The log file content at "/project/cpp/vcpkg/buildtrees/detect_compiler/stdout-x64-linux.log" is:
    2024-04-25T07:45:40.1157864Z -- Found ninja('1.8.2') but at least version 1.10.2 is required! Trying to use internal version if possible!
    2024-04-25T07:45:40.1160826Z -- Downloading https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip -> ninja-linux-1.10.2.zip...
    2024-04-25T07:45:40.1162166Z -- Configuring x64-linux-rel
    ```
    
    Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
    jjerphan committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    1d62067 View commit details
    Browse the repository at this point in the history