Commit 6d36479
feat(aarch64): default to musl-static toolchain on non-x86 Linux (#148)
Bare `mcpp build` (new project, no [toolchain]) on aarch64 tried to install
the glibc default gcc@16.1.0 + glibc + linux-headers, which have no aarch64
assets (HTTP 404). On non-x86_64 Linux, default to gcc@15.1.0-musl instead:
it's published for aarch64, self-contained (skip glibc/linux-headers deps),
and yields portable static binaries (ideal for aarch64/Termux). x86_64 keeps
the glibc default. Seeds the host triple so the <host>-linux-musl-g++ frontend
resolves for the no---target default.
Also: fresh-install CI self-hosts mcpp AND xlings via --target aarch64-linux-musl
(their manifests pin a glibc default).
Co-authored-by: Sunrisepeak <x.d2learn.org@gmail.com>1 parent d2a53bf commit 6d36479
2 files changed
Lines changed: 37 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
78 | | - | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
611 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
612 | 627 | | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
613 | 633 | | |
614 | 634 | | |
615 | 635 | | |
| |||
618 | 638 | | |
619 | 639 | | |
620 | 640 | | |
621 | | - | |
622 | | - | |
| 641 | + | |
| 642 | + | |
623 | 643 | | |
624 | 644 | | |
625 | 645 | | |
| |||
628 | 648 | | |
629 | 649 | | |
630 | 650 | | |
631 | | - | |
632 | | - | |
633 | | - | |
| 651 | + | |
| 652 | + | |
634 | 653 | | |
635 | 654 | | |
636 | 655 | | |
| |||
0 commit comments