← Back to issue list

Support `no-install` build attribute in cmake plugin

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1825792
Type
issue
State
open
Author
~brlin
Labels
—
Created
Updated
Closed
—

Current evaluation

CMake parts without an install target are unsupported; the current craft-parts plugin still unconditionally runs the install target, and the request remains untriaged.

Suggested action: needs triage

Reason: The request is narrowly scoped: conditionally omit the final `cmake --build . --target install` command when `no-install` is present, with unit tests. Current craft-parts has no matching `no-install` implementation and still unconditionally runs that target, but the issue has no maintainer response, labels, or concrete project fixture.

Evaluated by: mr-cal-bot

Impact: 36 Quick Win: 21 Complexity: 18 Confidence: 91 Actionability: 72

Issue body

Just encountered a project that doesn't have install target, it would be great if we don't need to re-implement the build step because of it.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 36
Quick Win: 21
Complexity: 18
Confidence: 91
Actionability: 72
needs triage CMake parts without an install target are unsupported; the current craft-parts plugin still unconditionally runs the install target, and the request remains untriaged.
stealth/space-bunny-alpha
Impact: 36
Quick Win: 17
Complexity: 30
Confidence: 93
Actionability: 67
needs triage Request to let the CMake plugin skip its unconditional install target for projects without one; still unimplemented, untriaged, and without maintainer feedback or a reproducer.
qwen/qwen3.8-27b
Impact: 25
Quick Win: 16
Staleness: 92
Complexity: 35
Confidence: 65
Support Request: 15
needs triage Feature request to add a no-install build attribute to the cmake plugin so projects lacking an install target need not re-implement the build step. Untriaged, no maintainer response in ~7 years; the plugin still unconditionally runs the install target.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 85
Support Request: 15
close stale Feature request to support a no-install build attribute in a CMake plugin. The issue has been inactive for over 7 years with no maintainer response or comments.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 30
Confidence: 85
Support Request: 0
close stale Feature request to support no-install attribute in cmake plugin, inactive for over 7 years with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale Feature request to support `no-install` build attribute in cmake plugin. Unaddressed for over 7 years.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1839885 (confidence 96%)

    A later open report says the CMake plugin's native-build change made installation mandatory and broke parts without an install target.

Related issues

Issue Project State Summary Similarity
#1839885 cmake parts build without install target broken after plugin update snapcraft (launchpad) open CMake plugin update removed Make-style artifact customization, breaking projects without an install target; current craft-parts still always invokes target install, but the untriaged issue needs review.
70%