From 2b26841c5896429aa6cc443570f421badc7eb01f Mon Sep 17 00:00:00 2001 From: Lee James O'Riordan Date: Thu, 29 Jul 2021 13:46:07 +0100 Subject: [PATCH] Change PPC wheel builder image to have C++17 compatible compiler (#120) * Change PPC wheel builder image to have C++17 compatible compiler * Update changelog * Update .github/CHANGELOG.md Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> --- .github/CHANGELOG.md | 29 ++++++++++++++++------- .github/workflows/wheel_linux_ppc64le.yml | 4 ++-- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index da3f084221..3512a6847c 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -2,34 +2,45 @@ ### New features -* C++ layer now supports float (32-bit) and double (64-bit) templated complex data ([#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113)) +* C++ layer now supports float (32-bit) and double (64-bit) templated complex data. + [#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113) ### Improvements -* Static versions of jQuery and Bootstrap are no longer included in the CSS theme. [(118)](https://github.com/PennyLaneAI/pennylane-lightning/pull/118) +* Static versions of jQuery and Bootstrap are no longer included in the CSS theme. + [(118)](https://github.com/PennyLaneAI/pennylane-lightning/pull/118) -* C++ tests have been ported to use Catch2 framework. ([#115](https://github.com/PennyLaneAI/pennylane-lightning/pull/115)) +* C++ tests have been ported to use Catch2 framework. + [#115](https://github.com/PennyLaneAI/pennylane-lightning/pull/115) -* Testing now exists for both float and double precision methods in C++ layer. ([#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113),[#115](https://github.com/PennyLaneAI/pennylane-lightning/pull/115)) +* Testing now exists for both float and double precision methods in C++ layer. + [#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113) + [#115](https://github.com/PennyLaneAI/pennylane-lightning/pull/115) -* Compile-time utility methods with `constexpr` have been added. ([#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113)) +* Compile-time utility methods with `constexpr` have been added. + [#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113) -* Wheel-build support for ARM64 (Linux and MacOS) and PowerPC (Linux) added. ([#110](https://github.com/PennyLaneAI/pennylane-lightning/pull/110)) +* Wheel-build support for ARM64 (Linux and MacOS) and PowerPC (Linux) added. + [#110](https://github.com/PennyLaneAI/pennylane-lightning/pull/110) * Add support for Controlled Phase Gate (CPhaseShift). [(#112)](https://github.com/PennyLaneAI/pennylane-lightning/issues/112) * Move changelog to `.github` and add a changelog reminder. - ### Breaking changes -* Compilers with C++17 support are now required to build C++ module. ([#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113)) +* Compilers with C++17 support are now required to build C++ module. + [#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113) -* Gate classes have been removed with functionality added to StateVector class. ([#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113)) +* Gate classes have been removed with functionality added to StateVector class. + [#113](https://github.com/PennyLaneAI/pennylane-lightning/pull/113) ### Bug fixes +* PowerPC wheel-builder now successfully compiles modules. + [#120](https://github.com/PennyLaneAI/pennylane-lightning/pull/120) + ### Contributors This release contains contributions from (in alphabetical order): diff --git a/.github/workflows/wheel_linux_ppc64le.yml b/.github/workflows/wheel_linux_ppc64le.yml index 8791375279..10f2e7537a 100644 --- a/.github/workflows/wheel_linux_ppc64le.yml +++ b/.github/workflows/wheel_linux_ppc64le.yml @@ -14,8 +14,8 @@ env: # Skip PPC tests due to lack of numpy/scipy wheel support CIBW_TEST_SKIP: "*-manylinux_{ppc64le}" - # Use Debian image for PPC - CIBW_MANYLINUX_PPC64LE_IMAGE: manylinux_2_24 + # Use CentOS 7 image for PPC + CIBW_MANYLINUX_PPC64LE_IMAGE: manylinux2014 jobs: linux-wheels-ppc64le: