Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openjdk: add support for powerpc64le #168110

Merged
merged 1 commit into from Apr 12, 2022
Merged

openjdk: add support for powerpc64le #168110

merged 1 commit into from Apr 12, 2022

Conversation

ghost
Copy link

@ghost ghost commented Apr 10, 2022

Description of changes

This commit adds entries to the Rosetta Stones in adoptopenjdk-bin/generate-sources.py and compilers/openjdk/8.nix, and runs adoptopenjdk-bin/generate-sources.py to regenerate adoptopenjdk-bin/sources.json.

With this commit, nix-build . -A jdk8_headless succeeds on powerpc64le. Headless jdk is used as part of the build process for many packages so this opens up access to them.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
    • powerpc64le-linux
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@ghost ghost marked this pull request as ready for review April 10, 2022 09:47
@@ -15,6 +15,8 @@
"x64": ("x86_64",),
"aarch64": ("aarch64",),
"arm": ("armv6l", "armv7l"),
"ppc64": ("powerpc64",),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reference to this? I could only find powerpc64le.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@SuperSandro2000
Copy link
Member

@ofborg eval

This commit adds entries to the Rosetta Stones in
adoptopenjdk-bin/generate-sources.py and compilers/openjdk/8.nix, and
runs adoptopenjdk-bin/generate-sources.py to regenerate
adoptopenjdk-bin/sources.json.

With this commit, `nix-build . -A jdk8_headless` succeeds on
powerpc64le.  Headless jdk is used as part of the build process for
many packages so this opens up access to them.
@SuperSandro2000 SuperSandro2000 merged commit 3a537be into NixOS:master Apr 12, 2022
@ghost ghost deleted the openjdk-powerpc branch April 12, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant