diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d7bf08e2..3c16da1f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 8c8451e30..f52751511 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-examples LANGUAGES C CXX) diff --git a/examples/causal/CMakeLists.txt b/examples/causal/CMakeLists.txt index a3bba08bf..702b29513 100644 --- a/examples/causal/CMakeLists.txt +++ b/examples/causal/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-causal-example LANGUAGES CXX) diff --git a/examples/code-coverage/CMakeLists.txt b/examples/code-coverage/CMakeLists.txt index 94a265a9b..6d26a93af 100644 --- a/examples/code-coverage/CMakeLists.txt +++ b/examples/code-coverage/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-code-coverage-example LANGUAGES CXX) diff --git a/examples/fork/CMakeLists.txt b/examples/fork/CMakeLists.txt index 909b18bbb..df3fffb29 100644 --- a/examples/fork/CMakeLists.txt +++ b/examples/fork/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-fork LANGUAGES CXX) diff --git a/examples/lulesh/CMakeLists.txt b/examples/lulesh/CMakeLists.txt index 8dd45dd28..a69631a9e 100644 --- a/examples/lulesh/CMakeLists.txt +++ b/examples/lulesh/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-lulesh-example LANGUAGES C CXX) diff --git a/examples/mpi/CMakeLists.txt b/examples/mpi/CMakeLists.txt index 4c9452928..98b1824bf 100644 --- a/examples/mpi/CMakeLists.txt +++ b/examples/mpi/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-mpi-examples LANGUAGES C CXX) diff --git a/examples/openmp/CMakeLists.txt b/examples/openmp/CMakeLists.txt index 2759d2739..b28809223 100644 --- a/examples/openmp/CMakeLists.txt +++ b/examples/openmp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-openmp LANGUAGES CXX) diff --git a/examples/openmp/target/CMakeLists.txt b/examples/openmp/target/CMakeLists.txt index f26aa93d2..a25b6e4f2 100644 --- a/examples/openmp/target/CMakeLists.txt +++ b/examples/openmp/target/CMakeLists.txt @@ -1,7 +1,7 @@ # # # -cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) # try to find a compatible HIP version if(ROCmVersion_MAJOR_VERSION AND ROCmVersion_MAJOR_VERSION GREATER_EQUAL 6) diff --git a/examples/parallel-overhead/CMakeLists.txt b/examples/parallel-overhead/CMakeLists.txt index 1458e138a..c23aa6440 100644 --- a/examples/parallel-overhead/CMakeLists.txt +++ b/examples/parallel-overhead/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-parallel-overhead-example LANGUAGES CXX) diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt index 9f810ed3c..4f61cf0bb 100644 --- a/examples/python/CMakeLists.txt +++ b/examples/python/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-python) diff --git a/examples/rccl/CMakeLists.txt b/examples/rccl/CMakeLists.txt index 4b0d860d7..c1bcf9123 100644 --- a/examples/rccl/CMakeLists.txt +++ b/examples/rccl/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-rccl-example LANGUAGES CXX) diff --git a/examples/rewrite-caller/CMakeLists.txt b/examples/rewrite-caller/CMakeLists.txt index 75f60d922..d665fd16e 100644 --- a/examples/rewrite-caller/CMakeLists.txt +++ b/examples/rewrite-caller/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-rewrite-caller-example LANGUAGES CXX) diff --git a/examples/trace-time-window/CMakeLists.txt b/examples/trace-time-window/CMakeLists.txt index fe68dc16f..ada6b25a0 100644 --- a/examples/trace-time-window/CMakeLists.txt +++ b/examples/trace-time-window/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-trace-time-window-example LANGUAGES CXX) diff --git a/examples/transpose/CMakeLists.txt b/examples/transpose/CMakeLists.txt index 25792c923..48157a8a0 100644 --- a/examples/transpose/CMakeLists.txt +++ b/examples/transpose/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-transpose-example LANGUAGES CXX) diff --git a/examples/user-api/CMakeLists.txt b/examples/user-api/CMakeLists.txt index 754e08eb0..0dfe6e151 100644 --- a/examples/user-api/CMakeLists.txt +++ b/examples/user-api/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(omnitrace-user-api-example LANGUAGES CXX) diff --git a/scripts/run-ci.sh b/scripts/run-ci.sh index f66fa6669..35b12f172 100755 --- a/scripts/run-ci.sh +++ b/scripts/run-ci.sh @@ -207,7 +207,7 @@ EOF verbose-run cd ${BINARY_DIR} cat << EOF > dashboard.cmake -cmake_minimum_required(VERSION 3.16 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) include("\${CMAKE_CURRENT_LIST_DIR}/CTestCustom.cmake") diff --git a/scripts/test-find-package.sh b/scripts/test-find-package.sh index f397d7705..0e1c264a0 100755 --- a/scripts/test-find-package.sh +++ b/scripts/test-find-package.sh @@ -112,7 +112,7 @@ verbose-run cp -v -r ${EXAMPLE_DIR}/${EXAMPLE_NAME}/* ${SOURCE_DIR}/ verbose-run pushd ${SOURCE_DIR} cat << EOF > CMakeLists.txt -cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.21 FATAL_ERROR) project(test LANGUAGES C CXX)