internal/rosa/python: lit artifact
All checks were successful
Test / Create distribution (push) Successful in 1m32s
Test / Sandbox (push) Successful in 5m49s
Test / Hakurei (push) Successful in 9m10s
Test / Sandbox (race detector) (push) Successful in 9m20s
Test / ShareFS (push) Successful in 9m52s
Test / Hakurei (race detector) (push) Successful in 12m10s
Test / Flake checks (push) Successful in 1m52s

Used by LLVM-related projects.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-02 22:15:37 +09:00
parent 041b505c2e
commit 3826621b21
2 changed files with 24 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ const (
HakureiDist HakureiDist
IPTables IPTables
Kmod Kmod
LIT
LibXau LibXau
Libbsd Libbsd
Libcap Libcap

View File

@@ -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() { func init() {
const ( const (
version = "1.1.1" version = "1.1.1"