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

Fix clang 15,16 compilation errors on all platforms, refactor CMake build system #181

Merged
merged 38 commits into from
Oct 10, 2023

Conversation

markos
Copy link

@markos markos commented Oct 3, 2023

New PR as the previous one carried some old cruft.
This should fix builds on clang 15+, plus a missed ragel bug that for some reason appeared only on MacOS X.
Also reduce runtimes of internal and hyperscan unit tests on debug builds as it was timing out CI.

This lead to a significant refactoring of the old CMake build system. The refactored CMakeLists.txt is more modular, has separate include files per architecture and is much more orthogonal -ie, decisions on supported builds are in a single place and will fail early. It still needs some more attention in particular to the fat builds but it's much better than the previous one. It has also led to fixing a few long standing bugs:
#146
#176
#183

At the same time, it brought up a bug #184, but this is irrelevant to this PR.

@markos markos changed the title Bugfix/fix clang15 compilation errors Bugfix/fix clang15 compilation errors on all platforms Oct 4, 2023
@markos markos self-assigned this Oct 4, 2023
@markos markos added this to the 5.4.11 milestone Oct 4, 2023
@markos markos changed the title Bugfix/fix clang15 compilation errors on all platforms Bugfix/fix clang 15,16 compilation errors on all platforms Oct 5, 2023
@markos markos changed the title Bugfix/fix clang 15,16 compilation errors on all platforms Fix clang 15,16 compilation errors on all platforms, refactor Cmake build system Oct 10, 2023
@markos markos changed the title Fix clang 15,16 compilation errors on all platforms, refactor Cmake build system Fix clang 15,16 compilation errors on all platforms, refactor CMake build system Oct 10, 2023
@markos markos merged commit aa8af26 into develop Oct 10, 2023
@markos markos mentioned this pull request Nov 17, 2023
@markos markos deleted the bugfix/fix-clang15-compilation-errors branch May 22, 2024 09:35
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.

1 participant