Skip to content

Remove version numbers in macos triplets #2695

@isuruf

Description

@isuruf

Your question:

Currently our default triplets are

  • x86_64-apple-darwin13.4.0 (corresponding to 10.9 even though our default is 10.13 now)
  • arm64-apple-darwin20.0.0 (corresponding to 11.0)

We can drop the version numbers, but AFAIR some autoconf/libtool scripts checked *darwin[12][0-9]* or something similar for detecting features. Not sure if this is relevant today.


Some previous context (added by @h-vetinari):

This came up in conda-forge/conda-forge-pinning-feedstock#5829 in the context of moving from 10.9 -> 10.13 (which would strictly speaking cause the darwin version to increase), but decided to keep the version in the target name at the time, and postpone the removal to some later date (i.e. what this issue is about). At the time, Isuru wrote

If there's a triplet that works without macos version, that'd be great, but autoconf has some checks for the darwin kernel for existence of dynamic_lookup option if I remember correctly.

It also came up in conda-forge/ctng-compilers-feedstock#189 / conda-forge/clangdev-feedstock#405 more recently. Aside from our toolchain-related feedstocks, this value isn't being set in many places within conda-forge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions