[llvm] Added YouTube resource link on LLVM build to CMAKE.rst (PR #108935)
Mainak Sil via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 20:55:12 PDT 2024
https://github.com/MainakSil updated https://github.com/llvm/llvm-project/pull/108935
>From cbb39686bc89b16254fdf5831dbfa212f3aa3010 Mon Sep 17 00:00:00 2001
From: Mainak Sil <mainaksil0 at gmail.com>
Date: Tue, 17 Sep 2024 12:27:37 +0530
Subject: [PATCH 1/3] Added YouTube resource link on LLVM build to CMAKE.rst
---
llvm/docs/CMake.rst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 838447f483e510..9aab4445f20fc5 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -100,6 +100,11 @@ We use here the command-line, non-interactive CMake interface.
$ cmake -DCMAKE_INSTALL_PREFIX=/tmp/llvm -P cmake_install.cmake
+Additional Resources
+====================
+
+- [YouTube: Building LLVM - Best Practices](https://www.youtube.com/watch?v=Dnubzx8-E1M)
+
.. _Basic CMake usage:
.. _Usage:
>From 9ce11b4c2fa9004c115ec4240bf7c474aa2015aa Mon Sep 17 00:00:00 2001
From: Mainak Sil <mainaksil0 at gmail.com>
Date: Thu, 19 Sep 2024 09:23:58 +0530
Subject: [PATCH 2/3] Update CMake.rst
---
llvm/docs/CMake.rst | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 9aab4445f20fc5..3bf1638aaceadb 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -105,6 +105,36 @@ Additional Resources
- [YouTube: Building LLVM - Best Practices](https://www.youtube.com/watch?v=Dnubzx8-E1M)
+.. _llvm_cmake_build_insights:
+
+===============================
+CMake and LLVM Build Insights
+===============================
+
+Overview
+--------
+
+Peter from Google, a long-time contributor to LLVM since 2015, shares key insights into the LLVM build processes, emphasizing the importance of CMake, performance optimizations, and community contributions.
+
+Key Insights
+------------
+
+1. **CMake’s Role in LLVM**:
+ CMake serves as a critical cross-platform build tool for LLVM, allowing diverse projects to compile efficiently. Its use is crucial for ensuring LLVM’s wide-ranging applicability.
+
+2. **Improving Build Documentation**:
+ There is a significant need to enhance the documentation related to LLVM builds. Comprehensive resources are essential for helping newcomers understand the complexities of the build process, lowering the barrier to entry for new contributors.
+
+3. **Performance Optimizations**:
+ Peter highlights the potential for improving build performance through multi-generator features in CMake, enabling parallel builds that reduce compilation time for runtimes and toolchains.
+
+4. **Top-Level CMake File**:
+ Introducing a top-level CMake file could simplify project management, making it easier for developers to work across LLVM’s build system and reducing overall complexity.
+
+5. **Community Contributions**:
+ Encouraging community involvement, especially from newcomers, is vital for sustaining LLVM’s growth. Contributions to the build process are welcomed to make the system more efficient and adaptable to evolving needs.
+
+
.. _Basic CMake usage:
.. _Usage:
>From adda0cfdf8fc161db680fef4d0422201748fb7c7 Mon Sep 17 00:00:00 2001
From: Mainak Sil <mainaksil0 at gmail.com>
Date: Thu, 19 Sep 2024 09:25:03 +0530
Subject: [PATCH 3/3] Update CMake.rst
---
llvm/docs/CMake.rst | 1 -
1 file changed, 1 deletion(-)
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 3bf1638aaceadb..d10d503fe42dae 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -107,7 +107,6 @@ Additional Resources
.. _llvm_cmake_build_insights:
-===============================
CMake and LLVM Build Insights
===============================
More information about the llvm-commits
mailing list