Building Linux kernel on macOS natively

(seiya.me)

24 points | by ingve 19 hours ago ago

8 comments

  • hard_times 17 hours ago ago

    Excuse me, it took the auther 30-40 seconds (0m33.260s) to build the Linux kernel on an M2 with 32GB RAM? Surely that's a typo?

    • rascul 17 hours ago ago

      Looks like they're doing allnoconfig so there's not much to build.

    • dgl 16 hours ago ago

      With make allnoconfig it also takes <30s on a recent-ish Intel CPU (12th gen; i7 12700). As low as 20s if it's cached and with make -j20.

    • adtac 17 hours ago ago

      1. modern computers are insanely fast

      2. they compiled a version of the kernel with as many configurable options disabled as possible

      3. modern computers are insanely fast

  • 17 hours ago ago
    [deleted]
  • fossa1 17 hours ago ago

    This kind of work reminds me of early WSL1-era hacks

  • pbronez 17 hours ago ago

    The related Starina OS project looks pretty cool

    https://docs.starina.dev/comparison-with-others

  • 17 hours ago ago
    [deleted]