You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2015/02/03 00:39:35 UTC

[jira] [Commented] (AURORA-1089) Document how to build multi-platform client binaries

    [ https://issues.apache.org/jira/browse/AURORA-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14302331#comment-14302331 ] 

Bill Farner commented on AURORA-1089:
-------------------------------------

This is accomplished by specifying {{platforms}} to the {{python_binary}}.  Pants docs mention this, but are pretty sparse: http://pantsbuild.github.io/jsirois-test/build_dictionary.html?highlight=platforms#python-binary

For example, pulling a target out of our src/main/python/apache/aurora/client/cli/BUILD:

{code}
python_binary(
  name='aurora',
  entry_point = 'apache.aurora.client.cli.client:proxy_main',
  dependencies = [
    ':client_lib'
  ],
  platforms = (
    'linux-x86_64',
    'macosx-10.4-x86_64',
  )
)
{code}


> Document how to build multi-platform client binaries
> ----------------------------------------------------
>
>                 Key: AURORA-1089
>                 URL: https://issues.apache.org/jira/browse/AURORA-1089
>             Project: Aurora
>          Issue Type: Story
>            Reporter: Benjamin Staffin
>            Priority: Minor
>
> I'm told it's possible to build pex binaries that work on both Linux and MacOS, but there doesn't seem to be any documentation about how to do it for Aurora.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)