Skip to content

build: clean up obsolete logic for old compilers #4849

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Aug 4, 2025

  • Enforce gcc, clang, and apple clang minimum versions.

  • Raise advertised minimum clang version to 10.0. Error for clang < 5,
    which we know is the true minimum because earlier than that won't
    support C++17 which we require. But in truth, we haven't tested
    versions older than 10.0 for a long time, so we should not be
    implying we know older versions will work or that we will support
    them.

  • Simplify cases no longer relevant for older gcc and clang.

  • Remove unneeded gcc guard in simd.h. I think it was important only
    for gcc 5! But it was also preventing the slightly faster construct
    from activating for clang. Seems to pass all our CI jobs with this
    simplified.

@lgritz lgritz force-pushed the lg-gccver branch 2 times, most recently from 0005231 to 549dc84 Compare August 5, 2025 06:31
* Enforce gcc, clang, and apple clang minimum versions.

* Raise advertised minimum clang version to 10.0. Error for clang < 5,
  which we know is the true minimum because earlier than that won't
  support C++17 which we require. But in truth, we haven't tested
  versions older than 10.0 for a long time, so we should not be
  implying we know older versions will work or that we will support
  them.

* Simplify cases no longer relevant for older gcc and clang.

* Remove unneeded gcc guard in simd.h.  I think it was important only
  for gcc 5! But it was also preventing the slightly faster construct
  from activating for clang. Seems to pass all our CI jobs with this
  simplified.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz lgritz added the build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration. label Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant