Skip to content

Commit

Permalink
Update internal files use cmake_minimum_required(VERSION 3.21)
Browse files Browse the repository at this point in the history
To match workflow
  • Loading branch information
dgaliffiAMD committed Oct 30, 2024
1 parent a137252 commit 4cacea4
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/causal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/code-coverage/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/fork/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/lulesh/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/mpi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/openmp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/openmp/target/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/parallel-overhead/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)

project(omnitrace-python)

Expand Down
2 changes: 1 addition & 1 deletion examples/rccl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/rewrite-caller/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/trace-time-window/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/transpose/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/user-api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion scripts/run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-find-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4cacea4

Please sign in to comment.