[libc-commits] [libc] [libc] init uefi os target (PR #120687)
Tristan Ross via libc-commits
libc-commits at lists.llvm.org
Fri Dec 20 08:00:26 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()
----------------
RossComputerGuy wrote:
Oh that's possible, though it probably is still good to have this change. Maybe we should rework that function at a later time to properly accept doubles (`$arch-$os`), triple (`$arch-$vendor-$os`), and the full tuple (`$arch-$vendor-$os-$abi`). The function feels a little over engineered.
https://github.com/llvm/llvm-project/pull/120687
More information about the libc-commits
mailing list