diff options
Diffstat (limited to 'internal/rosa/llvm.go')
| -rw-r--r-- | internal/rosa/llvm.go | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index 4d3e4b21..8e5a1655 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -154,7 +154,7 @@ func init() { sysroot := AbsSystem.Append(arch) ct := t.native() if ct.Arch() != arch { - ct = t.NewCross(arch).New(t.stage) + ct = ct.NewCross(arch).New(t.stage) } paths = append(paths, pkg.Path( sysroot, true, ct.Append(nil, @@ -222,7 +222,7 @@ func init() { // unwind: fails on musl "eh_frame_fde_pc_range", } - switch t.arch { + switch t.Arch() { case "arm64": skipChecks = append(skipChecks, // LLVM: intermittently crashes @@ -263,6 +263,16 @@ func init() { ScriptEarly: ` rm -f /system/bin/clang++.cfg `, + + Tools: P{ + _pythonEarly, + _perl, + _diffutils, + _bash, + _awk, + _coreutils, + _findutils, + }, }, &CMakeHelper{ Append: []string{"llvm"}, @@ -286,14 +296,6 @@ EOF Test: "ninja " + jobsFlagE + " " + loadFlagE + " check-all", }, - _pythonEarly, - _perl, - _diffutils, - _bash, - _awk, - _coreutils, - _findutils, - _zlib, _zstd, early, |
