diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-14 02:49:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-14 02:57:47 +0900 |
| commit | 5b5b676132d8a7201b30c7494d2961ab3094b583 (patch) | |
| tree | b22ba4f759d7e5d8b42ad7476f43bf7aaa0431ed /internal/rosa/cmake.go | |
| parent | 78383fb6e8ddae008851c219ded72be6dbb3f99a (diff) | |
internal/rosa/cmake: remove variant
This has no effect outside formatting of name and is a remnant of the old llvm helpers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/cmake.go')
| -rw-r--r-- | internal/rosa/cmake.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 78b2f69c..6aa47fbd 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -119,9 +119,6 @@ func init() { // CMakeHelper is the [CMake] build system helper. type CMakeHelper struct { - // Joined with name with a dash if non-empty. - Variant string - // Path elements joined with source. Append []string @@ -136,14 +133,6 @@ type CMakeHelper struct { var _ Helper = new(CMakeHelper) -// name returns its arguments and an optional variant string joined with '-'. -func (attr *CMakeHelper) name(name, version string) string { - if attr != nil && attr.Variant != "" { - name += "-" + attr.Variant - } - return name + "-" + version -} - // extra returns a hardcoded slice of [CMake] and [Ninja]. func (attr *CMakeHelper) extra(int) P { if attr != nil && attr.Make { |
