From 134b4484d8dda0ea75d9cf971ffc2f44e18fcead Mon Sep 17 00:00:00 2001 From: RoseZhang03 Date: Fri, 26 Jul 2024 18:31:00 +0000 Subject: [PATCH] [libc] Updated GettingStarted.rst with PyYAML version (#100649) New Headergen requires PyYAML version 5.1 or newer in order to generate header files . --- libc/docs/dev/header_generation.rst | 2 +- llvm/docs/GettingStarted.rst | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libc/docs/dev/header_generation.rst b/libc/docs/dev/header_generation.rst index 32ce91da83f3d0..598c8b8c8a6e8b 100644 --- a/libc/docs/dev/header_generation.rst +++ b/libc/docs/dev/header_generation.rst @@ -22,7 +22,7 @@ Instructions ------------ Required Versions: - - Python Version: 3.6 + - Python Version: 3.8 - PyYAML Version: 5.1 1. Keep full-build mode on when building, otherwise headers will not be diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst index 0a1913dca8aac1..e03ae5effcdc44 100644 --- a/llvm/docs/GettingStarted.rst +++ b/llvm/docs/GettingStarted.rst @@ -291,10 +291,11 @@ uses the package and provides other details. =========================================================== ============ ========================================== Package Version Notes =========================================================== ============ ========================================== -`CMake `__ >=3.20.0 Makefile/workspace generator +`CMake `_ >=3.20.0 Makefile/workspace generator `python `_ >=3.8 Automated test suite\ :sup:`1` `zlib `_ >=1.2.3.4 Compression library\ :sup:`2` `GNU Make `_ 3.79, 3.79.1 Makefile/build processor\ :sup:`3` +`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: