From 3975dd3e0f6d446241841cdf5c011d4f5f77b5eb Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 1 Jul 2026 14:25:30 +0900 Subject: internal/rosa: create /bin symlinks via helper This centralises the workaround for surprisingly common buggy scripts with nonstandard hardcoded paths. Signed-off-by: Ophestra --- internal/rosa/llvm.go | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'internal/rosa/llvm.go') diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index 397cfe20..8fd515d2 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -341,6 +341,13 @@ ln -s \ return &meta, t.NewPackage("llvm", meta.Version, source, &PackageAttr{ Flag: TExclusive, + Bin: []string{ + "chmod", + "mkdir", + "rm", + "tr", + "awk", + }, }, &CMakeHelper{ Append: []string{"llvm"}, @@ -358,16 +365,7 @@ ln -s clang++ /work/system/bin/c++ // on 3-stage determinism to test later stages. SkipTest: t.stage.isStage0(), - Test: ` -chmod +w /bin && ln -s \ - ../system/bin/chmod \ - ../system/bin/mkdir \ - ../system/bin/rm \ - ../system/bin/tr \ - ../system/bin/awk \ - /bin -ninja ` + jobsFlagE + ` check-all -`, + Test: "ninja " + jobsFlagE + " check-all", }, _python, _perl, -- cgit v1.3.1