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
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
aff1d1a
Add support for multi-arch wheel builds
mlxd Jul 9, 2021
483d0e8
Update Ubuntu version in builder
mlxd Jul 9, 2021
2f3a821
Update cibuildwheel version
mlxd Jul 9, 2021
2aba9b3
Restructure wheelbuild action
mlxd Jul 9, 2021
a639bde
Replace Python setup action with ciwheelbuilder action
mlxd Jul 9, 2021
c771bfc
Fix test env skips
mlxd Jul 9, 2021
8bb9d37
Remove 686 and fix pybind11 install
mlxd Jul 9, 2021
87dc0fa
Fix Mac version as explicit x64 or arm
mlxd Jul 9, 2021
632f1f9
Add qemu layer to arch/pcc wheel builds
mlxd Jul 9, 2021
98c89d4
Separate qemu from win/mac builds
mlxd Jul 9, 2021
afde4db
Lower to oldest supported python version
mlxd Jul 12, 2021
2980908
Update wheel-build
mlxd Jul 13, 2021
4d168eb
Prevent failures killing other jobs
mlxd Jul 13, 2021
34fae4d
Test built wheels incl emulated platforms
mlxd Jul 13, 2021
20898d6
Re-enable wheel build on PR
mlxd Jul 13, 2021
4988436
Ensure x86 wheels built only in PRs. All except PPC on merge with mas…
mlxd Jul 13, 2021
d478a29
fix wheel context
mlxd Jul 13, 2021
5904c1e
Refactor CI conditionals for builder
mlxd Jul 13, 2021
ef569cf
Ensure wheel build only runs against master PR, and merge
mlxd Jul 13, 2021
3a910fc
Remove conditional checks in steps
mlxd Jul 13, 2021
d8d3f5e
Moving conditionals to steps due to Github action parsing if before m…
mlxd Jul 13, 2021
f8b20b0
Split x86 and other arch wheels to allow selective building
mlxd Jul 13, 2021
78b65bb
Fix CI naming issue for wheels
mlxd Jul 13, 2021
871dfbf
Attempt to redefine wheel CI step
mlxd Jul 13, 2021
78cde5a
Due to YAML processing, better to be explicit about job names to avoi…
mlxd Jul 13, 2021
91afcff
Merge branch 'master' into 7059_build_arch
mlxd Jul 13, 2021
4378fb7
Trigger Build
mlxd Jul 13, 2021
392e818
Merge branch 'master' into 7059_build_arch
mlxd Jul 13, 2021
2d52b8d
Update testing CI
mlxd Jul 13, 2021
b4667e1
Merge branch '7059_build_arch' of github.com:PennyLaneAI/pennylane-li…
mlxd Jul 13, 2021
446913b
Separate wheels into individual files
mlxd Jul 13, 2021
ebb9fbd
Move all wheel builder workflow files
mlxd Jul 13, 2021
47f1923
Relabel YAML action files
mlxd Jul 14, 2021
2183e66
Relabel x86_64 images for default use
mlxd Jul 14, 2021
fd27d36
Merge branch 'master' into 7059_build_arch
mlxd Jul 14, 2021
7160c34
Remove redundant MacOS flags
mlxd Jul 15, 2021
953209a
Replace exclusion build flags with inclusion
mlxd Jul 15, 2021
b3805e6
Remove outdated comments from wheel builder
mlxd Jul 15, 2021
4ba9344
Remove duplicate package installs for wheel builder
mlxd Jul 15, 2021
89a9731
Remove branch check guards; use merge guard instead
mlxd Jul 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Mac version as explicit x64 or arm
  • Loading branch information
mlxd committed Jul 9, 2021
commit 87dc0faa73edb578101b19098b9c4b1990785469
7 changes: 4 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ on:
jobs:

pythontests:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
pl-device-test --device=lightning.qubit --skip-ops -x --tb=short --no-flaky-report

# Add support for Intel and ARM Macs
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_ARCHS_MACOS: "x86_64 arm64"

# Build x86_64, ARM, and PowerPC linux wheels
CIBW_ARCHS_LINUX: "x86_64 aarch64 ppc64le"
Expand Down