Skip to main content

A wheel variant provider with properties specific to AArch64 CPUs

Project description

provider-variant-aarch64

This is a plugin for the proposed wheel variants implementation that provides properties specific to AArch64 CPUs.

Usage

Namespace: aarch64

Plugin API: provider_variant_aarch64.plugin:AArch64Plugin

Example use in pyproject.toml:

[variant.providers.aarch64]
requires = ["provider-variant-aarch64 >=0.0.1,<1"]
plugin-api = "provider_variant_aarch64.plugin:AArch64Plugin"

Provided properties

To obtain the full list of properties supported by a given plugin version, use:

variantlib plugins -p provider_variant_aarch64.plugin:AArch64Plugin get-all-configs

To obtain the full list of properties compatible with your system, use:

variantlib plugins -p provider_variant_aarch64.plugin:AArch64Plugin get-supported-configs

aarch64 :: version

Values: 8.1a, 8.2a...

Specifies the targeted microarchitecture version. The plugin automatically adds appropriate -march= value to CFLAGS. The resulting wheel will be incompatible with CPUs below the specified microarchitecture version.

Please note that many extensions (such as SVE) are technically optional for multiple microarchitecture versions, so this optional may have limited usefulness.

aarch64 :: <extension>

Feature names: asimdhp, sha3, sve...

Values: on

Specifies that the built wheel uses the specific CPU extension. The plugin does not emit any compiler flags at the moment. The resulting wheel will be incompatible with CPUs that do not implement the specific extension.

These properties should only be used when the relevant intrinsics are used unconditionally. If the code using them uses runtime detection, they should not be specified, as they will prevent installing the wheel on systems where the extension is not available (yet the code would work fine, disabling the code in question).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

provider_variant_aarch64-0.0.1.post2-py3-none-any.whl (110.0 kB view details)

Uploaded Python 3

File details

Details for the file provider_variant_aarch64-0.0.1.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for provider_variant_aarch64-0.0.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d55a6e4d546aec243945d135d67f677566fb4eceeff5288a0994db88799a71e
MD5 4337c7c0e0031e2b3f49788324c081f5
BLAKE2b-256 fb37b52da3a19561365eec9d88c4614fbb8098a1d32d9c6284fcbebd4be9ff92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page