Repository navigation
Use the TOPP tool macros of the OpenMS CMake package - #5
Draft
timosachsenberg wants to merge 1 commit into
Draft
timosachsenberg wants to merge 1 commit into
timosachsenberg wants to merge 1 commit into
Conversation
OpenMS installs its TOPP tool macros with the CLI layer of its CMake package (OpenMSToolMacros.cmake, OpenMS/OpenMS#11042), and find_package(OpenMS COMPONENTS CLI) includes them. Drop the copy of cmake/topp_tool_macros.cmake and the local openms_install_tool_registry(): the package's version installs MetaProSIP.tsv into the directory that OpenMS installation keeps its registries in (OPENMS_TOOL_REGISTRY_DESTINATION, share/OpenMS/TOOLS by default), so ToolHandler reads it next to OpenMS.tsv also for a non-default layout. A core without the macros is refused at configure time with an explanation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0149aXmZhZtnMkPBQ7zPTrXN
Contributor
Author
|
The pull-request CI is red on purpose until OpenMS/OpenMS#11042 is merged. It builds against OpenMS The workflow_dispatch run of this branch builds the core from the branch of OpenMS/OpenMS#11042 ( Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Drops the copy of
cmake/topp_tool_macros.cmake: OpenMS installs its TOPP tool macros with the CLI layer of its CMake package (OpenMSToolMacros.cmake, OpenMS/OpenMS#11042), andfind_package(OpenMS ... COMPONENTS CLI), which this repository already does, includes them.cmake/topp_tool_macros.cmakeis removed, together with itsinclude().cmake/install_macros.cmake: its ownopenms_install_tool_registry()is gone; the package's version has the same signature.cmake/find_openms.cmake: a core without the macros is refused at configure time with an explanation, not with an unknown-command error later.MetaProSIP.tsvis now installed into the directory that OpenMS installation keeps its registries in (OPENMS_TOOL_REGISTRY_DESTINATIONof the package;share/OpenMS/TOOLSby default, as before). For an OpenMS with anotherINSTALL_SHARE_DIR, ToolHandler would otherwise not read it.Depended on OpenMS/OpenMS#11042, which is merged. Its pull-request CI builds the core from OpenMS
develop(OPENMS_CORE_DEFAULT_REF), so it fails at configure with the message above until OpenMS/OpenMS#11042 is merged; after that it passes without a change here.Test plan
<prefix>/share/OpenMS/TOOLS. Against a package without them, configure stops with the new message.test.ymldispatched on this branch withcore_mode=source,core_ref=claude/admiring-tesla-n9a3lm(the branch of [BUILD,DOC] Install the TOPP tool macros with the CMake package OpenMS#11042),core_exact=true: green on Windows, macOS and Ubuntu (core built from that branch, MetaProSIP built, tested, payload installed and tested)Part of OpenMS/OpenMS#11035.
https://claude.ai/code/session_0149aXmZhZtnMkPBQ7zPTrXN
Generated by Claude Code