A wheel variant provider with properties specific to x86-64 CPUs
Project description
provider-variant-x86-64
This is a plugin for the proposed wheel variants implementation that provides properties specific to x86-64 CPUs.
Usage
Namespace: x86_64
Plugin API: provider_variant_x86_64.plugin:X8664Plugin
Example use in pyproject.toml:
[variant.providers.x86_64]
requires = ["provider-variant-x86-64 >=0.0.1,<1"]
plugin-api = "provider_variant_x86_64.plugin:X8664Plugin"
Provided properties
To obtain the full list of properties supported by a given plugin version, use:
variantlib plugins -p provider_variant_x86_64.plugin:X8664Plugin get-all-configs
To obtain the full list of properties compatible with your system, use:
variantlib plugins -p provider_variant_x86_64.plugin:X8664Plugin get-supported-configs
x86_64 :: level
Values: v1, v2...
Specifies the targeted microarchitecture level.
The plugin automatically adds appropriate -march= value to CFLAGS.
The resulting wheel will be incompatible with CPUs below the specified
microarchitecture level.
x86_64 :: <extension>
Feature names: aes, avx2, sse4_1...
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.
Note that while these properties are independent of microarchitecture levels, there is little purpose in specifying them if the wheel already specifies a microarchitecture level requiring a 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file provider_variant_x86_64-0.0.1.post2-py3-none-any.whl.
File metadata
- Download URL: provider_variant_x86_64-0.0.1.post2-py3-none-any.whl
- Upload date:
- Size: 109.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85f28e5a4a066f31d22d2c3818a1b87a1a3efc058dc33b6733921b65ea34ee0f
|
|
| MD5 |
d02827f158d8211e086907caa437f96e
|
|
| BLAKE2b-256 |
01a82f285d1cae87ce49d8d61185bb73b431b43b8a434d006aad5a69d1d5c772
|