File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ Any other target is assumed to be a value for the ``CIBW_BUILD``
3535environment variable (e.g. ``cp3?-macosx_x86_64 ``). In this case the OS
3636to run cibuildwheel on is extracted from the target.
3737
38- Targets that end with ``aarch64 ``, ``arm64 `` and ``universal2 `` are also
39- supported without any additional configuration of cibuildwheel.
38+ Targets which end with non-native architectures such as ``aarch64 `` on linux or
39+ ``x86_64 `` on macos are supported and will be emulated (on linux) or cross
40+ compiled.
4041
4142**Note: ** ``targets `` is a *string * and must be specified as a
4243literal block scalar using the ``| ``. (Without the ``| ``, it must also
@@ -57,6 +58,15 @@ To not build any wheels:
5758
5859 targets : ' '
5960
61+ For additional configuration extra arguments can be passed by making a target a dictionary.
62+ An example of this is specifying the runner for a target, such as building macos x86_64 wheels on native x86_64 runners:
63+
64+ .. code :: yaml
65+
66+ targets :
67+ - target : cp311-macosx_x86_64
68+ runs-on : macos-13
69+
6070 sdist
6171^^^^^
6272
You can’t perform that action at this time.
0 commit comments