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 GCC 10.x to 11.x in CI tests #370

Merged
merged 5 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
5 changes: 4 additions & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
* 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)

* 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 All @@ -26,7 +29,7 @@

This release contains contributions from (in alphabetical order):

Amintor Dusko, Chae-Yeun Park, Shuli Shu
Amintor Dusko, Chae-Yeun Park, Monit Sharma, Shuli Shu

---

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
TF_VERSION: 2.10.0
TORCH_VERSION: 1.11.0+cpu
COVERAGE_FLAGS: "--cov=pennylane_lightning --cov-report=term-missing --cov-report=xml:./coverage.xml --no-flaky-report -p no:warnings --tb=native"
GCC_VERSION: 10
GCC_VERSION: 11
OMP_NUM_THREADS: "2"

jobs:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
fetch-depth: 2

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10 ninja-build gcovr lcov
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11 ninja-build gcovr lcov

- name: Build and run unit tests
run: |
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
python-version: '3.7'

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11

- name: Get required Python packages
run: |
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
fetch-depth: 2

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10 libopenblas-dev ninja-build gcovr lcov
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11 libopenblas-dev ninja-build gcovr lcov

- name: Build and run unit tests
run: |
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
python-version: '3.7'

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10 libopenblas-dev
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11 libopenblas-dev

- name: Get required Python packages
run: |
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
cp -rf ${{ github.workspace}}/Kokkos_install/${{ matrix.exec_model }}/* Kokkos/

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10 ninja-build gcovr lcov
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11 ninja-build gcovr lcov

- name: Build and run unit tests
run: |
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
pwd

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11

- name: Get required Python packages
run: |
Expand Down Expand Up @@ -439,7 +439,7 @@ jobs:
cp -rf ${{ github.workspace}}/Kokkos_install/${{ matrix.exec_model }}/* Kokkos/

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10 libopenblas-dev ninja-build gcovr lcov
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11 libopenblas-dev ninja-build gcovr lcov

- name: Build and run unit tests
run: |
Expand Down Expand Up @@ -514,7 +514,7 @@ jobs:
pwd

- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-10 g++-10 libopenblas-dev
run: sudo apt-get update && sudo apt-get -y -q install cmake gcc-11 g++-11 libopenblas-dev

- name: Get required Python packages
run: |
Expand Down
2 changes: 1 addition & 1 deletion pennylane_lightning/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.27.0-dev8"
__version__ = "0.27.0-dev9"