Skip to content

Develop#47

Open
Super-Genius wants to merge 9 commits intomainfrom
develop
Open

Develop#47
Super-Genius wants to merge 9 commits intomainfrom
develop

Conversation

@Super-Genius
Copy link
Contributor

Updated to new library and repo name

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8c75b07133

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

find_dependency(Boost REQUIRED COMPONENTS context coroutine)
find_dependency(Snappy CONFIG REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/rlpTargets.cmake")

Choose a reason for hiding this comment

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

P1 Badge Load evmrelayTargets from generated package config

The package config template still includes rlpTargets.cmake, but the install step now exports evmrelayTargets.cmake (CMakeLists.txt installs FILE evmrelayTargets.cmake). After installation, find_package(evmrelay) will reference a targets file that is not installed, breaking downstream consumers.

Useful? React with 👍 / 👎.

CMakeLists.txt Outdated
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/rlpConfig.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/evmrelayConfig.cmake"
INSTALL_DESTINATION ${rlp_CONFIG_DESTINATION_DIR}

Choose a reason for hiding this comment

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

P1 Badge Pass the renamed config destination variable

The destination variable was renamed to evmrelay_CONFIG_DESTINATION_DIR, but configure_package_config_file() still uses ${rlp_CONFIG_DESTINATION_DIR}. Because that variable is undefined here, argument parsing treats NO_SET_AND_CHECK_MACRO as the install destination value, which generates incorrect package metadata and an invalid install-destination hint in the config file.

Useful? React with 👍 / 👎.

CMakeLists.txt Outdated
find_package(GTest CONFIG REQUIRED)
endif()

set(CMAKE_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_INCLUDEDIR}/rlp/")

Choose a reason for hiding this comment

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

P1 Badge Export an install include path matching header layout

This change prepends CMAKE_INSTALL_INCLUDEDIR with rlp/, so headers are installed under <prefix>/include/rlp/... (and src/rlp adds another /rlp segment), but the library still advertises INSTALL_INTERFACE:include. Consumers linking the installed target will search <prefix>/include and fail to resolve public includes that now live under the nested include/rlp tree.

Useful? React with 👍 / 👎.

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