Skip to content

Commit b5b33d4

Browse files
authored
Spelling cmake (#58569)
* spelling: and Signed-off-by: Josh Soref <[email protected]> * spelling: intentionally Signed-off-by: Josh Soref <[email protected]> * spelling: simulator is Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Josh Soref <[email protected]>
1 parent 66663b1 commit b5b33d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ function(add_swift_host_tool executable)
718718
719719
elseif(BOOTSTRAPPING_MODE STREQUAL "CROSSCOMPILE-WITH-HOSTLIBS")
720720
721-
# Intentinally don't add the lib dir of the cross-compiled compiler, so that
721+
# Intentionally don't add the lib dir of the cross-compiled compiler, so that
722722
# the stdlib is not picked up from there, but from the SDK.
723723
# This requires to explicitly add all the needed compatibility libraries. We
724724
# can take them from the current build.
@@ -785,7 +785,7 @@ function(add_swift_host_tool executable)
785785
elseif(SWIFT_HOST_VARIANT_SDK MATCHES "LINUX|ANDROID|OPENBSD" AND ASHT_HAS_SWIFT_MODULES AND BOOTSTRAPPING_MODE)
786786
set(swiftrt "swiftImageRegistrationObject${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_OBJECT_FORMAT}-${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_LIB_SUBDIR}-${SWIFT_HOST_VARIANT_ARCH}")
787787
if(${BOOTSTRAPPING_MODE} MATCHES "HOSTTOOLS|CROSSCOMPILE")
788-
# At build time and and run time, link against the swift libraries in the
788+
# At build time and run time, link against the swift libraries in the
789789
# installed host toolchain.
790790
get_filename_component(swift_bin_dir ${SWIFT_EXEC_FOR_SWIFT_MODULES} DIRECTORY)
791791
get_filename_component(swift_dir ${swift_bin_dir} DIRECTORY)

cmake/modules/SwiftConfigureSDK.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function(remove_sdk_unsupported_archs name os sdk_path architectures_var)
9090
message(STATUS "Assuming ${name} SDK at ${sdk_path} supports architecture ${arch}")
9191
list(APPEND architectures ${arch})
9292
elseif(arch STREQUAL "i386" AND os STREQUAL "iphonesimulator")
93-
# 32-bit iOS simulatoris not listed explicitly in SDK settings.
93+
# 32-bit iOS simulator is not listed explicitly in SDK settings.
9494
message(STATUS "Assuming ${name} SDK at ${sdk_path} supports architecture ${arch}")
9595
list(APPEND architectures ${arch})
9696
else()

0 commit comments

Comments
 (0)