[libc-commits] [libc] [libc] skip sysconf test for rv32 (PR #162669)

via libc-commits libc-commits at lists.llvm.org
Thu Oct 9 08:28:50 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

<details>
<summary>Changes</summary>

The issue is being investigated. For now, let's skip the test to keep the bot running

see https://github.com/llvm/llvm-project/issues/162671

---
Full diff: https://github.com/llvm/llvm-project/pull/162669.diff


1 Files Affected:

- (modified) libc/test/src/unistd/sysconf_test.cpp (+4) 


``````````diff
diff --git a/libc/test/src/unistd/sysconf_test.cpp b/libc/test/src/unistd/sysconf_test.cpp
index 85bc1258a4863..e6a35c70f29e8 100644
--- a/libc/test/src/unistd/sysconf_test.cpp
+++ b/libc/test/src/unistd/sysconf_test.cpp
@@ -13,5 +13,9 @@
 
 TEST(LlvmLibcSysconfTest, PagesizeTest) {
   long pagesize = LIBC_NAMESPACE::sysconf(_SC_PAGESIZE);
+  // TODO: fix page size support on RV32
+  // (https://github.com/llvm/llvm-project/issues/162671)
+#ifndef LIBC_TARGET_ARCH_IS_RISCV32
   ASSERT_GT(pagesize, 0l);
+#endif
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/162669


More information about the libc-commits mailing list