File tree 3 files changed +6
-14
lines changed
3 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 40
40
# (if needed expand this to add all intermediate values
41
41
# for *temporary* CI testing)
42
42
# - latest version
43
- cmake : ["3.9 ", "4.0", latest]
43
+ cmake : ["3.26 ", "4.0", latest]
44
44
fail-fast : false
45
45
steps :
46
46
64
64
- name : CMake configuration
65
65
# TODO: Use cmake presets for newer versions
66
66
# TODO: Simplify the defaults to not require configuration
67
- run : |
68
- # CMake<3.13 does not have -B option
69
- mkdir build
70
- cd build
71
- cmake .. \
67
+ run : >
68
+ cmake -B build \
72
69
-G Ninja \
73
70
-DCMAKE_BUILD_TYPE=${{env.CMAKE_BUILD_TYPE}} \
74
71
-DBUILD_SHARED_LIBS=ON \
85
82
run : >
86
83
ctest --output-on-failure
87
84
88
- - name : Install (CMake < 3.15)
89
- run : DESTDIR=scalapack_install cmake --build build --target install
90
- if : ${{ matrix.cmake == '3.9' }}
91
- - name : Install (CMake >= 3.15)
85
+ - name : Install
92
86
run : cmake --install build --prefix scalapack_install
93
- if : ${{ matrix.cmake != '3.9' }}
94
- # TODO: Separate the test suite to be able to test the actual install package
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8 ...4.0)
1
+ cmake_minimum_required (VERSION 3.26 ...4.0)
2
2
project (INSTALL C Fortran)
3
3
4
4
add_executable (xintface Fintface.f Cintface.c)
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.9 ...4.0)
1
+ cmake_minimum_required (VERSION 3.26 ...4.0)
2
2
3
3
project (SCALAPACK VERSION 2.2.2 LANGUAGES C Fortran)
4
4
You can’t perform that action at this time.
0 commit comments