[libc-commits] [libc] [libc] Add osutils for Windows and make libc and its tests build on Windows target (PR #104676)

Sirui Mu via libc-commits libc-commits at lists.llvm.org
Thu Sep 5 07:23:24 PDT 2024


================
@@ -140,9 +140,10 @@ add_libc_test(
     arg_list_test.cpp
   DEPENDS
     libc.src.__support.arg_list
+    libc.src.__support.macros.properties.os
 )
 
-if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
+if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX AND NOT LIBC_TARGET_OS_IS_WINDOWS)
----------------
Lancern wrote:

Updated.

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


More information about the libc-commits mailing list