[libc-commits] [libc] [libc] init uefi os target (PR #120687)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Mon Jan 20 17:46:30 PST 2025


================
@@ -771,7 +778,7 @@ function(add_libc_hermetic test_name)
                    ${fq_deps_list})
   # TODO: currently the dependency chain is broken such that getauxval cannot properly
   # propagate to hermetic tests. This is a temporary workaround.
-  if (LIBC_TARGET_ARCHITECTURE_IS_AARCH64)
+  if (LIBC_TARGET_ARCHITECTURE_IS_AARCH64 AND NOT LIBC_TARGET_OS_IS_UEFI)
----------------
petrhosek wrote:

There should be a `TODO` comment explaining why this is disabled for UEFI.

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


More information about the libc-commits mailing list