From 3826621b21ae2936c76d07f2ce934215dc89abd0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 2 May 2026 22:15:37 +0900 Subject: internal/rosa/python: lit artifact Used by LLVM-related projects. Signed-off-by: Ophestra --- internal/rosa/python.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'internal/rosa/python.go') diff --git a/internal/rosa/python.go b/internal/rosa/python.go index b9318386..500d14fc 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -351,6 +351,29 @@ func init() { ) } +func init() { + artifactsM[LIT] = Metadata{ + f: func(t Toolchain) (pkg.Artifact, string) { + version := t.Version(LLVM) + return t.NewPackage("lit", version, t.Load(llvmSource), nil, &PipHelper{ + Append: []string{"llvm", "utils", "lit"}, + // already checked during llvm + SkipCheck: true, + }, + PythonSetuptools, + ), version + }, + + Name: "lit", + Description: "a portable tool for executing LLVM and Clang style test suites", + Website: "https://llvm.org/docs/CommandGuide/lit.html", + + Dependencies: P{ + Python, + }, + } +} + func init() { const ( version = "1.1.1" -- cgit v1.3.1