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

xsimd: disable on PowerPC (no Altivec, build fails) #279475

Closed
wants to merge 3 commits into from
Closed

xsimd: disable on PowerPC (no Altivec, build fails) #279475

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 7, 2024

Description of changes

xsimd does not support PowerPC SIMD primitives (Altivec). Also, the build fails badly on PowerPC. This commit adds isPower to meta.badPlatforms and then uses lib.availableOn to omit xsimd as a dependency from builds of scipy and pythran.

This PR is necessary in order to build anything downstream of scipy on powerpc64le.

Things done

  • Built on platform(s)
    • x86_64-linux
    • powerpc64le-linux

Adam Joseph added 3 commits January 7, 2024 15:27
xsimd does not support PowerPC SIMD primitives (Altivec).  Also, the
build fails badly on PowerPC.
Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

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

Looks good overall! Next time, when you make changes that affect platforms not supported by hydra, cc maintainers manually, as ofborg won't do it for you (I ran into this PR by chance).

@@ -56,5 +56,6 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.bsd3;
maintainers = with maintainers; [ tobim ];
platforms = platforms.all;
badPlatforms = [ lib.systems.inspect.patterns.isPower ]; # no AltiVec support, build fails
Copy link
Contributor

Choose a reason for hiding this comment

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

It shouldn't necessarily block this PR, but is upstream aware of this issue? Could we put a link here perhaps?

This pull request was closed.
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