diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 6f0aefcc..ec4241f2 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -72,6 +72,7 @@ const ( HakureiDist IPTables Kmod + LIT LibXau Libbsd Libcap 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"