rpsene / how-to-build-on-power

Your one-stop-shop on how to build on ppc64le

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do you want to build on POWER?

This FAQ answers common questions for those consideting adopting POWER (ppc64le) as a supported platform. It consolidates the several resources available to ease the journey to POWER. Welcome :)

Table of Contents

  1. Where can I learn more about POWER?
  2. Where can I get access to POWER?
  3. Where can I find resources for development on POWER?
  4. How can I get familiar with POWER Instruction Set Architecture (ISA)?
  5. How do I port amd64/x86_64 applications to POWER?
  6. How do I run Linux on POWER?
  7. How do I build on POWER using Travis?
  8. How can I check if an application or a package is available on POWER?
  9. Under Development

Where can I learn more about POWER?

To learn more about Power click HERE. Do you want to become an expert on Power? Get these BADGES.

back to top

Where can I get access to POWER?

There are several public cloud offerings which provides access (some of that are FREE, yay!) to Power. Those offerings are very interesting for developers working with Open Source Communities which requires access to Power resources for testing, porting, etc.

Take a look at this map which depicts the location of those aforementioned clouds.

back to top

Where can I find resources for development on POWER?

The Developer Portal is your one-stop-shop for developer resources on Power. A set of great tools and technologies are available, CHECK IT OUT!

back to top

How can I get familiar with POWER Instruction Set Architecture (ISA)?

Power ISA Version 2.07B consists of five books and a set of appendices. It is intended for use with IBM® POWER8® with NVIDIA® NVLink™ Technology, IBM® POWER8®, and prior IBM Power Architecture® processors.

  • Book I, Power ISA User Instruction Set Architecture, covers the base instruction set and related facilities available to the application programmer.
  • Book II, Power ISA Virtual Environment Architecture, defines the storage model and related instructions and facilities available to the application programmer.
  • Book III-S, Power ISA Operating Environment Architecture - Server Environment, defines the supervisor instructions and related facilities used for general purpose implementations.
  • Book III-E, Power ISA Operating Environment Architecture - Embedded Environment, defines the supervisor instructions.
  • Book VLE, Power ISA Operating Environment Architecture - Variable Length Encoding (VLE) Instructions Architecture, defines alternative instruction encoding and definitions intended to increase instruction density for very low end implementations.

Power ISA Version 3.0B consists of three books and a set of appendices. It is intended for use with the IBM POWER9 processor.

  • Book I, Power ISA User Instruction Set Architecture, covers the base instruction set and related facilities available to the application programmer.
  • Book II, Power ISA Virtual Environment Architecture, defines the storage model and related instructions and facilities available to the application programmer.
  • Book III, Power ISA Operating Environment Architecture, defines the supervisor instructions and related facilities.

back to top

How do I port amd64/x86_64 applications to POWER?

The definitive how-to guide can be find HERE.

back to top

How do I run Linux on POWER?

All major Linux distributions are supported on Power:

back to top

How do I build on POWER using Travis?

Travis CI is a continuous integration service used to build and test software projects hosted on GitHub. To build on Power, just add os: linux-ppc64le as part of your .travis.yaml file.

This configuration builds on POWER and on x86_64:

language: bash

matrix: 
    include: 
        - os: linux-ppc64le
        - os: linux

script: 
    - uname -a

This configuration builds only on POWER:

language: bash

matrix: 
    include: 
        - os: linux-ppc64le

script: 
    - uname -a

NOTE: You can organize your builds by using build stages. Take a look at https://docs.travis-ci.com/user/build-stages/ and learn how to use this Travis feature.

back to top

How can I check if an application or a package is available on POWER?

There is an awesome tool called OSPAT (Open Source POWER Availability Tool) that provides you mechanisms to search for a specific package or application. Try it NOW!

back to top

Under Development

How to run Docker on POWER?

How to build on POWER using GitLab?

How to add POWER node in your Jenkins setup?

How to create multi-arch Docker images?

The step-by-step can be found here. Ensure you have a DockerHub account when trying it :)

back to top

Support or Contact

Questions or concerns: rpsene@br.ibm.com.

back to top

About

Your one-stop-shop on how to build on ppc64le

License:Apache License 2.0