← Back to issue list

cmake plugin should set CMAKE_BUILD_TYPE, CMAKE_INSTALL_PREFIX

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1738265
Type
issue
State
open
Author
~saviq
Labels
Created
Updated
Closed

Current evaluation

Feature request from 2016 asking the CMake plugin to default CMAKE_BUILD_TYPE=RelWithDebInfo and CMAKE_INSTALL_PREFIX=/ when configuring. No maintainer response, no labels, no activity in ~9 years. Modern craft-parts cmake plugin still does not set these defaults.

Suggested action: close stale

Reason: The issue is 3182 days old with zero comments, no labels, and no maintainer interaction. The cmake plugin has since been rewritten in craft-parts, where the docstring explicitly states CMAKE_INSTALL_PREFIX is intentionally not auto-set (unlike core18) and CMAKE_BUILD_TYPE is left to the user via cmake-parameters, so the original request is no longer applicable to the current architecture. The reporter's debhelper reference is from the core18 era and the plugin now lives in a different codebase.

Impact: 30 Quick Win: 18.0 Staleness: 95 Complexity: 40 Confidence: 70 Support Request: 10

Issue body

The CMake plugin should probably set some good defaults when configuring. Some that come to mind: CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/ There's some others set by debhelper that might be a good reference: https://anonscm.debian.org/git/debhelper/debhelper.git/tree/lib/Debian/Debhelper/Buildsystem/cmake.pm

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18.0
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 10
close stale Feature request from 2016 asking the CMake plugin to default CMAKE_BUILD_TYPE=RelWithDebInfo and CMAKE_INSTALL_PREFIX=/ when configuring. No maintainer response, no labels, no activity in ~9 years. Modern craft-parts cmake plugin still does not set these defaults.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 5
close stale Feature request to set default CMake configuration variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX in the CMake plugin. Unassigned, unlabelled, and inactive for over 8 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Feature request to set default CMake variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX in the plugin. Unlabeled, zero maintainer comments, inactive for over 8 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 10
close stale Suggests adding default CMake configuration variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX to the plugin. Unaddressed for over 8 years with no maintainer interaction.
qwen3.6-35b-moe-q4
Staleness: 95
Complexity: 15
Confidence: 80
Support Request: 10
close stale Suggests adding default CMake configuration variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX to the CMake plugin. Unaddressed for over 8 years with no maintainer interaction.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.