Skip to content

Commit 240b5d8

Browse files
committed
Upgrade pip requirements.txt
1 parent 6c3c3b2 commit 240b5d8

File tree

4 files changed

+24
-48
lines changed

4 files changed

+24
-48
lines changed

.cmake-format

Lines changed: 0 additions & 30 deletions
This file was deleted.

cmake/CPM.cmake

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,32 @@
33
# SPDX-FileCopyrightText: Copyright (c) 2019-2023 Lars Melchior and contributors
44

55
set(CPM_DOWNLOAD_VERSION 0.42.0)
6-
set(CPM_HASH_SUM "2020b4fc42dba44817983e06342e682ecfc3d2f484a581f11cc5731fbe4dce8a")
6+
set(CPM_HASH_SUM
7+
"2020b4fc42dba44817983e06342e682ecfc3d2f484a581f11cc5731fbe4dce8a"
8+
)
79

810
if(CPM_SOURCE_CACHE)
9-
set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
11+
set(CPM_DOWNLOAD_LOCATION
12+
"${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake"
13+
)
1014
elseif(DEFINED ENV{CPM_SOURCE_CACHE})
11-
set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
15+
set(CPM_DOWNLOAD_LOCATION
16+
"$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake"
17+
)
1218
else()
13-
set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
19+
set(CPM_DOWNLOAD_LOCATION
20+
"${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake"
21+
)
1422
endif()
1523

1624
# Expand relative path. This is important if the provided path contains a tilde (~)
1725
get_filename_component(CPM_DOWNLOAD_LOCATION ${CPM_DOWNLOAD_LOCATION} ABSOLUTE)
1826

19-
file(DOWNLOAD
20-
https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake
21-
${CPM_DOWNLOAD_LOCATION} EXPECTED_HASH SHA256=${CPM_HASH_SUM}
27+
file(
28+
DOWNLOAD
29+
https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake
30+
${CPM_DOWNLOAD_LOCATION}
31+
EXPECTED_HASH SHA256=${CPM_HASH_SUM}
2232
)
2333

2434
include(${CPM_DOWNLOAD_LOCATION})

cmake/install-config.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ function(add_fmt_module NAME)
2222
target_compile_definitions(${NAME} PUBLIC ${CPPdefinitions})
2323
endif()
2424

25-
# cmake-format: off
2625
target_sources(
2726
${NAME}
2827
PUBLIC
@@ -31,13 +30,11 @@ function(add_fmt_module NAME)
3130
BASE_DIRS ${FMT_ROOT}
3231
FILES ${FMT_ROOT}/lib/cmake/fmt/module/fmt.cppm
3332
)
34-
# cmake-format: on
3533
endfunction()
3634

3735
# Build the stdlib module
3836
function(add_stdlib_module NAME)
3937
add_library(${NAME})
40-
# cmake-format: off
4138
target_sources(
4239
${NAME}
4340
PUBLIC
@@ -47,7 +44,6 @@ function(add_stdlib_module NAME)
4744
${LLVM_LIBC_SOURCE}/std.cppm
4845
${LLVM_LIBC_SOURCE}/std.compat.cppm
4946
)
50-
# cmake-format: on
5147
target_compile_features(
5248
${NAME}
5349
PUBLIC

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44
Pygments
55
PyYAML
6-
cmake-init>=0.40.5
7-
cmake>=4.0
8-
cmakelint>=1.4.2
9-
codespell>=2.2.6
10-
gcovr>=8.2
11-
gersemi
6+
cmake-init>=0.41.1
7+
cmake>=4.2
8+
codespell>=2.4.1
9+
gcovr>=8.4
10+
gersemi>=0.22.3
1211
jinja2>=3.1.3
13-
ninja>=1.11.1
12+
ninja>=1.13.0
1413
yamllint
1514
builddriver
15+
pre-commit

0 commit comments

Comments
 (0)