Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
test: update cmake_minimum_required version from 3.3 to 3.5
Browse files Browse the repository at this point in the history
Update cmake_minimum_required version from 3.3 to 3.5, because of:

CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
  • Loading branch information
ldorau committed Jun 13, 2023
1 parent d347399 commit 4a8ba2c
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 36 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- cmake_minimum_required version from 3.3 to 3.5

## [1.3.0] - 2023-05-25
### Added
- the native flush support (required support in the kernel and in an RNIC's driver)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Copyright (c) 2022-2023, Fujitsu Limited
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)

project(rpma C)

Expand Down
4 changes: 2 additions & 2 deletions examples/01-connection/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2021, Intel Corporation
# Copyright 2020-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(connection-example C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/02-read-to-volatile/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(read-example C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/03-read-to-persistent/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(read-to-persistent C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/04-write-to-persistent/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(write-to-persistent C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/05-flush-to-persistent/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(flush-to-persistent C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/06-multiple-connections/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(multiple-connections C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/06scch-multiple-connections/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(multiple-connections C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/07-atomic-write/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(atomic-write C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/08-messages-ping-pong/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(messages-ping-pong C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(messages-ping-pong C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/09-flush-to-persistent-GPSPM/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(flush-to-persistent C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/09scch-flush-to-persistent-GPSPM/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
# Copyright 2021, Fujitsu
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(flush-to-persistent C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/10-send-with-imm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2020 Fujitsu
# Copyright 2021, Intel Corporation
# Copyright 2021-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(send-with-imm C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
3 changes: 2 additions & 1 deletion examples/11-write-with-imm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2021 Fujitsu
# Copyright 2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(write-with-imm C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/12-receive-completion-queue/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2022, Intel Corporation
# Copyright 2022-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(receive-completion-queue C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/12scch-receive-completion-queue/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2022, Intel Corporation
# Copyright 2022-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(receive-completion-queue C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/13-messages-ping-pong-with-srq/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2022, Fujitsu
# Copyright 2022, Intel Corporation
# Copyright 2022-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)
project(messages-ping-pong-with-srq C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
4 changes: 2 additions & 2 deletions examples/cmake/common.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2022, Intel Corporation
# Copyright 2020-2023, Intel Corporation
#

cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.5)

function(add_example_with_pmem)
set(options USE_LIBPROTOBUFC)
Expand Down

0 comments on commit 4a8ba2c

Please sign in to comment.