doc: add arm macOS depends platform triplet #21414

pull jarolrod wants to merge 1 commits into bitcoin:master from jarolrod:macOS-platform-triplets changing 1 files +2 −1
  1. jarolrod commented at 4:14 AM on March 11, 2021: member

    This PR adds a common host-platform-triplet example for ARM macOS.

    Master: render

    PR: render

  2. fanquake added the label Docs on Mar 11, 2021
  3. fanquake commented at 4:17 AM on March 11, 2021: member

    NACK. x86_64-apple-darwin18 is the correct triplet. It's aligned with macOS 10.14, which is our minimum supported version.

  4. jarolrod commented at 4:19 AM on March 11, 2021: member

    @fanquake what about the macOS arm triplet?

  5. fanquake commented at 4:35 AM on March 11, 2021: member

    what about the macOS arm triplet?

    That should be fine to add. Can you make it arm-apple-darwin20? I have no hardware to test any of those builds, but I think @jonasschnelli has been doing them.

  6. doc: add arm macOS depends platform triplet
    Add a common host-platform-triplet example for ARM macOS.
    2c11d28319
  7. jarolrod force-pushed on Mar 11, 2021
  8. jarolrod renamed this:
    doc: update macOS depends platform triplets
    doc: add arm macOS depends platform triplet
    on Mar 11, 2021
  9. jarolrod commented at 4:49 AM on March 11, 2021: member

    updated from 3c04b29 to 2c11d28

    changes:

    • The current triplet for macOS is labeled as being for Intel macOS
    • arm macOS triplet now uses darwin20
  10. in depends/README.md:29 in 2c11d28319
      24 | @@ -25,7 +25,8 @@ Common `host-platform-triplets` for cross compilation are:
      25 |  - `i686-pc-linux-gnu` for Linux 32 bit
      26 |  - `x86_64-pc-linux-gnu` for x86 Linux
      27 |  - `x86_64-w64-mingw32` for Win64
      28 | -- `x86_64-apple-darwin18` for macOS
      29 | +- `x86_64-apple-darwin18` for Intel macOS
      30 | +- `arm-apple-darwin20` for ARM macOS
    


    laanwj commented at 8:07 AM on March 11, 2021:

    Shouldn't that be aarch64? arm is 32 bit ARM


    jonasschnelli commented at 8:18 AM on March 11, 2021:

    When compiling it on a mac, arm-apple-darwin works. It should be aarch64, I agree, but somehow it's not.


    laanwj commented at 10:42 AM on March 11, 2021:

    What about for cross-compiling then?

  11. jonasschnelli commented at 8:16 AM on March 11, 2021: contributor

    AFAIK arm-apple-darwin20 cross compilation does currently not work due to cctools/etc. not supporting it. We should add it in the same patch as adding apple-arm cross compilation support in the toolchain.

  12. laanwj requested review from dongcarl on Mar 11, 2021
  13. laanwj requested review from theuni on Mar 11, 2021
  14. fanquake cross-referenced this on Mar 17, 2021 from issue build: split libtapi and clang out of native_cctools by fanquake
  15. fanquake referenced this in commit 1a0d1452a0 on Mar 31, 2021
  16. sidhujag referenced this in commit 621eab9ff7 on Mar 31, 2021
  17. fanquake commented at 1:08 PM on May 4, 2021: member

    I've combined your commit into #21851, as it makes most sense to add the triplet when cross-compiling works.

  18. fanquake closed this on May 4, 2021

  19. bitcoin locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:54 UTC