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

Build support for multiple architectures #110

Merged
merged 40 commits into from
Jul 15, 2021
Merged

Build support for multiple architectures #110

merged 40 commits into from
Jul 15, 2021

Conversation

mlxd
Copy link
Member

@mlxd mlxd commented Jul 9, 2021

Context: This PR enables wheel-building for previously unsupported hardware architectures.

Description of the Change: Wheel-build support is added for the following hardware architectures:

  • Linux: PowerPC (ppc64le), ARM64 (aarch64)
  • MacOS: Apple M1 ARM (arm64)

The wheel-builder actions have also been separated to more easily allow selective building per PR created. This is partly due to the parsing order of the Github Actions YAML, where job if statements are evaluated before any matrix statements, introducing skipped tests with undefined potentially overlapping labels.

All x86_64 wheel build operations are run for each PR created. For Linux ppc64le and aarch64, and MacOS arm64 these are built only when a PR is merged with master, due to the additional overheads required.

Benefits: This will simplify installation and use on the above platforms.

Possible Drawbacks: Additional efforts may be required to keep build-system up-to-date with any modifications or changes. Additional cluttering of workflows directory due to lack of support for nested Actions directories.

@codecov
Copy link

codecov bot commented Jul 9, 2021

Codecov Report

Merging #110 (89a9731) into master (b4e067b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   98.14%   98.14%           
=======================================
  Files           3        3           
  Lines          54       54           
=======================================
  Hits           53       53           
  Misses          1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4e067b...89a9731. Read the comment docs.

@mlxd
Copy link
Member Author

mlxd commented Jul 9, 2021

[ch7059]

@mlxd mlxd marked this pull request as ready for review July 13, 2021 12:16
@mlxd mlxd marked this pull request as draft July 13, 2021 17:02
@mlxd mlxd marked this pull request as ready for review July 14, 2021 10:24
@mlxd mlxd requested a review from trbromley July 14, 2021 10:24
Copy link
Contributor

@trbromley trbromley left a comment

Choose a reason for hiding this comment

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

Thanks @mlxd! This is really cool!
Have left a few comments, mainly for my understanding/learning.

.github/workflows/wheel_linux_aarch64.yml Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Outdated Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Outdated Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Outdated Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Show resolved Hide resolved
.github/workflows/wheel_linux_ppc64le.yml Outdated Show resolved Hide resolved
.github/workflows/wheel_linux_ppc64le.yml Show resolved Hide resolved
.github/workflows/wheel_macos_arm64.yml Show resolved Hide resolved
Copy link
Contributor

@trbromley trbromley left a comment

Choose a reason for hiding this comment

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

Thanks @mlxd for the comments! Approved 💯

.github/workflows/wheel_linux_aarch64.yml Show resolved Hide resolved
.github/workflows/wheel_linux_aarch64.yml Show resolved Hide resolved
@mlxd mlxd merged commit 39c2283 into master Jul 15, 2021
@mlxd mlxd deleted the 7059_build_arch branch July 15, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants