6

When I request builds in this recipe it only creates 32 bit and 64 bit packages. How to create packages for armhf, arm64, or PowerPC?

11

To enable ARM builds

As of 8 November 2016, enabling ARM builds is self-service: you can change an option in the PPA settings to get it to build for any of the following architectures automatically (documentation link):

  • AMD x86-64 (amd64)
  • ARM ARMv8 (arm64)
  • ARM ARMv7 Soft Float (armel)
  • ARM ARMv7 Hard Float (armhf)
  • Intel x86 (i386)
  • PowerPC64 Little-Endian (ppc64el)

Log in and select "Change details" in the upper right corner of your PPA page. At the bottom of the page that follows, you'll see the above options that can be enabled. added image The following entries are ones that only an administrator of Launchpad can enable for your account.

  • PowerPC (powerpc)
  • IBM System z (s390x)

For these, you still request access on the forums, although searching the forum indicates that Canonical previously only did this under special circumstances (only if you're a Canonical employee or have a contract in place with Canonical). Another forum post suggests that powerpc and s390x builds should be available to all users by now, but I'm not sure if the security concerns of building your (possibly malicious) package on non-virtualized Canonical hardware have been resolved.

To build already published packages for ARM

Once you have enabled ARM in the Launchpad PPA settings, click "copy packages", and copy the packages to the same PPA (click on "copy existing binaries", so that Launchpad will simply copy the already built packages for amd64 or i386, and will only build new packages for ARM). When the next version of your package is released, you won't have to repeat this procedure, Launchpad will automatically build it for all architectures you had selected.

  • I am just curious, "Some architectures are restricted and may only be enabled or disabled by administrators." What about these? – Archisman Panigrahi Apr 30 '16 at 4:13
  • I added an update addressing this. In short, powerpc and s390x builds still require an admin to enable, and you still do this by asking on the forums / "launchpad itself". – rajb245 May 1 '16 at 0:15
1

As of November 2016, this answer is not applicable anymore. See the other answer by rajb245 for the current procedure to enable ARM builds.

The process and requirements for ARM builds are here.

In short, if you:

  1. have builds that are 4 hours or less, and

  2. have 10 or less builds per week,

you can request ARM builds for your PPA here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.