Skip to content

Commit 1df6a31

Browse files
authored
Merge pull request #263 from eseiler/misc/fix
[INFRA,MISC] Update CMake, shadowing variable
2 parents 5853f7a + e993848 commit 1df6a31

33 files changed

+34
-34
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.5)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
include (cmake/version.cmake)
88

cmake/configuration.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.5...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
# ----------------------------------------------------------------------------
88
# Greeter

cmake/cpack.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# This file describes how HIBF will be packaged.
66

7-
cmake_minimum_required (VERSION 3.7)
7+
cmake_minimum_required (VERSION 3.20...3.31)
88

99
set (CPACK_GENERATOR "TXZ")
1010

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.10...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
set (HIBF_SOURCE_FILES
88
hierarchical_interleaved_bloom_filter.cpp

src/layout/hierarchical_binning.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ size_t hierarchical_binning::add_lower_level(data_store & libf_data) const
420420
{
421421
// use simple binning to distribute remaining UBs
422422
// Simple binning is not bound by config.tmax
423-
size_t const num_user_bins = next_multiple_of_64(number_of_user_bins);
424-
size_t const number_of_technical_bins = subtract_empty_bins(num_user_bins, config.empty_bin_fraction);
423+
size_t const num_user_bins_next_64 = next_multiple_of_64(number_of_user_bins);
424+
size_t const number_of_technical_bins = subtract_empty_bins(num_user_bins_next_64, config.empty_bin_fraction);
425425
return simple_binning{libf_data, number_of_technical_bins}.execute(); // return id of maximum technical bin
426426
}
427427
}

test/all/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.10...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66
project (hibf_test)
77

88
option (INSTALL_HIBF "" OFF)

test/cmake/diagnostics/list_missing_unit_tests.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.10...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
set (hibf_test_include_targets
88
""

test/cmake/diagnostics/list_unused_snippets.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.10...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
set (hibf_test_snippets
88
""

test/cmake/diagnostics/list_unused_unit_tests.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.10...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
set (hibf_test_targets
88
""

test/cmake/hibf_add_subdirectories.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
cmake_minimum_required (VERSION 3.10...3.30)
5+
cmake_minimum_required (VERSION 3.20...3.31)
66

77
# Calls add_subdirectory on all (direct) subdirectories of the given directory if they contain a `CMakeLists.txt`
88
#

0 commit comments

Comments
 (0)