Cleanup: spelling in comments & duplicate terms (check_spelling.py)
Also minor clarification in doc-string.
This commit is contained in:
@@ -140,8 +140,8 @@ else()
|
||||
export ZLIB_LIBS=${LIBDIR}/zlib/lib/${ZLIB_LIBRARY}
|
||||
)
|
||||
|
||||
# This patch indludes changes to fix missing -lm for sqlite and and fix the order of
|
||||
# -ldl flags for ssl to avoid link errors.
|
||||
# This patch includes changes to fix missing `-lm` for SQLITE
|
||||
# and fix the order of `-ldl` flags for SSL to avoid link errors.
|
||||
if(APPLE)
|
||||
set(PYTHON_PATCH
|
||||
${PATCH_CMD} --verbose -p1 -d
|
||||
|
||||
@@ -113,7 +113,7 @@ if((NOT EXISTS "${DOWNLOAD_DIR}/msys2/msys64/msys2_shell.cmd") AND
|
||||
)
|
||||
|
||||
# Do initial upgrade of pacman packages (only required for initial setup, to get
|
||||
# latest packages as opposed to to what the installer comes with)
|
||||
# latest packages as opposed to what the installer comes with).
|
||||
execute_process(
|
||||
COMMAND ${DOWNLOAD_DIR}/msys2/msys64/msys2_shell.cmd -defterm -no-start -clang64 -c
|
||||
"pacman -Sy --noconfirm && exit"
|
||||
|
||||
@@ -1178,7 +1178,7 @@ set(IGC_LLVM_HOMEPAGE https://github.com/llvm/llvm-project/)
|
||||
set(IGC_LLVM_LICENSE SPDX:Apache-2.0 WITH LLVM-exception)
|
||||
set(IGC_LLVM_COPYRIGHT "Copyright (c) 2003-2019 University of Illinois at Urbana-Champaign. All rights reserved.")
|
||||
|
||||
# WARNING WARNING WARNING
|
||||
# ******* WARNING *******
|
||||
#
|
||||
# IGC_OPENCL_CLANG contains patches for some of its dependencies.
|
||||
#
|
||||
@@ -1186,7 +1186,7 @@ set(IGC_LLVM_COPYRIGHT "Copyright (c) 2003-2019 University of Illinois at Urbana
|
||||
# IGC_OPENCL_CLANG's patches folder and update igc.cmake to account for
|
||||
# any added or removed patches.
|
||||
#
|
||||
# WARNING WARNING WARNING
|
||||
# ******* WARNING *******
|
||||
|
||||
set(IGC_OPENCL_CLANG_VERSION v14.0.1)
|
||||
set(IGC_OPENCL_CLANG_URI https://github.com/intel/opencl-clang/archive/${IGC_OPENCL_CLANG_VERSION}.tar.gz)
|
||||
|
||||
@@ -46,14 +46,14 @@ echo #
|
||||
echo # Since this will download and install a whole bunch of stuff the following
|
||||
echo # disclamer is seemingly required:
|
||||
echo #
|
||||
echo # *WARNING WARNING WARNING*
|
||||
echo # *WARNING WARNING WARNING*
|
||||
echo # ******* WARNING *******
|
||||
echo # ******* WARNING *******
|
||||
echo #
|
||||
echo # DO NOT RUN THIS ON ANYTHING BUT A CLEAN WINDOWS INSTALL, IF YOU DO, AND IT
|
||||
echo # MESSES UP YOUR WORKSTATION, THATS ON YOU...
|
||||
echo #
|
||||
echo # *WARNING WARNING WARNING*
|
||||
echo # *WARNING WARNING WARNING*
|
||||
echo # ******* WARNING *******
|
||||
echo # ******* WARNING *******
|
||||
echo #
|
||||
echo # hit ctrl-break right now to abort.. last chance
|
||||
echo #
|
||||
|
||||
@@ -226,7 +226,7 @@ if(NOT MSVC_CLANG)
|
||||
string(APPEND CMAKE_CXX_FLAGS " /permissive- /Zc:__cplusplus /Zc:inline")
|
||||
string(APPEND CMAKE_C_FLAGS " /Zc:inline")
|
||||
|
||||
# For VS2022+ we can enable the the new preprocessor
|
||||
# For VS2022+ we can enable the new preprocessor
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.30.30423)
|
||||
string(APPEND CMAKE_CXX_FLAGS " /Zc:preprocessor")
|
||||
string(APPEND CMAKE_C_FLAGS " /Zc:preprocessor")
|
||||
|
||||
@@ -201,7 +201,7 @@ def main() -> None:
|
||||
platform_tag = "macosx_%d_%d_%s" % (target_major, target_minor, machine)
|
||||
elif sys.platform == "win32":
|
||||
# Workaround for Python process running in a virtualized environment on Windows-on-Arm:
|
||||
# use the actual processor architecture instead of the the virtualized one.
|
||||
# use the actual processor architecture instead of the virtualized one.
|
||||
#
|
||||
# The win_arm64 matches the behavior when native WoA Python is used, and also matches
|
||||
# sysconfig.get_platform() from a native Python build (although it returns win-arm64 with a
|
||||
|
||||
@@ -47,7 +47,7 @@ def print_stage(text: str) -> None:
|
||||
|
||||
def parse_arguments() -> argparse.Namespace:
|
||||
"""
|
||||
Parse command line line arguments.
|
||||
Parse command line arguments.
|
||||
|
||||
Returns parsed object from which the command line arguments can be accessed
|
||||
as properties. The name of the properties matches the command line argument,
|
||||
|
||||
@@ -209,14 +209,15 @@ def is_git_submodule_enabled(git_command: str, submodule_dir: Path) -> bool:
|
||||
if not path:
|
||||
return False
|
||||
|
||||
# When the "update" strategy is not provided explicitly in the the local configuration
|
||||
# When the "update" strategy is not provided explicitly in the local configuration
|
||||
# `git config` returns a non-zero exit code. For those assume the default "checkout"
|
||||
# strategy.
|
||||
update = check_output(
|
||||
(git_command, "config", "--local", _git_submodule_config_key(submodule_dir, "update")),
|
||||
exit_on_error=False)
|
||||
if update == "":
|
||||
# The repo is not in our local config. Check the default .gitmodules setting.
|
||||
# The repository is not in our local configuration.
|
||||
# Check the default `.gitmodules` setting.
|
||||
update = check_output(
|
||||
(git_command, "config", "--file", str(gitmodules), _git_submodule_config_key(submodule_dir, "update")),
|
||||
exit_on_error=False)
|
||||
|
||||
Reference in New Issue
Block a user