File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 5454
5555 - name : Cache Build
5656 id : cache-build
57- uses : actions/cache@v4.0.2
57+ uses : actions/cache@v4
5858 with :
5959 path : ${{ env.CACHE_PATH }}
6060 key : ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }}
@@ -106,7 +106,7 @@ jobs:
106106
107107 - name : Cache build
108108 id : cache-build
109- uses : actions/cache@v4.0.2
109+ uses : actions/cache@v4
110110 with :
111111 path : ${{ env.appdata }}\Mozilla\sccache
112112 key : ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }}
Original file line number Diff line number Diff line change 4141
4242 - name : Cache Build
4343 id : cache-build
44- uses : actions/cache@v4.0.2
44+ uses : actions/cache@v4
4545 with :
4646 path : ${{ env.CACHE_PATH }}
4747 key : ${{ runner.os }}-Release-${{ matrix.threading }}-cache-${{ github.sha }}
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ endif()
1010set (REQUIRED_CMAKE_VERSION "3.18.0" )
1111if (POLYSOLVE_TOPLEVEL_PROJECT)
1212 cmake_minimum_required (VERSION ${REQUIRED_CMAKE_VERSION} )
13+ SET (CMAKE_POLICY_VERSION_MINIMUM ${REQUIRED_CMAKE_VERSION} )
14+ if (CMAKE_VERSION VERSION_GREATER_EQUAL "4.0.0" )
15+ message (WARNING "CMake version is ${CMAKE_VERSION} , setting stuff for dependencies." )
16+ SET (CMAKE_POLICY_VERSION_MINIMUM ${REQUIRED_CMAKE_VERSION} )
17+ set (POLYSOLVE_WITH_AMGCL OFF CACHE BOOL "Use AMGCL for solving linear systems" )
18+ endif ()
1319else ()
1420 # Don't use cmake_minimum_required here to avoid implicitly overriding parent policies
1521 if (${CMAKE_VERSION} VERSION_LESS ${REQUIRED_CMAKE_VERSION} )
You can’t perform that action at this time.
0 commit comments