Programming Languages on Power

 View Only
  • 1.  Swift Programming Language on Power

    Posted Wed September 14, 2022 02:05 PM
    Hello,

    I want to use Swift programming language to create a library, but unfortunately I could not find the package in the official repositories (on Ubuntu) or in the IBM Open Source POWER Availability Tool or on the official Swift website.

    Does anyone know if there is a ppc64le port for Swift or is anyone working on this ?

    Thank you.

    ------------------------------
    Alexandru Popescu
    ------------------------------


  • 2.  RE: Swift Programming Language on Power

    Posted Wed September 14, 2022 02:15 PM
    You might want to search in the Open Source POWER Availability Tool (OSPAT): https://www.ibm.com/it-infrastructure/resources/power-open-source/.

    That tool pointed me to https://launchpad.net/ubuntu/focal/+package/swift.  Does that have what you seek?

    ------------------------------
    Paul Clarke
    ------------------------------



  • 3.  RE: Swift Programming Language on Power

    Posted Wed September 14, 2022 02:50 PM
    From my understanding, the Swift package from https://launchpad.net/ubuntu/focal/+package/swift is the OpenStack Object Storage (code-named Swift) and not the package for Swift programming language.

    The official download page for Swift programming language ( https://www.swift.org/download/ ) does not list IBM Power/ppc64le as supported architecture.

     I already did a search on Open Source POWER Availability Tool (OSPAT) and I could not find what I am looking for.

    ------------------------------
    Alexandru Popescu
    ------------------------------



  • 4.  RE: Swift Programming Language on Power

    Posted Wed September 14, 2022 03:34 PM
    So, yes, we did port Swift a couple of years ago but I don't know what the current status is.  We did publish a container and the community was setting up CI/CD and OSL.  I even found some notes about the steps it takes to build, although that also included one of the crashes we were debugging at the time.  We were going to publish a container for it back then, and I found all the prep work but I can't see that we have received the approval to publish.  I'm going to ask someone else internally as well.  How urgent is your need?  I don't know if we can sign up yet to refresh this or get a container published.  Are you looking to use it from a container, or are you hoping to build it yourself to use?  We typically don't build/publish deb/rpm files because of maintenance challenges, so container or build script are usually all we offer.  I think the last bits of our work are out here:  https://github.com/ppc64le/build-scripts/tree/master/s/swift

    gerrit

    ------------------------------
    Gerrit Huizenga
    ------------------------------



  • 5.  RE: Swift Programming Language on Power

    Posted Thu September 15, 2022 01:03 AM
    I want to start developing a library on Swift, so I am looking for a deb/rpm/binary archive to install on my VM.
    A build script is not ideal for my needs.

    ------------------------------
    Alexandru Popescu
    ------------------------------



  • 6.  RE: Swift Programming Language on Power

    Posted Thu September 15, 2022 10:28 AM
    I had to consult my oracle in India, but we did publish a container: 

    https://hub.docker.com/repository/registry-1.docker.io/ibmcom/swift-ppc64le/tags?page=1&ordering=last_updated

    which still works.  It was built about three years ago, version 5.0-dev.  We don't build deb/rpm/binaries because of the maintenance, security, support issues, etc.  Those would normally need to be requested of the community if they aren't packages included in a distro today.

    ------------------------------
    Gerrit
    ------------------------------