Skip to content

Commit

Permalink
describe native and emulated
Browse files Browse the repository at this point in the history
Co-authored-by: ytausch <[email protected]>
  • Loading branch information
jaimergp and ytausch committed Mar 11, 2024
1 parent b5288c4 commit 2aabd4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda_smithy/data/conda-forge.json
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,7 @@
"type": "null"
}
],
"description": "The `provider` field is a mapping from build platform (not target platform)\nto CI service. It determines which service handles each build platform.\nIf a desired build platform is not available with a selected provider\n(either natively or with emulation), the build will be disabled.\nUse the `build_platform` field to manually specify cross-compilation when\nno providers offer a desired build platform.\n\nThe following are available as supported build platforms:\n\n* `linux_64`\n* `osx_64`\n* `win_64`\n* `linux_aarch64`\n* `linux_ppc64le`\n* `linux_s390x`\n* `linux_armv7l`\n\nThe following CI services are available:\n\n* `azure`\n* `circle`\n* `travis`\n* `appveyor`\n* `None` or `False` to disable a build platform.\n* `default` to choose an appropriate CI (only if available)\n\nFor example, switching linux_64 & osx_64 to build on Travis CI, with win_64 on\nAppveyor:\n\n```yaml\nprovider:\n linux_64: travis\n osx_64: travis\n win_64: appveyor\n```\n\nCurrently, x86_64 platforms are enabled, but other build platforms are\ndisabled by default. i.e. an empty provider entry is equivalent to the\nfollowing:\n\n```yaml\nprovider:\n linux_64: azure\n osx_64: azure\n win_64: azure\n linux_ppc64le: None\n linux_aarch64: None\n```\n\nTo enable `linux_ppc64le` and `linux_aarch64` add the following:\n\n```yaml\nprovider:\n linux_ppc64le: default\n linux_aarch64: default\n```"
"description": "The `provider` field is a mapping from build platform (not target platform)\nto CI service. It determines which service handles each build platform.\nIf a desired build platform is not available with a selected provider\n(either natively or with emulation), the build will be disabled.\nUse the `build_platform` field to manually specify cross-compilation when\nno providers offer a desired build platform.\n\nThe following are available as supported build platforms:\n\n* `linux_64`\n* `osx_64`\n* `win_64`\n* `linux_aarch64`\n* `linux_ppc64le`\n* `linux_s390x`\n* `linux_armv7l`\n\nThe following CI services are available:\n\n* `azure`\n* `circle`\n* `travis`\n* `appveyor`\n* `None` or `False` to disable a build platform.\n* `default` to choose an appropriate CI (only if available)\n* `native` to choose an appropriate CI for native compiling (only if available)\n* `emulated` to choose an appropriate CI for compiling inside an emulation \n of the target platform (only if available)\n\nFor example, switching linux_64 & osx_64 to build on Travis CI, with win_64 on\nAppveyor:\n\n```yaml\nprovider:\n linux_64: travis\n osx_64: travis\n win_64: appveyor\n```\n\nCurrently, x86_64 platforms are enabled, but other build platforms are\ndisabled by default. i.e. an empty provider entry is equivalent to the\nfollowing:\n\n```yaml\nprovider:\n linux_64: azure\n osx_64: azure\n win_64: azure\n linux_ppc64le: None\n linux_aarch64: None\n```\n\nTo enable `linux_ppc64le` and `linux_aarch64` add the following:\n\n```yaml\nprovider:\n linux_ppc64le: default\n linux_aarch64: default\n```"
},
"package": {
"anyOf": [
Expand Down
3 changes: 3 additions & 0 deletions conda_smithy/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,9 @@ class ConfigModel(BaseModel):
* `appveyor`
* `None` or `False` to disable a build platform.
* `default` to choose an appropriate CI (only if available)
* `native` to choose an appropriate CI for native compiling (only if available)
* `emulated` to choose an appropriate CI for compiling inside an emulation
of the target platform (only if available)
For example, switching linux_64 & osx_64 to build on Travis CI, with win_64 on
Appveyor:
Expand Down

0 comments on commit 2aabd4e

Please sign in to comment.