[libc-commits] [libc] [libc] document supported os ranges (PR #118863)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Thu Dec 5 14:08:17 PST 2024


https://github.com/SchrodingerZhu updated https://github.com/llvm/llvm-project/pull/118863

>From 80b4ad6128628e8f8514bdbe716a84efc3da4f65 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <i at zhuyi.fan>
Date: Thu, 5 Dec 2024 11:44:33 -0800
Subject: [PATCH 1/5] [libc] document supported os ranges

---
 libc/docs/index.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index 6f759aa215b62c..c4cb12be1377e8 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -40,6 +40,16 @@ and MacOS have limited support (may be broken).  The Fuchsia platform is
 slowly replacing functions from its bundled libc with functions from this
 project.
 
+LLVM-libc does not guarantee backward compatibility with operating systems that reaches their EOL.
+Compatibility patch for obsolete operating systems will not be accepted.
+
+For Linux, we support kernel versions as listed on `kernel.org <https://kernel.org/>`_, including
+``longterm``, ``stable``, and ``mainline`` versions. We actively adapt new features
+from ``linux-next``.
+
+For Windows, we support products within their lifecycle. Please refer to 
+`Search Product and Services Lifecycle Information <https://learn.microsoft.com/en-us/lifecycle/products/?products=windows>`_ for more information.
+
 ABI Compatibility
 =================
 

>From 07ea70f89dc21333c1d5e03e052b85773de95ef9 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Thu, 5 Dec 2024 15:52:42 -0500
Subject: [PATCH 2/5] wording fixes (1)

Co-authored-by: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
---
 libc/docs/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index c4cb12be1377e8..7105253f932915 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -44,7 +44,7 @@ LLVM-libc does not guarantee backward compatibility with operating systems that
 Compatibility patch for obsolete operating systems will not be accepted.
 
 For Linux, we support kernel versions as listed on `kernel.org <https://kernel.org/>`_, including
-``longterm``, ``stable``, and ``mainline`` versions. We actively adapt new features
+``longterm`` (not past EOL date), ``stable``, and ``mainline`` versions. We actively adopt new features
 from ``linux-next``.
 
 For Windows, we support products within their lifecycle. Please refer to 

>From 645863604239921791020673f56236b7fcc05514 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Thu, 5 Dec 2024 15:53:00 -0500
Subject: [PATCH 3/5] wording fixes (2)

Co-authored-by: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
---
 libc/docs/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index 7105253f932915..b616ea606344a3 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -40,7 +40,7 @@ and MacOS have limited support (may be broken).  The Fuchsia platform is
 slowly replacing functions from its bundled libc with functions from this
 project.
 
-LLVM-libc does not guarantee backward compatibility with operating systems that reaches their EOL.
+LLVM-libc does not guarantee backward compatibility with operating systems that have reached their EOL.
 Compatibility patch for obsolete operating systems will not be accepted.
 
 For Linux, we support kernel versions as listed on `kernel.org <https://kernel.org/>`_, including

>From 3f5bb84afbc8c0cfb431ed47619dab781f7db2c4 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Thu, 5 Dec 2024 15:53:11 -0500
Subject: [PATCH 4/5] wording fixes (3)

Co-authored-by: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
---
 libc/docs/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index b616ea606344a3..702d35713157d0 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -41,7 +41,7 @@ slowly replacing functions from its bundled libc with functions from this
 project.
 
 LLVM-libc does not guarantee backward compatibility with operating systems that have reached their EOL.
-Compatibility patch for obsolete operating systems will not be accepted.
+Compatibility patches for obsolete operating systems will not be accepted.
 
 For Linux, we support kernel versions as listed on `kernel.org <https://kernel.org/>`_, including
 ``longterm`` (not past EOL date), ``stable``, and ``mainline`` versions. We actively adopt new features

>From 7e735f969f77f7aab3abf77460e7957c58ebd2cc Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <i at zhuyi.fan>
Date: Thu, 5 Dec 2024 14:08:05 -0800
Subject: [PATCH 5/5] address Michael's comment

---
 libc/docs/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index 702d35713157d0..6e9ce94639e26c 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -47,7 +47,7 @@ For Linux, we support kernel versions as listed on `kernel.org <https://kernel.o
 ``longterm`` (not past EOL date), ``stable``, and ``mainline`` versions. We actively adopt new features
 from ``linux-next``.
 
-For Windows, we support products within their lifecycle. Please refer to 
+For Windows, we plan to support products within their lifecycle. Please refer to 
 `Search Product and Services Lifecycle Information <https://learn.microsoft.com/en-us/lifecycle/products/?products=windows>`_ for more information.
 
 ABI Compatibility



More information about the libc-commits mailing list