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

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Sep 3 16:43:27 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)
----------------
michaelrj-google wrote:

Please add a `TODO` with the error you're running into with `big_int` on windows. I'm okay with just skipping it for now, but I want to make sure we fix it in future.

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


More information about the libc-commits mailing list