Skip to content

Commit 2eaa787

Browse files
authored
Fix typos in external/pslib_brpc.cmake (#70001)
1 parent a58cc10 commit 2eaa787

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmake/cinn/core.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function(cinn_merge_static_libs TARGET_NAME)
234234

235235
if(APPLE) # Use OSX's libtool to merge archives
236236
# Make the generated dummy source file depended on all static input
237-
# libs. If input lib changes,the source file is touched
237+
# libs. If input lib changes, the source file is touched
238238
# which causes the desired effect (relink).
239239
add_custom_command(
240240
OUTPUT ${target_SRCS}
@@ -283,7 +283,7 @@ function(cinn_merge_static_libs TARGET_NAME)
283283
endforeach()
284284

285285
# Make the generated dummy source file depended on all static input
286-
# libs. If input lib changes,the source file is touched
286+
# libs. If input lib changes, the source file is touched
287287
# which causes the desired effect (relink).
288288
add_custom_command(
289289
OUTPUT ${target_SRCS}
@@ -310,7 +310,7 @@ function(cinn_merge_static_libs TARGET_NAME)
310310

311311
# windows do not support gcc/nvcc combined compiling. Use msvc lib.exe to merge libs.
312312
# Make the generated dummy source file depended on all static input
313-
# libs. If input lib changes,the source file is touched
313+
# libs. If input lib changes, the source file is touched
314314
# which causes the desired effect (relink).
315315
add_custom_command(
316316
OUTPUT ${target_SRCS}

cmake/external/pslib_brpc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include(ExternalProject)
1616

1717
set(PSLIB_BRPC_PROJECT "extern_pslib_brpc")
1818
if((NOT DEFINED PSLIB_BRPC_NAME) OR (NOT DEFINED PSLIB_BRPC_URL))
19-
message(STATUS "use pre defined download url")
19+
message(STATUS "use predefined download url")
2020
set(PSLIB_BRPC_VER
2121
"0.1.0"
2222
CACHE STRING "" FORCE)

cmake/simd.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endif()
3636

3737
set(CMAKE_REQUIRED_FLAGS_RETAINED ${CMAKE_REQUIRED_FLAGS})
3838

39-
# Check MMX
39+
# Check MMX
4040
set(CMAKE_REQUIRED_FLAGS ${MMX_FLAG})
4141
set(MMX_FOUND_EXITCODE
4242
1

0 commit comments

Comments
 (0)