diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-02 22:15:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-02 22:15:37 +0900 |
| commit | 3826621b21ae2936c76d07f2ce934215dc89abd0 (patch) | |
| tree | a95cab22d764682502e8ca7e6fb39923bfd354ae | |
| parent | 041b505c2ea6e3e496497c87e1b3d4f913d0b61e (diff) | |
internal/rosa/python: lit artifact
Used by LLVM-related projects.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/python.go | 23 |
2 files changed, 24 insertions, 0 deletions
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 @@ -352,6 +352,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" checksum = "1fVwoal6FoKXczoG3qRUi87TxSWESSGcgvnbEZDYuaOgsO25o36iF3SbAhwkr4Va" |
