Skip to content

[cmake] use magic-enum as a submodule#2046

Merged
jhunsaker merged 1 commit intomainfrom
ken/void-compile-pr1
Feb 12, 2026
Merged

[cmake] use magic-enum as a submodule#2046
jhunsaker merged 1 commit intomainfrom
ken/void-compile-pr1

Conversation

@kjcamann
Copy link
Contributor

@kjcamann kjcamann commented Feb 3, 2026

Unlike all the other system-provided third-party libraries, magic enum is not popular enough to be packaged on every distribution.

Copilot AI review requested due to automatic review settings February 3, 2026 01:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR transitions the magic_enum dependency from a system-provided package to a Git submodule to address availability issues across different Linux distributions.

Changes:

  • Added magic_enum as a Git submodule
  • Updated CMake configuration to use the submodule instead of find_package
  • Removed platform-specific include path handling

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
third_party/magic_enum Added magic_enum submodule at specific commit
scripts/ubuntu-build/install-deps.sh Removed libmagicenum-dev from package dependencies
category/execution/monad/staking/fuzzer/staking_contract_machine.hpp Simplified include to use single path with submodule
CMakeLists.txt Changed from find_package to add_subdirectory for magic_enum
.gitmodules Registered magic_enum submodule configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Baltoli Baltoli requested a review from jhunsaker February 3, 2026 10:14
Unlike all the other system-provided third-party libraries, magic enum
is not popular enough to be packaged on every distribution.
@Baltoli Baltoli force-pushed the ken/void-compile-pr1 branch from 6053751 to acf77d6 Compare February 10, 2026 15:36
@jhunsaker jhunsaker merged commit aca990f into main Feb 12, 2026
17 checks passed
@jhunsaker jhunsaker deleted the ken/void-compile-pr1 branch February 12, 2026 18:56
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.

4 participants