Skip to content

Commit

Permalink
Require CMake>=3.18 (#260)
Browse files Browse the repository at this point in the history
* CMakeLists.txt: minimum cmake 3.18 (LAPACK::LAPACK)

* package.py: minimum cmake=3.18

* developer.yml: gcovr --gcov-ignore-parse-errors

* developer.yml: use gcovr==7.2; revert --gcov-ignore-parse-errors
  • Loading branch information
AlexanderRichert-NOAA authored Nov 22, 2024
1 parent 8373ad5 commit eaa65ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install doxygen libopenblas-dev
python3 -m pip install gcovr
python3 -m pip install gcovr==7.2
- name: checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is the main CMake file for NCEPLIBS-ip.
#
# Mark Potts, Kyle Gerheiser, Eric Engle, Ed Hartnett
cmake_minimum_required(VERSION 3.15)
# Mark Potts, Kyle Gerheiser, Eric Engle, Ed Hartnett, Alex Richert
cmake_minimum_required(VERSION 3.18)

# Get the version from the VERSION file.
file(STRINGS "VERSION" pVersion)
Expand Down
1 change: 1 addition & 0 deletions spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class Ip(CMakePackage):
depends_on("sp precision=d", when="@4.1:4 precision=d")
depends_on("sp precision=8", when="@4.1:4 precision=8")
depends_on("lapack", when="@5.1:")
depends_on("[email protected]:", when="@5.1:")

def cmake_args(self):
args = [
Expand Down

0 comments on commit eaa65ea

Please sign in to comment.