Skip to content

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

Closed
ghost wants to merge 3 commits intomasterfrom
unknown repository
Closed

xsimd: disable on PowerPC (no Altivec, build fails)#279475
ghost wants to merge 3 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@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.
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jan 7, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jan 8, 2024
@ghost ghost requested a review from CrystalGamma January 18, 2024 09:11
Copy link
Copy Markdown
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).

license = licenses.bsd3;
maintainers = with maintainers; [ tobim ];
platforms = platforms.all;
badPlatforms = [ lib.systems.inspect.patterns.isPower ]; # no AltiVec support, build fails
Copy link
Copy Markdown
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?

@ghost ghost closed this Jan 23, 2024
@ghost ghost deleted the powerpc branch January 23, 2024 06:47
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant