Skip to content

Commit 80a9146

Browse files
committed
Fix some typos with codespell
1 parent 84eb2f1 commit 80a9146

File tree

6 files changed

+22
-15
lines changed

6 files changed

+22
-15
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
77
RUN echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ noble main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
88
RUN sudo apt-get update && sudo apt-get install -y cmake
99

10-
# Install pre-commit
11-
RUN sudo apt-get install -y pipx && pipx install pre-commit
10+
# Install pre-commit and ninja
11+
RUN sudo apt-get install -y pipx && pipx install pre-commit && pipx install ninja
1212

1313
# Newer gcc/ llvm is needed to avoid ASAN Stalling
1414
# See: https://github.com/google/sanitizers/issues/1614
15-
# Minimal vesion: clang-18.1.3, gcc-13.2
15+
# Minimal version: clang-18.1.3, gcc-13.2
1616
RUN sudo apt-get install -y gcc-14

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ repos:
2020

2121
# CMake linting and formatting
2222
- repo: https://github.com/BlankSpruce/gersemi
23-
rev: 0.15.1
23+
rev: 0.20.0
2424
hooks:
2525
- id: gersemi
2626
name: CMake linting
2727

2828
# Markdown linting
2929
# Config file: .markdownlint.yaml
30-
- repo: https://github.com/igorshubovych/markdownlint-cli
31-
rev: v0.42.0
32-
hooks:
33-
- id: markdownlint
30+
# - repo: https://github.com/igorshubovych/markdownlint-cli
31+
# rev: v0.42.0
32+
# hooks:
33+
# - id: markdownlint

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
22

3-
cmake_minimum_required(VERSION 3.28)
3+
cmake_minimum_required(VERSION 3.28...4.1)
44

55
project(
66
beman.scope
@@ -116,7 +116,8 @@ if(BEMAN_SCOPE_INSTALL_CONFIG_FILE_PACKAGE)
116116
EXPORT beman.scope-targets
117117
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/beman.scope
118118
NAMESPACE beman::
119-
CXX_MODULES_DIRECTORY cxx-modules
119+
CXX_MODULES_DIRECTORY
120+
cxx-modules
120121
COMPONENT beman.scope
121122
)
122123
endif()

cmake/gnu-toolchain.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
include_guard(GLOBAL)
1717

18-
set(CMAKE_C_COMPILER gcc-15)
19-
set(CMAKE_CXX_COMPILER g++-15)
18+
set(CMAKE_C_COMPILER gcc)
19+
set(CMAKE_CXX_COMPILER g++)
2020

2121
if(BEMAN_BUILDSYS_SANITIZER STREQUAL "MaxSan")
2222
set(SANITIZER_FLAGS

cmake/llvm-toolchain.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
include_guard(GLOBAL)
1717

18-
set(CMAKE_C_COMPILER clang-20)
19-
set(CMAKE_CXX_COMPILER clang++-20)
18+
set(CMAKE_C_COMPILER clang)
19+
set(CMAKE_CXX_COMPILER clang++)
2020

2121
if(BEMAN_BUILDSYS_SANITIZER STREQUAL "MaxSan")
2222
set(SANITIZER_FLAGS

tests/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ FetchContent_MakeAvailable(Catch2)
1111

1212
# module tests will only compile with gcc15 or clang20 and above
1313
if(CMAKE_CXX_SCAN_FOR_MODULES)
14-
set(ALL_TESTNAMES scope_success scope_exit scope_fail unique_resource module)
14+
set(ALL_TESTNAMES
15+
scope_success
16+
scope_exit
17+
scope_fail
18+
unique_resource
19+
module
20+
)
1521
else()
1622
set(ALL_TESTNAMES scope_success scope_exit scope_fail unique_resource)
1723
endif()

0 commit comments

Comments
 (0)