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

Conversation

jjerphan
Copy link
Collaborator

Reference Issues/PRs

What does this implement or fix?

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

Any other comments?

Checklist

Checklist for code changes...
  • Have you updated the relevant docstrings, documentation and copyright notice?
  • Is this contribution tested against all ArcticDB's features?
  • Do all exceptions introduced raise appropriate error messages?
  • Are API changes highlighted in the PR description?
  • Is the PR labelled as enhancement or bug so it appears in autogenerated release notes?

jjerphan and others added 11 commits April 23, 2024 16:38
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>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
```
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
Copy link
Collaborator Author

Closing as out of the scope due to #1542.

@jjerphan jjerphan closed this May 14, 2024
@jjerphan jjerphan deleted the ci/use-gcc-12-on-linux branch May 14, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant