Skip to content

Proposal for Introducing s390x and ppc64le Packages #54930

Closed
@james-crowley

Description

@james-crowley

I wanted to start a discussion about introducing packages for s390x and ppc64le architectures.

I saw a couple of amazing PRs by @jasontedor, #53914, #53926, #53936, #54856, which outlined the process for adding a new architecture in this case it was arm64.

From my brief scan of the changes @jasontedor made, it seems like the code is extendable to allow other architectures.

private static final List<String> ALLOWED_ARCHITECTURES = List.of("aarch64", "x64");

Here we would need to append the additional architectures onto the list.

switch (architecture) {
case "amd64":
case "x86_64":
return X64;
case "aarch64":
return AARCH64;
default:

Also, in this snippet we would need to add additional case statements for the additional architectures.

There are couple other key areas we would also need to change, but overall the changes @jasontedor made were very well done!

Most of these changes stated above are currently how we are building s390x binaries to run internally and I would love to see them get merged.

I have worked with a couple other open source communities to add support for s390x and ppc64le. One of the challenges communities face is access to s390x and ppc64le hardware, fortunately IBM does offer free resources for both platforms for open source communities. I am happy to assist the Elasticsearch team in getting setup with these resources, which you could pull into your own CI/CD pipelines.

Tagging a couple of elastic team members I saw helping out with the PRs mentioned above. @mark-vieira @pugnascotia

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions