@@ -128,7 +128,7 @@ automatic version updates/migrations for feedstocks. The current options are
128
128
129
129
build_platform
130
130
--------------
131
- This is a mapping from the build platform to the host platform of the package
131
+ This is a mapping from the target platform to the build platform for the package
132
132
to be built. e.g. the following builds a ``osx-64 `` package on the ``linux-64 ``
133
133
build platform using cross-compiling.
134
134
@@ -149,6 +149,7 @@ Leaving this field empty implicitly requests to build a package natively. i.e.
149
149
osx_arm64 : osx_arm64
150
150
win_64 : win_64
151
151
152
+
152
153
.. _build_with_mambabuild :
153
154
154
155
build_with_mambabuild
@@ -342,59 +343,57 @@ Currently only:
342
343
343
344
provider
344
345
--------
345
- The ``provider `` field is a mapping from arch (operating system ) to CI service.
346
- This thus controls where a package is built . The following are available as
347
- arches :
346
+ The ``provider `` field is a mapping from build platform (not target platform ) to CI service.
347
+ It determines which service handles each build platform . The following are available as
348
+ build platforms :
348
349
349
- * ``linux ``
350
- * ``osx ``
351
- * ``win ``
350
+ * ``linux_64 ``
351
+ * ``osx_64 ``
352
+ * ``win_64 ``
352
353
* ``linux_aarch64 ``
353
354
* ``linux_ppc64le ``
354
- * ``osx_arm64 ``
355
355
356
356
The following CI services are available:
357
357
358
358
* ``azure ``
359
359
* ``circle ``
360
360
* ``travis ``
361
361
* ``appveyor ``
362
- * ``None `` or ``False `` to disable a platform.
363
- * ``default `` to enable a platform and choose an appropriate CI
362
+ * ``None `` or ``False `` to disable a build platform.
363
+ * ``default `` to choose an appropriate CI (only if available)
364
364
365
- For example, switching linux & osx to build on Travis Ci , with win on Appveyor:
365
+ For example, switching linux_64 & osx_64 to build on Travis CI , with win_64 on Appveyor:
366
366
367
367
.. code-block :: yaml
368
368
369
369
provider :
370
- linux : travis
371
- osx : travis
372
- win : appveyor
370
+ linux_64 : travis
371
+ osx_64 : travis
372
+ win_64 : appveyor
373
373
374
- Currently, x86_64 are enabled, but other arches are disabled by default. i.e. an empty
374
+ Currently, x86_64 platforms are enabled, but other build platforms are disabled by default. i.e. an empty
375
375
provider entry is equivalent to the following:
376
376
377
377
.. code-block :: yaml
378
378
379
379
provider :
380
- linux : azure
381
- osx : azure
382
- win : azure
380
+ linux_64 : azure
381
+ osx_64 : azure
382
+ win_64 : azure
383
383
linux_ppc64le : None
384
384
linux_aarch64 : None
385
- osx_arm64 : None
386
385
387
- To enable ``linux_ppc64le `` and ``linux_aarch64 `` and the following:
386
+ To enable ``linux_ppc64le `` and ``linux_aarch64 `` add the following:
388
387
389
388
.. code-block :: yaml
390
389
391
390
provider :
392
391
linux_ppc64le : default
393
392
linux_aarch64 : default
394
393
395
- If the `` build_platform `` for an arch is not available with the selected provider
396
- (either natively or with emulation), the build will be disabled; cross-compilation
397
- must be specified manually.
394
+ If a desired build platform is not available with a selected provider
395
+ (either natively or with emulation), the build will be disabled. Use the `` build_platform ``
396
+ field to manually specify cross-compilation when no providers offer a desired build platform .
398
397
399
398
.. _recipe_dir :
400
399
0 commit comments