get_target_triple¶
- selene_core.build_utils.utils.get_target_triple(arch: str | None = None, system: str | None = None) str | None¶
MacOS needs pointing to libSystem compatible with 11.0, as the default is the current platform which selene components might be incompatible with.
Windows uses MinGW to align with selene wheel artifacts.
Linux doesn’t need further specification, as the default behaviour is correct. Using e.g. “x86_64-linux-gnu” would fail on nixos, for example.