[llvm] 56e6d47 - [docs] Update CMake cross compiling guide link

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 06:22:28 PDT 2021


Author: oToToT
Date: 2021-07-14T21:19:42+08:00
New Revision: 56e6d4742e6909bd7d2db201cc5e0e3e77c6f282

URL: https://github.com/llvm/llvm-project/commit/56e6d4742e6909bd7d2db201cc5e0e3e77c6f282
DIFF: https://github.com/llvm/llvm-project/commit/56e6d4742e6909bd7d2db201cc5e0e3e77c6f282.diff

LOG: [docs] Update CMake cross compiling guide link

The CMake community Wiki has been moved to the [[ https://gitlab.kitware.com/cmake/community/wikis/home | Kitware GitLab Instance ]].
Also, the original anchor for `Information how to set up various cross compiling toolchains` section might not work as expected. The original content is now being collapsed, so browser won't navigate to the right section directly.

Hence, I think it might be better to provide the section name instead of `this section` with link to help readers find the right section by themselves.

Reviewed By: void

Differential Revision: https://reviews.llvm.org/D104996

Added: 
    

Modified: 
    llvm/docs/CMake.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index bab0508fdeb3..68aa1d619639 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -733,11 +733,11 @@ For more information about testing, see the :doc:`TestingGuide`.
 Cross compiling
 ===============
 
-See `this wiki page <http://www.vtk.org/Wiki/CMake_Cross_Compiling>`_ for
+See `this wiki page <https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling>`_ for
 generic instructions on how to cross-compile with CMake. It goes into detailed
 explanations and may seem daunting, but it is not. On the wiki page there are
-several examples including toolchain files. Go directly to `this section
-<http://www.vtk.org/Wiki/CMake_Cross_Compiling#Information_how_to_set_up_various_cross_compiling_toolchains>`_
+several examples including toolchain files. Go directly to the
+``Information how to set up various cross compiling toolchains`` section
 for a quick solution.
 
 Also see the `LLVM-specific variables`_ section for variables used when


        


More information about the llvm-commits mailing list