Skip to content

Commit bdaeaee

Browse files
committed
[cmake] disabling formatting not needed
1 parent d4de3be commit bdaeaee

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

benchmark/CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function(ginkgo_benchmark_onemkl_linops type def)
8383
ginkgo_compile_features(onemkl_linops_${type})
8484
endfunction()
8585

86-
# gersemi: off
8786
# Generates an executable for one precision. Each executable will be linked to
8887
# `ginkgo`, `gflags` and `nlohmann-json`.
8988
# Note: This should only be used by `ginkgo_add_typed_benchmark_executables`
@@ -94,7 +93,6 @@ endfunction()
9493
# \param macro_def preprocessor macro name that will be defined during
9594
# building (to compile for a specific type)
9695
# All remaining arguments will be treated as source files
97-
# gersemi: on
9896
function(
9997
ginkgo_add_single_benchmark_executable
10098
name
@@ -139,15 +137,13 @@ function(
139137
endif()
140138
endfunction(ginkgo_add_single_benchmark_executable)
141139

142-
# gersemi: off
143140
# Generates an executable for each supported precision. Each executable will be
144141
# linked to `ginkgo`, `gflags` and `nlohmann-json`.
145142
#
146143
# \param name base-name for the executable to create
147144
# \param use_lib_linops Boolean indicating if linking against hipsparse/cusparse
148145
# is necessary
149146
# All remaining arguments will be treated as source files
150-
# gersemi: on
151147
function(ginkgo_add_typed_benchmark_executables name use_lib_linops)
152148
ginkgo_add_single_benchmark_executable(
153149
"${name}" "${use_lib_linops}" "GKO_BENCHMARK_USE_DOUBLE_PRECISION" "d" ${ARGN}

cmake/create_test.cmake

-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ function(ginkgo_add_resource_requirement test_name)
140140
)
141141
endfunction()
142142

143-
# gersemi: off
144143
## Adds a test to the list executed by ctest and sets its output binary name
145144
## Possible additional arguments:
146145
## - `MPI_SIZE size` causes the tests to be run with `size` MPI processes.
@@ -150,7 +149,6 @@ endfunction()
150149
## - `DISABLE_EXECUTORS exec1 exec2` disables the test for certain backends (if built for multiple)
151150
## - `ADDITIONAL_LIBRARIES lib1 lib2` adds additional target link dependencies
152151
## - `ADDITIONAL_INCLUDES path1 path2` adds additional target include paths
153-
# gersemi: on
154152
function(ginkgo_add_test test_name test_target_name)
155153
cmake_parse_arguments(
156154
PARSE_ARGV

0 commit comments

Comments
 (0)