[libc-commits] [libc] [libc] Use `LIBC_COPT_PUBLIC_PACKAGING` for hermetic and integration tests. (PR #79319)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Fri Jan 26 00:56:01 PST 2024


================
@@ -18,6 +18,11 @@ function(add_unittest_framework_library name)
     set(library_type STATIC)
   endif()
 
+  set(clock_target "")
+  if(TARGET libc.src.time.clock)
+    set(clock_target libc.src.time.clock)
+  endif()
----------------
gchatelet wrote:

Can you document why this is needed?

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


More information about the libc-commits mailing list