[llvm] [libc] Updated GettingStarted.rst with PyYAML version (PR #100649)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 13:25:18 PDT 2024


https://github.com/RoseZhang03 created https://github.com/llvm/llvm-project/pull/100649

New Headergen requires PyYAML version 5.1 or newer in order to generate
header files .


>From d5284e39d68dfc22531ce29a7b0765c1f1878876 Mon Sep 17 00:00:00 2001
From: Rose Zhang <rosezhang at google.com>
Date: Thu, 25 Jul 2024 20:22:12 +0000
Subject: [PATCH] [libc] Updated GettingStarted.rst with PyYAML version

New Headergen requires PyYAML version 5.1 or newer in order to generate
header files .
---
 llvm/docs/GettingStarted.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index 0a1913dca8aac..2810ce3308373 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -295,6 +295,7 @@ Package                                                     Version      Notes
 `python <http://www.python.org/>`_                          >=3.8        Automated test suite\ :sup:`1`
 `zlib <http://zlib.net>`_                                   >=1.2.3.4    Compression library\ :sup:`2`
 `GNU Make <http://savannah.gnu.org/projects/make>`_         3.79, 3.79.1 Makefile/build processor\ :sup:`3`
+`PyYAML <https://pypi.org/project/PyYAML/>`                 >=5.1        Header generator\ :sup:`4`
 =========================================================== ============ ==========================================
 
 .. note::
@@ -305,6 +306,7 @@ Package                                                     Version      Notes
    #. Optional, adds compression / uncompression capabilities to selected LLVM
       tools.
    #. Optional, you can use any other build tool supported by CMake.
+   #. Only needed when building libc with New Headergen. Mainly used by libc.
 
 Additionally, your compilation host is expected to have the usual plethora of
 Unix utilities. Specifically:



More information about the llvm-commits mailing list