Skip to content

Modernize build process#24

Merged
jleben merged 3 commits into
masterfrom
modernize-build
Nov 16, 2025
Merged

Modernize build process#24
jleben merged 3 commits into
masterfrom
modernize-build

Conversation

@jleben

@jleben jleben commented Nov 16, 2025

Copy link
Copy Markdown
Owner

Changes:

  • A CMakePresets.json file is added with presets for Linux and MacOS (the latter is a placeholder as MacOS is not yet fully supported).
  • Build configuration is adjusted to enable lockfree 128-bit atomics on 64-bit Intel architecture
    • using Clang compiler
    • using the libc++ standard library implementation
    • adding the -mcx16 compiler flag
  • C++ standard is raised to C++23 and a few necessary code adjustments are made.
  • README.md is expanded with information on building Stitch, including implications for lock-freedom of some build configurations.

{ "empty", empty },
{ "contains", contains },
{ "iteration", iteration },
{ "empty", test_empty },

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Test names needed to be changed when raising the C++ standard level - the empty symbol clashed with parts of standard library, causing a misleading error.

Comment thread stitch/hazard_pointers.h

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Just silencing some compiler warnings about an unused variable here.

@jleben
jleben merged commit 68f03c0 into master Nov 16, 2025
1 check passed
@jleben
jleben deleted the modernize-build branch November 16, 2025 07:06
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