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

Add more compiler support #76

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

neatudarius
Copy link
Member

@neatudarius neatudarius commented Nov 11, 2024

Partial fix for #77

  • clang-20 full suport (local preset + CI)
  • clang-16 partial support (only local preset support; llvm.sh fails to install clang-16 on CI).

More discussions will be done in bemanproject/beman#34. This PR just allows us to tests on more setups.

image

@neatudarius neatudarius force-pushed the enable_more_compilers branch 2 times, most recently from 917326b to 892bc6e Compare November 11, 2024 10:54
@neatudarius neatudarius force-pushed the enable_more_compilers branch from 892bc6e to b0af8f2 Compare November 11, 2024 10:54
@neatudarius neatudarius changed the title Enable clang-20 support Add more compiler support Nov 11, 2024
# Note: clang-19 + Asan setup causes errors on some platforms. Temporary skip some checks via .asan_options.
- {name: "Ubuntu Clang 19", os: ubuntu-24.04, toolchain: "clang-19", clang_version: 19, installed_clang_version: 17, cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" ", asan_options: "new_delete_type_mismatch=0"}
- {name: "Ubuntu GCC 12", os: ubuntu-24.04, toolchain: "gcc-12", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu GCC 13", os: ubuntu-24.04, toolchain: "gcc-13", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
- {name: "Ubuntu Clang 18", os: ubuntu-24.04, toolchain: "clang-18", clang_version: 18, installed_clang_version: 17, cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" "}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just reordering for clang-18/17 and gcc-12, 13, 14 to match the order from local presets json. Ordering: latest first.

@neatudarius neatudarius marked this pull request as ready for review November 11, 2024 11:22
@neatudarius neatudarius merged commit 90ebb59 into bemanproject:main Nov 11, 2024
8 checks passed
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.

2 participants