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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Dec 20 07:48:39 PST 2024


================
@@ -69,6 +69,10 @@ function(get_arch_and_system_from_triple triple arch_var sys_var)
     set(target_sys "darwin")
   endif()
 
+  if(target_sys STREQUAL "unknown")
+    list(GET triple_comps -1 target_sys)
+  endif()
----------------
jhuber6 wrote:

`aarch64-unknown-linux-llvm` and `aarch64-unknown-uefi-llvm` should be able to use the exact same parsing.

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


More information about the libc-commits mailing list