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

Updated wheel_linux_x86_64.yml #373

Merged
merged 7 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
4 changes: 4 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
* Upgrade Kokkos and Kokkos Kernels to 3.7.00, and improve sparse matrix-vector multiplication performance and memory usage.
[(#361)](https://github.com/PennyLaneAI/pennylane-lightning/pull/361)

* Updated wheel_linux_x86_64.yml, installed GCC11 onto the building container, and updated the wheeler builder compiler to GCC 11 and g++ 11
MonitSharma marked this conversation as resolved.
Show resolved Hide resolved
[(#373)](https://github.com/PennyLaneAI/pennylane-lightning/pull/373)

* Update gcc and g++ 10.x to 11.x in CI tests. This update brings improved support for newer C++ features.
[(#370)](https://github.com/PennyLaneAI/pennylane-lightning/pull/370)


### Documentation

### Bug fixes
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/wheel_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
- name: Install dependencies (Ubuntu)
if: ${{ (matrix.container_img == 'ubuntu-latest') && (steps.kokkos-cache.outputs.cache-hit != 'true') }}
run: |
apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y -q install cmake gcc-10 g++-10 ninja-build git
echo "COMPILER=g++-10" >> $GITHUB_ENV
apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y -q install cmake gcc-11 g++-11 ninja-build git
echo "COMPILER=g++-11" >> $GITHUB_ENV

- name: Install dependencies (CentOS)
if: ${{ (matrix.container_img == 'quay.io/pypa/manylinux2014_x86_64') && (steps.kokkos-cache.outputs.cache-hit != 'true') }}
Expand Down Expand Up @@ -162,6 +162,9 @@ jobs:
CIBW_BEFORE_BUILD: |
cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf
pip install ninja cmake
MonitSharma marked this conversation as resolved.
Show resolved Hide resolved
yum install centos-release-scl-rh
yum install devtoolset-11-gcc-c++
source /opt/rh/devtoolset-11/enable

MonitSharma marked this conversation as resolved.
Show resolved Hide resolved
# Testing of built wheels
CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky
Expand Down