From 5b5b676132d8a7201b30c7494d2961ab3094b583 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 14 Apr 2026 02:49:19 +0900 Subject: 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 --- internal/rosa/cmake.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'internal/rosa/cmake.go') 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 { -- cgit v1.3.1